azsystemevents

package module
v0.3.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 3, 2024 License: MIT Imports: 7 Imported by: 0

README

Azure Event Grid System Events Module for Go

Azure Event Grid system events are published by Azure services to system topics. The models in this package map to events sent by various Azure services.

Key links:

Getting started

Install the package

Install the Azure Event Grid system events module for Go with go get:

go get github.com/Azure/azure-sdk-for-go/sdk/messaging/eventgrid/azsystemevents
Prerequisites
  • Go, version 1.18 or higher

Key concepts

Event subscriptions can be used to forward events from an Event Grid system topic to a data source, like Azure Storage Queues. The payload will be formatted as an array of events, using the event envelope (Cloud Event Schema or Event Grid Schema) configured within the subscription.

To consume events, use the client package for that service. For example, if the Event Grid subscription uses an an Azure Storage Queue, we would use the azqeueue package to consume it.

Examples

Examples for deserializing system events can be found on pkg.go.dev or in the example*_test.go files in our GitHub repo for azsystemevents.

Troubleshooting

Logging

This module uses the classification-based logging implementation in azcore. To enable console logging for all SDK modules, set the environment variable AZURE_SDK_GO_LOGGING to all.

Use the azcore/log package to control log event output.

import (
  "fmt"
  azlog "github.com/Azure/azure-sdk-for-go/sdk/azcore/log"
)

// print log output to stdout
azlog.SetListener(func(event azlog.Event, s string) {
    fmt.Printf("[%s] %s\n", event, s)
})

Next steps

More sample code should go here, along with links out to the appropriate example tests.

Contributing

For details on contributing to this repository, see the contributing guide.

This project welcomes contributions and suggestions. Most contributions require you to agree to a Contributor License Agreement (CLA) declaring that you have the right to, and actually do, grant us the rights to use your contribution. For details, visit https://cla.microsoft.com.

When you submit a pull request, a CLA-bot will automatically determine whether you need to provide a CLA and decorate the PR appropriately (e.g., label, comment). Simply follow the instructions provided by the bot. You will only need to do this once across all repos using our CLA.

This project has adopted the Microsoft Open Source Code of Conduct. For more information see the Code of Conduct FAQ or contact opencode@microsoft.com with any additional questions or comments.

Many people all over the world have helped make this project better. You'll want to check out:

Reporting security issues and security bugs

Security issues and bugs should be reported privately, via email, to the Microsoft Security Response Center (MSRC) secure@microsoft.com. You should receive a response within 24 hours. If for some reason you do not, please follow up via email to ensure we received your original message. Further information, including the MSRC PGP key, can be found in the Security TechCenter.

License

Azure SDK for Go is licensed under the MIT license.

Documentation

Overview

Example (DeserializingCloudEventSchema)
package main

import (
	"encoding/json"
	"fmt"
	"log"

	"github.com/Azure/azure-sdk-for-go/sdk/azcore/messaging"
	"github.com/Azure/azure-sdk-for-go/sdk/messaging/eventgrid/azsystemevents"
)

func main() {
	// The method for extracting the payload will be different, depending on which data store you configured
	// as a data handler. For instance, if you used Service Bus, the payload would be in the azservicebus.Message.Body
	// field, as a []byte.

	// This particular payload is in the Cloud Event Schema format, so we'll use the messaging.CloudEvent, which comes from the `azcore` package,  to deserialize it.
	payload := []byte(`[
		{
			"specversion": "1.0",
			"id": "2d1781af-3a4c-4d7c-bd0c-e34b19da4e66",
			"source": "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
			"subject": "",
			"data": {
				"validationCode": "512d38b6-c7b8-40c8-89fe-f46f9e9622b6",
				"validationUrl": "https://rp-eastus2.eventgrid.azure.net:553/eventsubscriptions/estest/validate?id=B2E34264-7D71-453A-B5FB-B62D0FDC85EE&t=2018-04-26T20:30:54.4538837Z&apiVersion=2018-05-01-preview&token=1BNqCxBBSSE9OnNSfZM4%2b5H9zDegKMY6uJ%2fO2DFRkwQ%3d"
			},
			"type": "Microsoft.EventGrid.SubscriptionValidationEvent",
			"time": "2018-01-25T22:12:19.4556811Z",
			"specversion": "1.0"
		}
	]`)

	var cloudEvents []messaging.CloudEvent

	err := json.Unmarshal(payload, &cloudEvents)

	if err != nil {
		//  TODO: Update the following line with your application specific error handling logic
		log.Fatalf("ERROR: %s", err)
	}

	for _, envelope := range cloudEvents {
		switch envelope.Type {
		case string(azsystemevents.TypeSubscriptionValidation):
			var eventData *azsystemevents.SubscriptionValidationEventData

			if err := json.Unmarshal(envelope.Data.([]byte), &eventData); err != nil {
				//  TODO: Update the following line with your application specific error handling logic
				log.Fatalf("ERROR: %s", err)
			}

			// print a field out from the event, showing what data is there.
			fmt.Printf("Validation code: %s\n", *eventData.ValidationCode)
			fmt.Printf("Validation URL: %s\n", *eventData.ValidationURL)
		default:
			//  TODO: Update the following line with your application specific error handling logic
			log.Fatalf("ERROR: event type %s isn't handled", envelope.Type)
		}
	}

}
Output:

Validation code: 512d38b6-c7b8-40c8-89fe-f46f9e9622b6
Validation URL: https://rp-eastus2.eventgrid.azure.net:553/eventsubscriptions/estest/validate?id=B2E34264-7D71-453A-B5FB-B62D0FDC85EE&t=2018-04-26T20:30:54.4538837Z&apiVersion=2018-05-01-preview&token=1BNqCxBBSSE9OnNSfZM4%2b5H9zDegKMY6uJ%2fO2DFRkwQ%3d
Example (DeserializingEventGridSchema)
package main

import (
	"encoding/json"
	"fmt"
	"log"

	"github.com/Azure/azure-sdk-for-go/sdk/messaging/eventgrid/azsystemevents"
)

func main() {
	// The method for extracting the payload will be different, depending on which data store you configured
	// as a data handler. For instance, if you used Service Bus, the payload would be in the azservicebus.Message.Body
	// field, as a []byte.

	// This particular payload is in the Event Grid Schema format, so we'll use the EventGridEvent to deserialize it.
	payload := []byte(`[
		{
			"id": "2d1781af-3a4c-4d7c-bd0c-e34b19da4e66",
			"topic": "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
			"subject": "mySubject",
			"data": {
				"validationCode": "512d38b6-c7b8-40c8-89fe-f46f9e9622b6",
				"validationUrl": "https://rp-eastus2.eventgrid.azure.net:553/eventsubscriptions/estest/validate?id=B2E34264-7D71-453A-B5FB-B62D0FDC85EE&t=2018-04-26T20:30:54.4538837Z&apiVersion=2018-05-01-preview&token=1BNqCxBBSSE9OnNSfZM4%2b5H9zDegKMY6uJ%2fO2DFRkwQ%3d"
			},
			"eventType": "Microsoft.EventGrid.SubscriptionValidationEvent",
			"eventTime": "2018-01-25T22:12:19.4556811Z",
			"metadataVersion": "1",
			"dataVersion": "1"
		}
	]`)

	var eventGridEvents []azsystemevents.EventGridEvent

	err := json.Unmarshal(payload, &eventGridEvents)

	if err != nil {
		//  TODO: Update the following line with your application specific error handling logic
		log.Fatalf("ERROR: %s", err)
	}

	for _, envelope := range eventGridEvents {
		switch *envelope.EventType {
		case string(azsystemevents.TypeSubscriptionValidation):
			var eventData *azsystemevents.SubscriptionValidationEventData

			if err := json.Unmarshal(envelope.Data.([]byte), &eventData); err != nil {
				//  TODO: Update the following line with your application specific error handling logic
				log.Fatalf("ERROR: %s", err)
			}

			// print a field out from the event, showing what data is there.
			fmt.Printf("Validation code: %s\n", *eventData.ValidationCode)
			fmt.Printf("Validation URL: %s\n", *eventData.ValidationURL)
		default:
			//  TODO: Update the following line with your application specific error handling logic
			log.Fatalf("ERROR: event type %s isn't handled", *envelope.EventType)
		}
	}

}
Output:

Validation code: 512d38b6-c7b8-40c8-89fe-f46f9e9622b6
Validation URL: https://rp-eastus2.eventgrid.azure.net:553/eventsubscriptions/estest/validate?id=B2E34264-7D71-453A-B5FB-B62D0FDC85EE&t=2018-04-26T20:30:54.4538837Z&apiVersion=2018-05-01-preview&token=1BNqCxBBSSE9OnNSfZM4%2b5H9zDegKMY6uJ%2fO2DFRkwQ%3d

Index

Examples

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ACSAdvanceMessageDeliveryStatus added in v0.3.0

type ACSAdvanceMessageDeliveryStatus string

ACSAdvanceMessageDeliveryStatus - The updated message status

const (
	ACSAdvanceMessageDeliveryStatusDelivered ACSAdvanceMessageDeliveryStatus = "delivered"
	ACSAdvanceMessageDeliveryStatusFailed    ACSAdvanceMessageDeliveryStatus = "failed"
	ACSAdvanceMessageDeliveryStatusRead      ACSAdvanceMessageDeliveryStatus = "read"
	ACSAdvanceMessageDeliveryStatusSent      ACSAdvanceMessageDeliveryStatus = "sent"
	ACSAdvanceMessageDeliveryStatusUnknown   ACSAdvanceMessageDeliveryStatus = "unknown"
	ACSAdvanceMessageDeliveryStatusWarning   ACSAdvanceMessageDeliveryStatus = "warning"
)

func PossibleACSAdvanceMessageDeliveryStatusValues added in v0.3.0

func PossibleACSAdvanceMessageDeliveryStatusValues() []ACSAdvanceMessageDeliveryStatus

PossibleACSAdvanceMessageDeliveryStatusValues returns the possible values for the AcsAdvanceMessageDeliveryStatus const type.

type ACSAdvancedMessageButtonContent added in v0.3.0

type ACSAdvancedMessageButtonContent struct {
	// The Payload of the button which was clicked by the user, setup by the business
	Payload *string

	// The Text of the button
	Text *string
}

ACSAdvancedMessageButtonContent - Advanced Message Button Content

func (ACSAdvancedMessageButtonContent) MarshalJSON added in v0.3.0

func (a ACSAdvancedMessageButtonContent) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type ACSAdvancedMessageButtonContent.

func (*ACSAdvancedMessageButtonContent) UnmarshalJSON added in v0.3.0

func (a *ACSAdvancedMessageButtonContent) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type ACSAdvancedMessageButtonContent.

type ACSAdvancedMessageContext added in v0.3.0

type ACSAdvancedMessageContext struct {
	// The WhatsApp ID for the customer who replied to an inbound message.
	From *string

	// The message ID for the sent message for an inbound reply
	MessageID *string
}

ACSAdvancedMessageContext - Advanced Message Context

func (ACSAdvancedMessageContext) MarshalJSON added in v0.3.0

func (a ACSAdvancedMessageContext) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type ACSAdvancedMessageContext.

func (*ACSAdvancedMessageContext) UnmarshalJSON added in v0.3.0

func (a *ACSAdvancedMessageContext) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type ACSAdvancedMessageContext.

type ACSAdvancedMessageDeliveryStatusUpdatedEventData added in v0.3.0

type ACSAdvancedMessageDeliveryStatusUpdatedEventData struct {
	// The updated message channel type
	ChannelKind *ACSMessageChannelKind

	// The channel event error
	Error *internalACSAdvancedMessageChannelEventError

	// The message sender
	From *string

	// The message id
	MessageID *string

	// The time message was received
	ReceivedTimestamp *time.Time

	// The updated message status
	Status *ACSAdvanceMessageDeliveryStatus

	// The message recipient
	To *string
}

ACSAdvancedMessageDeliveryStatusUpdatedEventData - Schema of the Data property of an CloudEvent/EventGridEvent for a Microsoft.Communication.AdvancedMessageDeliveryStatusUpdated event.

func (ACSAdvancedMessageDeliveryStatusUpdatedEventData) MarshalJSON added in v0.3.0

MarshalJSON implements the json.Marshaller interface for type ACSAdvancedMessageDeliveryStatusUpdatedEventData.

func (*ACSAdvancedMessageDeliveryStatusUpdatedEventData) UnmarshalJSON added in v0.3.0

UnmarshalJSON implements the json.Unmarshaller interface for type ACSAdvancedMessageDeliveryStatusUpdatedEventData.

type ACSAdvancedMessageEventData added in v0.3.0

type ACSAdvancedMessageEventData struct {
	// The channel event error
	Error *internalACSAdvancedMessageChannelEventError

	// The message sender
	From *string

	// The time message was received
	ReceivedTimestamp *time.Time

	// The message recipient
	To *string
}

ACSAdvancedMessageEventData - Schema of common properties of all chat thread events

func (ACSAdvancedMessageEventData) MarshalJSON added in v0.3.0

func (a ACSAdvancedMessageEventData) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type ACSAdvancedMessageEventData.

func (*ACSAdvancedMessageEventData) UnmarshalJSON added in v0.3.0

func (a *ACSAdvancedMessageEventData) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type ACSAdvancedMessageEventData.

type ACSAdvancedMessageInteractiveButtonReplyContent added in v0.3.0

type ACSAdvancedMessageInteractiveButtonReplyContent struct {
	// The ID of the button
	ButtonID *string

	// The title of the button
	Title *string
}

ACSAdvancedMessageInteractiveButtonReplyContent - Advanced Message Interactive button reply content for a user to business message

func (ACSAdvancedMessageInteractiveButtonReplyContent) MarshalJSON added in v0.3.0

MarshalJSON implements the json.Marshaller interface for type ACSAdvancedMessageInteractiveButtonReplyContent.

func (*ACSAdvancedMessageInteractiveButtonReplyContent) UnmarshalJSON added in v0.3.0

UnmarshalJSON implements the json.Unmarshaller interface for type ACSAdvancedMessageInteractiveButtonReplyContent.

type ACSAdvancedMessageInteractiveContent added in v0.3.0

type ACSAdvancedMessageInteractiveContent struct {
	// The Message Sent when a customer clicks a button
	ButtonReply *ACSAdvancedMessageInteractiveButtonReplyContent

	// The Message Sent when a customer selects an item from a list
	ListReply *ACSAdvancedMessageInteractiveListReplyContent

	// The Message interactive reply type
	ReplyKind *ACSInteractiveReplyKind
}

ACSAdvancedMessageInteractiveContent - Advanced Message Interactive Content

func (ACSAdvancedMessageInteractiveContent) MarshalJSON added in v0.3.0

func (a ACSAdvancedMessageInteractiveContent) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type ACSAdvancedMessageInteractiveContent.

func (*ACSAdvancedMessageInteractiveContent) UnmarshalJSON added in v0.3.0

func (a *ACSAdvancedMessageInteractiveContent) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type ACSAdvancedMessageInteractiveContent.

type ACSAdvancedMessageInteractiveListReplyContent added in v0.3.0

type ACSAdvancedMessageInteractiveListReplyContent struct {
	// The sescription of the selected row
	Description *string

	// The ID of the selected list item
	ListItemID *string

	// The title of the selected list item
	Title *string
}

ACSAdvancedMessageInteractiveListReplyContent - Advanced Message Interactive list reply content for a user to business message

func (ACSAdvancedMessageInteractiveListReplyContent) MarshalJSON added in v0.3.0

MarshalJSON implements the json.Marshaller interface for type ACSAdvancedMessageInteractiveListReplyContent.

func (*ACSAdvancedMessageInteractiveListReplyContent) UnmarshalJSON added in v0.3.0

func (a *ACSAdvancedMessageInteractiveListReplyContent) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type ACSAdvancedMessageInteractiveListReplyContent.

type ACSAdvancedMessageMediaContent added in v0.3.0

type ACSAdvancedMessageMediaContent struct {
	// The caption for the media object, if supported and provided
	Caption *string

	// The filename of the underlying media file as specified when uploaded
	FileName *string

	// The media identifier
	MediaID *string

	// The MIME type of the file this media represents
	MimeType *string
}

ACSAdvancedMessageMediaContent - Advanced Message Media Content

func (ACSAdvancedMessageMediaContent) MarshalJSON added in v0.3.0

func (a ACSAdvancedMessageMediaContent) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type ACSAdvancedMessageMediaContent.

func (*ACSAdvancedMessageMediaContent) UnmarshalJSON added in v0.3.0

func (a *ACSAdvancedMessageMediaContent) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type ACSAdvancedMessageMediaContent.

type ACSAdvancedMessageReceivedEventData added in v0.3.0

type ACSAdvancedMessageReceivedEventData struct {
	// The The messaged received button content
	Button *ACSAdvancedMessageButtonContent

	// The The messaged received channel Kind
	ChannelKind *ACSMessageChannelKind

	// The The messaged received content
	Content *string

	// The The messaged received context
	Context *ACSAdvancedMessageContext

	// The channel event error
	Error *Error

	// The message sender
	From *string

	// The The messaged received interactive content
	InteractiveContent *ACSAdvancedMessageInteractiveContent

	// The messaged received media content
	MediaContent *ACSAdvancedMessageMediaContent

	// The time message was received
	ReceivedTimestamp *time.Time

	// The message recipient
	To *string
}

ACSAdvancedMessageReceivedEventData - Schema of the Data property of an CloudEvent/EventGridEvent for a Microsoft.Communication.AdvancedMessageReceived event.

func (ACSAdvancedMessageReceivedEventData) MarshalJSON added in v0.3.0

func (a ACSAdvancedMessageReceivedEventData) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type ACSAdvancedMessageReceivedEventData.

func (*ACSAdvancedMessageReceivedEventData) UnmarshalJSON added in v0.3.0

func (a *ACSAdvancedMessageReceivedEventData) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type ACSAdvancedMessageReceivedEventData.

type ACSChatEventBaseProperties

type ACSChatEventBaseProperties struct {
	// The communication identifier of the target user
	RecipientCommunicationIdentifier *CommunicationIdentifierModel

	// The chat thread id
	ThreadID *string

	// The transaction id will be used as co-relation vector
	TransactionID *string
}

ACSChatEventBaseProperties - Schema of common properties of all chat events

func (ACSChatEventBaseProperties) MarshalJSON

func (a ACSChatEventBaseProperties) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type ACSChatEventBaseProperties.

func (*ACSChatEventBaseProperties) UnmarshalJSON

func (a *ACSChatEventBaseProperties) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type ACSChatEventBaseProperties.

type ACSChatEventInThreadBaseProperties

type ACSChatEventInThreadBaseProperties struct {
	// The chat thread id
	ThreadID *string

	// The transaction id will be used as co-relation vector
	TransactionID *string
}

ACSChatEventInThreadBaseProperties - Schema of common properties of all thread-level chat events

func (ACSChatEventInThreadBaseProperties) MarshalJSON

func (a ACSChatEventInThreadBaseProperties) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type ACSChatEventInThreadBaseProperties.

func (*ACSChatEventInThreadBaseProperties) UnmarshalJSON

func (a *ACSChatEventInThreadBaseProperties) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type ACSChatEventInThreadBaseProperties.

type ACSChatMessageDeletedEventData

type ACSChatMessageDeletedEventData struct {
	// The original compose time of the message
	ComposeTime *time.Time

	// The time at which the message was deleted
	DeleteTime *time.Time

	// The chat message id
	MessageID *string

	// The communication identifier of the target user
	RecipientCommunicationIdentifier *CommunicationIdentifierModel

	// The communication identifier of the sender
	SenderCommunicationIdentifier *CommunicationIdentifierModel

	// The display name of the sender
	SenderDisplayName *string

	// The chat thread id
	ThreadID *string

	// The transaction id will be used as co-relation vector
	TransactionID *string

	// The type of the message
	Type *string

	// The version of the message
	Version *int64
}

ACSChatMessageDeletedEventData - Schema of the Data property of an CloudEvent/EventGridEvent for a Microsoft.Communication.ChatMessageDeleted event.

func (ACSChatMessageDeletedEventData) MarshalJSON

func (a ACSChatMessageDeletedEventData) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type ACSChatMessageDeletedEventData.

func (*ACSChatMessageDeletedEventData) UnmarshalJSON

func (a *ACSChatMessageDeletedEventData) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type ACSChatMessageDeletedEventData.

type ACSChatMessageDeletedInThreadEventData

type ACSChatMessageDeletedInThreadEventData struct {
	// The original compose time of the message
	ComposeTime *time.Time

	// The time at which the message was deleted
	DeleteTime *time.Time

	// The chat message id
	MessageID *string

	// The communication identifier of the sender
	SenderCommunicationIdentifier *CommunicationIdentifierModel

	// The display name of the sender
	SenderDisplayName *string

	// The chat thread id
	ThreadID *string

	// The transaction id will be used as co-relation vector
	TransactionID *string

	// The type of the message
	Type *string

	// The version of the message
	Version *int64
}

ACSChatMessageDeletedInThreadEventData - Schema of the Data property of an CloudEvent/EventGridEvent for a Microsoft.Communication.ChatMessageDeletedInThread event.

func (ACSChatMessageDeletedInThreadEventData) MarshalJSON

func (a ACSChatMessageDeletedInThreadEventData) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type ACSChatMessageDeletedInThreadEventData.

func (*ACSChatMessageDeletedInThreadEventData) UnmarshalJSON

func (a *ACSChatMessageDeletedInThreadEventData) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type ACSChatMessageDeletedInThreadEventData.

type ACSChatMessageEditedEventData

type ACSChatMessageEditedEventData struct {
	// The original compose time of the message
	ComposeTime *time.Time

	// The time at which the message was edited
	EditTime *time.Time

	// The body of the chat message
	MessageBody *string

	// The chat message id
	MessageID *string

	// The chat message metadata
	Metadata map[string]*string

	// The communication identifier of the target user
	RecipientCommunicationIdentifier *CommunicationIdentifierModel

	// The communication identifier of the sender
	SenderCommunicationIdentifier *CommunicationIdentifierModel

	// The display name of the sender
	SenderDisplayName *string

	// The chat thread id
	ThreadID *string

	// The transaction id will be used as co-relation vector
	TransactionID *string

	// The type of the message
	Type *string

	// The version of the message
	Version *int64
}

ACSChatMessageEditedEventData - Schema of the Data property of an CloudEvent/EventGridEvent for a Microsoft.Communication.ChatMessageEdited event.

func (ACSChatMessageEditedEventData) MarshalJSON

func (a ACSChatMessageEditedEventData) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type ACSChatMessageEditedEventData.

func (*ACSChatMessageEditedEventData) UnmarshalJSON

func (a *ACSChatMessageEditedEventData) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type ACSChatMessageEditedEventData.

type ACSChatMessageEditedInThreadEventData

type ACSChatMessageEditedInThreadEventData struct {
	// The original compose time of the message
	ComposeTime *time.Time

	// The time at which the message was edited
	EditTime *time.Time

	// The body of the chat message
	MessageBody *string

	// The chat message id
	MessageID *string

	// The chat message metadata
	Metadata map[string]*string

	// The communication identifier of the sender
	SenderCommunicationIdentifier *CommunicationIdentifierModel

	// The display name of the sender
	SenderDisplayName *string

	// The chat thread id
	ThreadID *string

	// The transaction id will be used as co-relation vector
	TransactionID *string

	// The type of the message
	Type *string

	// The version of the message
	Version *int64
}

ACSChatMessageEditedInThreadEventData - Schema of the Data property of an CloudEvent/EventGridEvent for a Microsoft.Communication.ChatMessageEditedInThread event.

func (ACSChatMessageEditedInThreadEventData) MarshalJSON

func (a ACSChatMessageEditedInThreadEventData) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type ACSChatMessageEditedInThreadEventData.

func (*ACSChatMessageEditedInThreadEventData) UnmarshalJSON

func (a *ACSChatMessageEditedInThreadEventData) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type ACSChatMessageEditedInThreadEventData.

type ACSChatMessageEventBaseProperties

type ACSChatMessageEventBaseProperties struct {
	// The original compose time of the message
	ComposeTime *time.Time

	// The chat message id
	MessageID *string

	// The communication identifier of the target user
	RecipientCommunicationIdentifier *CommunicationIdentifierModel

	// The communication identifier of the sender
	SenderCommunicationIdentifier *CommunicationIdentifierModel

	// The display name of the sender
	SenderDisplayName *string

	// The chat thread id
	ThreadID *string

	// The transaction id will be used as co-relation vector
	TransactionID *string

	// The type of the message
	Type *string

	// The version of the message
	Version *int64
}

ACSChatMessageEventBaseProperties - Schema of common properties of all chat message events

func (ACSChatMessageEventBaseProperties) MarshalJSON

func (a ACSChatMessageEventBaseProperties) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type ACSChatMessageEventBaseProperties.

func (*ACSChatMessageEventBaseProperties) UnmarshalJSON

func (a *ACSChatMessageEventBaseProperties) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type ACSChatMessageEventBaseProperties.

type ACSChatMessageEventInThreadBaseProperties

type ACSChatMessageEventInThreadBaseProperties struct {
	// The original compose time of the message
	ComposeTime *time.Time

	// The chat message id
	MessageID *string

	// The communication identifier of the sender
	SenderCommunicationIdentifier *CommunicationIdentifierModel

	// The display name of the sender
	SenderDisplayName *string

	// The chat thread id
	ThreadID *string

	// The transaction id will be used as co-relation vector
	TransactionID *string

	// The type of the message
	Type *string

	// The version of the message
	Version *int64
}

ACSChatMessageEventInThreadBaseProperties - Schema of common properties of all thread-level chat message events

func (ACSChatMessageEventInThreadBaseProperties) MarshalJSON

MarshalJSON implements the json.Marshaller interface for type ACSChatMessageEventInThreadBaseProperties.

func (*ACSChatMessageEventInThreadBaseProperties) UnmarshalJSON

func (a *ACSChatMessageEventInThreadBaseProperties) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type ACSChatMessageEventInThreadBaseProperties.

type ACSChatMessageReceivedEventData

type ACSChatMessageReceivedEventData struct {
	// The original compose time of the message
	ComposeTime *time.Time

	// The body of the chat message
	MessageBody *string

	// The chat message id
	MessageID *string

	// The chat message metadata
	Metadata map[string]*string

	// The communication identifier of the target user
	RecipientCommunicationIdentifier *CommunicationIdentifierModel

	// The communication identifier of the sender
	SenderCommunicationIdentifier *CommunicationIdentifierModel

	// The display name of the sender
	SenderDisplayName *string

	// The chat thread id
	ThreadID *string

	// The transaction id will be used as co-relation vector
	TransactionID *string

	// The type of the message
	Type *string

	// The version of the message
	Version *int64
}

ACSChatMessageReceivedEventData - Schema of the Data property of an CloudEvent/EventGridEvent for a Microsoft.Communication.ChatMessageReceived event.

func (ACSChatMessageReceivedEventData) MarshalJSON

func (a ACSChatMessageReceivedEventData) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type ACSChatMessageReceivedEventData.

func (*ACSChatMessageReceivedEventData) UnmarshalJSON

func (a *ACSChatMessageReceivedEventData) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type ACSChatMessageReceivedEventData.

type ACSChatMessageReceivedInThreadEventData

type ACSChatMessageReceivedInThreadEventData struct {
	// The original compose time of the message
	ComposeTime *time.Time

	// The body of the chat message
	MessageBody *string

	// The chat message id
	MessageID *string

	// The chat message metadata
	Metadata map[string]*string

	// The communication identifier of the sender
	SenderCommunicationIdentifier *CommunicationIdentifierModel

	// The display name of the sender
	SenderDisplayName *string

	// The chat thread id
	ThreadID *string

	// The transaction id will be used as co-relation vector
	TransactionID *string

	// The type of the message
	Type *string

	// The version of the message
	Version *int64
}

ACSChatMessageReceivedInThreadEventData - Schema of the Data property of an CloudEvent/EventGridEvent for a Microsoft.Communication.ChatMessageReceivedInThread event.

func (ACSChatMessageReceivedInThreadEventData) MarshalJSON

func (a ACSChatMessageReceivedInThreadEventData) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type ACSChatMessageReceivedInThreadEventData.

func (*ACSChatMessageReceivedInThreadEventData) UnmarshalJSON

func (a *ACSChatMessageReceivedInThreadEventData) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type ACSChatMessageReceivedInThreadEventData.

type ACSChatParticipantAddedToThreadEventData

type ACSChatParticipantAddedToThreadEventData struct {
	// The communication identifier of the user who added the user
	AddedByCommunicationIdentifier *CommunicationIdentifierModel

	// The details of the user who was added
	ParticipantAdded *ACSChatThreadParticipantProperties

	// The chat thread id
	ThreadID *string

	// The time at which the user was added to the thread
	Time *time.Time

	// The transaction id will be used as co-relation vector
	TransactionID *string

	// The version of the thread
	Version *int64
}

ACSChatParticipantAddedToThreadEventData - Schema of the Data property of an CloudEvent/EventGridEvent for a Microsoft.Communication.ChatThreadParticipantAdded event.

func (ACSChatParticipantAddedToThreadEventData) MarshalJSON

MarshalJSON implements the json.Marshaller interface for type ACSChatParticipantAddedToThreadEventData.

func (*ACSChatParticipantAddedToThreadEventData) UnmarshalJSON

func (a *ACSChatParticipantAddedToThreadEventData) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type ACSChatParticipantAddedToThreadEventData.

type ACSChatParticipantAddedToThreadWithUserEventData

type ACSChatParticipantAddedToThreadWithUserEventData struct {
	// The communication identifier of the user who added the user
	AddedByCommunicationIdentifier *CommunicationIdentifierModel

	// The original creation time of the thread
	CreateTime *time.Time

	// The details of the user who was added
	ParticipantAdded *ACSChatThreadParticipantProperties

	// The communication identifier of the target user
	RecipientCommunicationIdentifier *CommunicationIdentifierModel

	// The chat thread id
	ThreadID *string

	// The time at which the user was added to the thread
	Time *time.Time

	// The transaction id will be used as co-relation vector
	TransactionID *string

	// The version of the thread
	Version *int64
}

ACSChatParticipantAddedToThreadWithUserEventData - Schema of the Data property of an CloudEvent/EventGridEvent for a Microsoft.Communication.ChatParticipantAddedToThreadWithUser event.

func (ACSChatParticipantAddedToThreadWithUserEventData) MarshalJSON

MarshalJSON implements the json.Marshaller interface for type ACSChatParticipantAddedToThreadWithUserEventData.

func (*ACSChatParticipantAddedToThreadWithUserEventData) UnmarshalJSON

UnmarshalJSON implements the json.Unmarshaller interface for type ACSChatParticipantAddedToThreadWithUserEventData.

type ACSChatParticipantRemovedFromThreadEventData

type ACSChatParticipantRemovedFromThreadEventData struct {
	// The details of the user who was removed
	ParticipantRemoved *ACSChatThreadParticipantProperties

	// The communication identifier of the user who removed the user
	RemovedByCommunicationIdentifier *CommunicationIdentifierModel

	// The chat thread id
	ThreadID *string

	// The time at which the user was removed to the thread
	Time *time.Time

	// The transaction id will be used as co-relation vector
	TransactionID *string

	// The version of the thread
	Version *int64
}

ACSChatParticipantRemovedFromThreadEventData - Schema of the Data property of an CloudEvent/EventGridEvent for a Microsoft.Communication.ChatThreadParticipantRemoved event.

func (ACSChatParticipantRemovedFromThreadEventData) MarshalJSON

MarshalJSON implements the json.Marshaller interface for type ACSChatParticipantRemovedFromThreadEventData.

func (*ACSChatParticipantRemovedFromThreadEventData) UnmarshalJSON

func (a *ACSChatParticipantRemovedFromThreadEventData) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type ACSChatParticipantRemovedFromThreadEventData.

type ACSChatParticipantRemovedFromThreadWithUserEventData

type ACSChatParticipantRemovedFromThreadWithUserEventData struct {
	// The original creation time of the thread
	CreateTime *time.Time

	// The details of the user who was removed
	ParticipantRemoved *ACSChatThreadParticipantProperties

	// The communication identifier of the target user
	RecipientCommunicationIdentifier *CommunicationIdentifierModel

	// The communication identifier of the user who removed the user
	RemovedByCommunicationIdentifier *CommunicationIdentifierModel

	// The chat thread id
	ThreadID *string

	// The time at which the user was removed to the thread
	Time *time.Time

	// The transaction id will be used as co-relation vector
	TransactionID *string

	// The version of the thread
	Version *int64
}

ACSChatParticipantRemovedFromThreadWithUserEventData - Schema of the Data property of an CloudEvent/EventGridEvent for a Microsoft.Communication.ChatParticipantRemovedFromThreadWithUser event.

func (ACSChatParticipantRemovedFromThreadWithUserEventData) MarshalJSON

MarshalJSON implements the json.Marshaller interface for type ACSChatParticipantRemovedFromThreadWithUserEventData.

func (*ACSChatParticipantRemovedFromThreadWithUserEventData) UnmarshalJSON

UnmarshalJSON implements the json.Unmarshaller interface for type ACSChatParticipantRemovedFromThreadWithUserEventData.

type ACSChatThreadCreatedEventData

type ACSChatThreadCreatedEventData struct {
	// The original creation time of the thread
	CreateTime *time.Time

	// The communication identifier of the user who created the thread
	CreatedByCommunicationIdentifier *CommunicationIdentifierModel

	// The chat thread created metadata
	Metadata map[string]*string

	// The list of properties of participants who are part of the thread
	Participants []ACSChatThreadParticipantProperties

	// The thread properties
	Properties map[string]any

	// The chat thread id
	ThreadID *string

	// The transaction id will be used as co-relation vector
	TransactionID *string

	// The version of the thread
	Version *int64
}

ACSChatThreadCreatedEventData - Schema of the Data property of an CloudEvent/EventGridEvent for a Microsoft.Communication.ChatThreadCreated event.

func (ACSChatThreadCreatedEventData) MarshalJSON

func (a ACSChatThreadCreatedEventData) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type ACSChatThreadCreatedEventData.

func (*ACSChatThreadCreatedEventData) UnmarshalJSON

func (a *ACSChatThreadCreatedEventData) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type ACSChatThreadCreatedEventData.

type ACSChatThreadCreatedWithUserEventData

type ACSChatThreadCreatedWithUserEventData struct {
	// The original creation time of the thread
	CreateTime *time.Time

	// The communication identifier of the user who created the thread
	CreatedByCommunicationIdentifier *CommunicationIdentifierModel

	// The thread metadata
	Metadata map[string]*string

	// The list of properties of participants who are part of the thread
	Participants []ACSChatThreadParticipantProperties

	// The thread properties
	Properties map[string]any

	// The communication identifier of the target user
	RecipientCommunicationIdentifier *CommunicationIdentifierModel

	// The chat thread id
	ThreadID *string

	// The transaction id will be used as co-relation vector
	TransactionID *string

	// The version of the thread
	Version *int64
}

ACSChatThreadCreatedWithUserEventData - Schema of the Data property of an CloudEvent/EventGridEvent for a Microsoft.Communication.ChatThreadCreatedWithUser event.

func (ACSChatThreadCreatedWithUserEventData) MarshalJSON

func (a ACSChatThreadCreatedWithUserEventData) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type ACSChatThreadCreatedWithUserEventData.

func (*ACSChatThreadCreatedWithUserEventData) UnmarshalJSON

func (a *ACSChatThreadCreatedWithUserEventData) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type ACSChatThreadCreatedWithUserEventData.

type ACSChatThreadDeletedEventData

type ACSChatThreadDeletedEventData struct {
	// The original creation time of the thread
	CreateTime *time.Time

	// The deletion time of the thread
	DeleteTime *time.Time

	// The communication identifier of the user who deleted the thread
	DeletedByCommunicationIdentifier *CommunicationIdentifierModel

	// The chat thread id
	ThreadID *string

	// The transaction id will be used as co-relation vector
	TransactionID *string

	// The version of the thread
	Version *int64
}

ACSChatThreadDeletedEventData - Schema of the Data property of an CloudEvent/EventGridEvent for a Microsoft.Communication.ChatThreadDeleted event.

func (ACSChatThreadDeletedEventData) MarshalJSON

func (a ACSChatThreadDeletedEventData) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type ACSChatThreadDeletedEventData.

func (*ACSChatThreadDeletedEventData) UnmarshalJSON

func (a *ACSChatThreadDeletedEventData) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type ACSChatThreadDeletedEventData.

type ACSChatThreadEventBaseProperties

type ACSChatThreadEventBaseProperties struct {
	// The original creation time of the thread
	CreateTime *time.Time

	// The communication identifier of the target user
	RecipientCommunicationIdentifier *CommunicationIdentifierModel

	// The chat thread id
	ThreadID *string

	// The transaction id will be used as co-relation vector
	TransactionID *string

	// The version of the thread
	Version *int64
}

ACSChatThreadEventBaseProperties - Schema of common properties of all chat thread events

func (ACSChatThreadEventBaseProperties) MarshalJSON

func (a ACSChatThreadEventBaseProperties) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type ACSChatThreadEventBaseProperties.

func (*ACSChatThreadEventBaseProperties) UnmarshalJSON

func (a *ACSChatThreadEventBaseProperties) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type ACSChatThreadEventBaseProperties.

type ACSChatThreadEventInThreadBaseProperties

type ACSChatThreadEventInThreadBaseProperties struct {
	// The original creation time of the thread
	CreateTime *time.Time

	// The chat thread id
	ThreadID *string

	// The transaction id will be used as co-relation vector
	TransactionID *string

	// The version of the thread
	Version *int64
}

ACSChatThreadEventInThreadBaseProperties - Schema of common properties of all chat thread events

func (ACSChatThreadEventInThreadBaseProperties) MarshalJSON

MarshalJSON implements the json.Marshaller interface for type ACSChatThreadEventInThreadBaseProperties.

func (*ACSChatThreadEventInThreadBaseProperties) UnmarshalJSON

func (a *ACSChatThreadEventInThreadBaseProperties) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type ACSChatThreadEventInThreadBaseProperties.

type ACSChatThreadParticipantProperties

type ACSChatThreadParticipantProperties struct {
	// The name of the user
	DisplayName *string

	// The metadata of the user
	Metadata map[string]*string

	// The communication identifier of the user
	ParticipantCommunicationIdentifier *CommunicationIdentifierModel
}

ACSChatThreadParticipantProperties - Schema of the chat thread participant

func (ACSChatThreadParticipantProperties) MarshalJSON

func (a ACSChatThreadParticipantProperties) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type ACSChatThreadParticipantProperties.

func (*ACSChatThreadParticipantProperties) UnmarshalJSON

func (a *ACSChatThreadParticipantProperties) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type ACSChatThreadParticipantProperties.

type ACSChatThreadPropertiesUpdatedEventData

type ACSChatThreadPropertiesUpdatedEventData struct {
	// The original creation time of the thread
	CreateTime *time.Time

	// The time at which the properties of the thread were updated
	EditTime *time.Time

	// The communication identifier of the user who updated the thread properties
	EditedByCommunicationIdentifier *CommunicationIdentifierModel

	// The thread metadata
	Metadata map[string]*string

	// The updated thread properties
	Properties map[string]any

	// The chat thread id
	ThreadID *string

	// The transaction id will be used as co-relation vector
	TransactionID *string

	// The version of the thread
	Version *int64
}

ACSChatThreadPropertiesUpdatedEventData - Schema of the Data property of an CloudEvent/EventGridEvent for a Microsoft.Communication.ChatThreadPropertiesUpdated event.

func (ACSChatThreadPropertiesUpdatedEventData) MarshalJSON

func (a ACSChatThreadPropertiesUpdatedEventData) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type ACSChatThreadPropertiesUpdatedEventData.

func (*ACSChatThreadPropertiesUpdatedEventData) UnmarshalJSON

func (a *ACSChatThreadPropertiesUpdatedEventData) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type ACSChatThreadPropertiesUpdatedEventData.

type ACSChatThreadPropertiesUpdatedPerUserEventData

type ACSChatThreadPropertiesUpdatedPerUserEventData struct {
	// The original creation time of the thread
	CreateTime *time.Time

	// The time at which the properties of the thread were updated
	EditTime *time.Time

	// The communication identifier of the user who updated the thread properties
	EditedByCommunicationIdentifier *CommunicationIdentifierModel

	// The thread metadata
	Metadata map[string]*string

	// The updated thread properties
	Properties map[string]any

	// The communication identifier of the target user
	RecipientCommunicationIdentifier *CommunicationIdentifierModel

	// The chat thread id
	ThreadID *string

	// The transaction id will be used as co-relation vector
	TransactionID *string

	// The version of the thread
	Version *int64
}

ACSChatThreadPropertiesUpdatedPerUserEventData - Schema of the Data property of an CloudEvent/EventGridEvent for a Microsoft.Communication.ChatThreadPropertiesUpdatedPerUser event.

func (ACSChatThreadPropertiesUpdatedPerUserEventData) MarshalJSON

MarshalJSON implements the json.Marshaller interface for type ACSChatThreadPropertiesUpdatedPerUserEventData.

func (*ACSChatThreadPropertiesUpdatedPerUserEventData) UnmarshalJSON

UnmarshalJSON implements the json.Unmarshaller interface for type ACSChatThreadPropertiesUpdatedPerUserEventData.

type ACSChatThreadWithUserDeletedEventData

type ACSChatThreadWithUserDeletedEventData struct {
	// The original creation time of the thread
	CreateTime *time.Time

	// The deletion time of the thread
	DeleteTime *time.Time

	// The communication identifier of the user who deleted the thread
	DeletedByCommunicationIdentifier *CommunicationIdentifierModel

	// The communication identifier of the target user
	RecipientCommunicationIdentifier *CommunicationIdentifierModel

	// The chat thread id
	ThreadID *string

	// The transaction id will be used as co-relation vector
	TransactionID *string

	// The version of the thread
	Version *int64
}

ACSChatThreadWithUserDeletedEventData - Schema of the Data property of an CloudEvent/EventGridEvent for a Microsoft.Communication.ChatThreadWithUserDeleted event.

func (ACSChatThreadWithUserDeletedEventData) MarshalJSON

func (a ACSChatThreadWithUserDeletedEventData) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type ACSChatThreadWithUserDeletedEventData.

func (*ACSChatThreadWithUserDeletedEventData) UnmarshalJSON

func (a *ACSChatThreadWithUserDeletedEventData) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type ACSChatThreadWithUserDeletedEventData.

type ACSEmailDeliveryReportReceivedEventData

type ACSEmailDeliveryReportReceivedEventData struct {
	// The time at which the email delivery report received timestamp
	DeliveryAttemptTimestamp *time.Time

	// Detailed information about the status if any
	DeliveryStatusDetails *ACSEmailDeliveryReportStatusDetails

	// The Id of the email been sent
	MessageID *string

	// The recipient Email Address
	Recipient *string

	// The Sender Email Address
	Sender *string

	// The status of the email. Any value other than Delivered is considered failed.
	Status *ACSEmailDeliveryReportStatus
}

ACSEmailDeliveryReportReceivedEventData - Schema of the Data property of an CloudEvent/EventGridEvent for a Microsoft.Communication.EmailDeliveryReportReceived event.

func (ACSEmailDeliveryReportReceivedEventData) MarshalJSON

func (a ACSEmailDeliveryReportReceivedEventData) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type ACSEmailDeliveryReportReceivedEventData.

func (*ACSEmailDeliveryReportReceivedEventData) UnmarshalJSON

func (a *ACSEmailDeliveryReportReceivedEventData) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type ACSEmailDeliveryReportReceivedEventData.

type ACSEmailDeliveryReportStatus added in v0.3.0

type ACSEmailDeliveryReportStatus string

ACSEmailDeliveryReportStatus - The status of the email. Any value other than Delivered is considered failed.

const (
	// ACSEmailDeliveryReportStatusBounced - Hard bounce detected while sending the email
	ACSEmailDeliveryReportStatusBounced ACSEmailDeliveryReportStatus = "Bounced"
	// ACSEmailDeliveryReportStatusDelivered - The email was delivered
	ACSEmailDeliveryReportStatusDelivered ACSEmailDeliveryReportStatus = "Delivered"
	// ACSEmailDeliveryReportStatusFailed - The email failed to be delivered
	ACSEmailDeliveryReportStatusFailed ACSEmailDeliveryReportStatus = "Failed"
	// ACSEmailDeliveryReportStatusFilteredSpam - The message was identified spam and was rejected or blocked (not quarantined).
	ACSEmailDeliveryReportStatusFilteredSpam ACSEmailDeliveryReportStatus = "FilteredSpam"
	// ACSEmailDeliveryReportStatusQuarantined - The message was quarantined (as spam, bulk mail, or phishing). For more information,
	// see Quarantined email messages in EOP (EXCHANGE ONLINE PROTECTION).
	ACSEmailDeliveryReportStatusQuarantined ACSEmailDeliveryReportStatus = "Quarantined"
	// ACSEmailDeliveryReportStatusSuppressed - The email was suppressed
	ACSEmailDeliveryReportStatusSuppressed ACSEmailDeliveryReportStatus = "Suppressed"
)

func PossibleACSEmailDeliveryReportStatusValues added in v0.3.0

func PossibleACSEmailDeliveryReportStatusValues() []ACSEmailDeliveryReportStatus

PossibleACSEmailDeliveryReportStatusValues returns the possible values for the AcsEmailDeliveryReportStatus const type.

type ACSEmailDeliveryReportStatusDetails added in v0.3.0

type ACSEmailDeliveryReportStatusDetails struct {
	// Detailed status message
	StatusMessage *string
}

ACSEmailDeliveryReportStatusDetails - Detailed information about the status if any

func (ACSEmailDeliveryReportStatusDetails) MarshalJSON added in v0.3.0

func (a ACSEmailDeliveryReportStatusDetails) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type ACSEmailDeliveryReportStatusDetails.

func (*ACSEmailDeliveryReportStatusDetails) UnmarshalJSON added in v0.3.0

func (a *ACSEmailDeliveryReportStatusDetails) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type ACSEmailDeliveryReportStatusDetails.

type ACSEmailEngagementTrackingReportReceivedEventData

type ACSEmailEngagementTrackingReportReceivedEventData struct {
	// The type of engagement user have with email
	Engagement *ACSUserEngagement

	// The context of the type of engagement user had with email
	EngagementContext *string

	// The Id of the email that has been sent
	MessageID *string

	// The Recipient Email Address
	Recipient *string

	// The Sender Email Address
	Sender *string

	// The time at which the user interacted with the email
	UserActionTimestamp *time.Time

	// The user agent interacting with the email
	UserAgent *string
}

ACSEmailEngagementTrackingReportReceivedEventData - Schema of the Data property of an CloudEvent/EventGridEvent for a Microsoft.Communication.EmailEngagementTrackingReportReceived event.

func (ACSEmailEngagementTrackingReportReceivedEventData) MarshalJSON

MarshalJSON implements the json.Marshaller interface for type ACSEmailEngagementTrackingReportReceivedEventData.

func (*ACSEmailEngagementTrackingReportReceivedEventData) UnmarshalJSON

UnmarshalJSON implements the json.Unmarshaller interface for type ACSEmailEngagementTrackingReportReceivedEventData.

type ACSIncomingCallCustomContext added in v0.3.0

type ACSIncomingCallCustomContext struct {
	// Sip Headers for incoming call
	SipHeaders map[string]*string

	// Voip Headers for incoming call
	VoipHeaders map[string]*string
}

ACSIncomingCallCustomContext - Custom Context of Incoming Call

func (ACSIncomingCallCustomContext) MarshalJSON added in v0.3.0

func (a ACSIncomingCallCustomContext) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type ACSIncomingCallCustomContext.

func (*ACSIncomingCallCustomContext) UnmarshalJSON added in v0.3.0

func (a *ACSIncomingCallCustomContext) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type ACSIncomingCallCustomContext.

type ACSIncomingCallEventData

type ACSIncomingCallEventData struct {
	// Display name of caller.
	CallerDisplayName *string

	// CorrelationId (CallId).
	CorrelationID *string

	// Custom Context of Incoming Call
	CustomContext *ACSIncomingCallCustomContext

	// The communication identifier of the user who initiated the call.
	FromCommunicationIdentifier *CommunicationIdentifierModel

	// Signed incoming call context.
	IncomingCallContext *string

	// The Id of the server call
	ServerCallID *string

	// The communication identifier of the target user.
	ToCommunicationIdentifier *CommunicationIdentifierModel
}

ACSIncomingCallEventData - Schema of the Data property of an CloudEvent/EventGridEvent for an Microsoft.Communication.IncomingCall event

func (ACSIncomingCallEventData) MarshalJSON

func (a ACSIncomingCallEventData) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type ACSIncomingCallEventData.

func (*ACSIncomingCallEventData) UnmarshalJSON

func (a *ACSIncomingCallEventData) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type ACSIncomingCallEventData.

type ACSInteractiveReplyKind added in v0.3.0

type ACSInteractiveReplyKind string

ACSInteractiveReplyKind - The Message interactive reply type

const (
	// ACSInteractiveReplyKindButtonReply - Messaged interactive reply type is ButtonReply
	ACSInteractiveReplyKindButtonReply ACSInteractiveReplyKind = "buttonReply"
	// ACSInteractiveReplyKindListReply - Messaged interactive reply type is ListReply
	ACSInteractiveReplyKindListReply ACSInteractiveReplyKind = "listReply"
	// ACSInteractiveReplyKindUnknown - Messaged interactive reply type is Unknown
	ACSInteractiveReplyKindUnknown ACSInteractiveReplyKind = "unknown"
)

func PossibleACSInteractiveReplyKindValues added in v0.3.0

func PossibleACSInteractiveReplyKindValues() []ACSInteractiveReplyKind

PossibleACSInteractiveReplyKindValues returns the possible values for the AcsInteractiveReplyKind const type.

type ACSMessageChannelKind added in v0.3.0

type ACSMessageChannelKind string

ACSMessageChannelKind - The The messaged received channel Kind

const (
	// ACSMessageChannelKindWhatsapp - Updated messaged channel type is Whatsapp
	ACSMessageChannelKindWhatsapp ACSMessageChannelKind = "whatsapp"
)

func PossibleACSMessageChannelKindValues added in v0.3.0

func PossibleACSMessageChannelKindValues() []ACSMessageChannelKind

PossibleACSMessageChannelKindValues returns the possible values for the AcsMessageChannelKind const type.

type ACSRecordingChunkInfoProperties

type ACSRecordingChunkInfoProperties struct {
	// The location of the content for this chunk
	ContentLocation *string

	// The location to delete all chunk storage
	DeleteLocation *string

	// The documentId of the recording chunk
	DocumentID *string

	// The reason for ending the recording chunk
	EndReason *string

	// The index of the recording chunk
	Index *int64

	// The location of the metadata for this chunk
	MetadataLocation *string
}

ACSRecordingChunkInfoProperties - Schema for all properties of Recording Chunk Information.

func (ACSRecordingChunkInfoProperties) MarshalJSON

func (a ACSRecordingChunkInfoProperties) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type ACSRecordingChunkInfoProperties.

func (*ACSRecordingChunkInfoProperties) UnmarshalJSON

func (a *ACSRecordingChunkInfoProperties) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type ACSRecordingChunkInfoProperties.

type ACSRecordingFileStatusUpdatedEventData

type ACSRecordingFileStatusUpdatedEventData struct {
	// The recording channel type - Mixed, Unmixed
	RecordingChannelKind *RecordingChannelKind

	// The recording content type- AudioVideo, or Audio
	RecordingContentType *RecordingContentType

	// The recording duration in milliseconds
	RecordingDurationMs *int64

	// The recording format type - Mp4, Mp3, Wav
	RecordingFormatType *RecordingFormatType

	// The time at which the recording started
	RecordingStartTime *time.Time

	// The details of recording storage information
	RecordingStorageInfo *ACSRecordingStorageInfoProperties

	// The reason for ending recording session
	SessionEndReason *string
}

ACSRecordingFileStatusUpdatedEventData - Schema of the Data property of an CloudEvent/EventGridEvent for a Microsoft.Communication.RecordingFileStatusUpdated event.

func (ACSRecordingFileStatusUpdatedEventData) MarshalJSON

func (a ACSRecordingFileStatusUpdatedEventData) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type ACSRecordingFileStatusUpdatedEventData.

func (*ACSRecordingFileStatusUpdatedEventData) UnmarshalJSON

func (a *ACSRecordingFileStatusUpdatedEventData) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type ACSRecordingFileStatusUpdatedEventData.

type ACSRecordingStorageInfoProperties

type ACSRecordingStorageInfoProperties struct {
	// List of details of recording chunks information
	RecordingChunks []ACSRecordingChunkInfoProperties
}

ACSRecordingStorageInfoProperties - Schema for all properties of Recording Storage Information.

func (ACSRecordingStorageInfoProperties) MarshalJSON

func (a ACSRecordingStorageInfoProperties) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type ACSRecordingStorageInfoProperties.

func (*ACSRecordingStorageInfoProperties) UnmarshalJSON

func (a *ACSRecordingStorageInfoProperties) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type ACSRecordingStorageInfoProperties.

type ACSRouterChannelConfiguration added in v0.3.0

type ACSRouterChannelConfiguration struct {
	// Capacity Cost Per Job for Router Job
	CapacityCostPerJob *int32

	// Channel ID for Router Job
	ChannelID *string

	// Max Number of Jobs for Router Job
	MaxNumberOfJobs *int32
}

ACSRouterChannelConfiguration - Router Channel Configuration

func (ACSRouterChannelConfiguration) MarshalJSON added in v0.3.0

func (a ACSRouterChannelConfiguration) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type ACSRouterChannelConfiguration.

func (*ACSRouterChannelConfiguration) UnmarshalJSON added in v0.3.0

func (a *ACSRouterChannelConfiguration) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type ACSRouterChannelConfiguration.

type ACSRouterEventData

type ACSRouterEventData struct {
	// Router Event Channel ID
	ChannelID *string

	// Router Event Channel Reference
	ChannelReference *string

	// Router Event Job ID
	JobID *string
}

ACSRouterEventData - Schema of common properties of all Router events

func (ACSRouterEventData) MarshalJSON

func (a ACSRouterEventData) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type ACSRouterEventData.

func (*ACSRouterEventData) UnmarshalJSON

func (a *ACSRouterEventData) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type ACSRouterEventData.

type ACSRouterJobCancelledEventData

type ACSRouterJobCancelledEventData struct {
	// Router Event Channel ID
	ChannelID *string

	// Router Event Channel Reference
	ChannelReference *string

	// Router Job Disposition Code
	DispositionCode *string

	// Router Event Job ID
	JobID *string

	// Router Job events Labels
	Labels map[string]*string

	// Router Job Note
	Note *string

	// Router Job events Queue Id
	QueueID *string

	// Router Jobs events Tags
	Tags map[string]*string
}

ACSRouterJobCancelledEventData - Schema of the Data property of an CloudEvent/EventGridEvent for a Microsoft.Communication.RouterJobCancelled event

func (ACSRouterJobCancelledEventData) MarshalJSON

func (a ACSRouterJobCancelledEventData) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type ACSRouterJobCancelledEventData.

func (*ACSRouterJobCancelledEventData) UnmarshalJSON

func (a *ACSRouterJobCancelledEventData) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type ACSRouterJobCancelledEventData.

type ACSRouterJobClassificationFailedEventData

type ACSRouterJobClassificationFailedEventData struct {
	// Router Event Channel ID
	ChannelID *string

	// Router Event Channel Reference
	ChannelReference *string

	// Router Job Classification Policy Id
	ClassificationPolicyID *string

	// Router Job Classification Failed Errors
	Errors []*Error

	// Router Event Job ID
	JobID *string

	// Router Job events Labels
	Labels map[string]*string

	// Router Job events Queue Id
	QueueID *string

	// Router Jobs events Tags
	Tags map[string]*string
}

ACSRouterJobClassificationFailedEventData - Schema of the Data property of an CloudEvent/EventGridEvent for a Microsoft.Communication.RouterJobClassificationFailed event

func (ACSRouterJobClassificationFailedEventData) MarshalJSON

MarshalJSON implements the json.Marshaller interface for type ACSRouterJobClassificationFailedEventData.

func (*ACSRouterJobClassificationFailedEventData) UnmarshalJSON

func (a *ACSRouterJobClassificationFailedEventData) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type ACSRouterJobClassificationFailedEventData.

type ACSRouterJobClassifiedEventData

type ACSRouterJobClassifiedEventData struct {
	// Router Job Attached Worker Selector
	AttachedWorkerSelectors []ACSRouterWorkerSelector

	// Router Event Channel ID
	ChannelID *string

	// Router Event Channel Reference
	ChannelReference *string

	// Router Job Classification Policy Id
	ClassificationPolicyID *string

	// Router Event Job ID
	JobID *string

	// Router Job events Labels
	Labels map[string]*string

	// Router Job Priority
	Priority *int32

	// Router Job Queue Info
	QueueDetails *ACSRouterQueueDetails

	// Router Job events Queue Id
	QueueID *string

	// Router Jobs events Tags
	Tags map[string]*string
}

ACSRouterJobClassifiedEventData - Schema of the Data property of an CloudEvent/EventGridEvent for a Microsoft.Communication.RouterJobClassified event

func (ACSRouterJobClassifiedEventData) MarshalJSON

func (a ACSRouterJobClassifiedEventData) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type ACSRouterJobClassifiedEventData.

func (*ACSRouterJobClassifiedEventData) UnmarshalJSON

func (a *ACSRouterJobClassifiedEventData) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type ACSRouterJobClassifiedEventData.

type ACSRouterJobClosedEventData

type ACSRouterJobClosedEventData struct {
	// Router Job Closed Assignment Id
	AssignmentID *string

	// Router Event Channel ID
	ChannelID *string

	// Router Event Channel Reference
	ChannelReference *string

	// Router Job Closed Disposition Code
	DispositionCode *string

	// Router Event Job ID
	JobID *string

	// Router Job events Labels
	Labels map[string]*string

	// Router Job events Queue Id
	QueueID *string

	// Router Jobs events Tags
	Tags map[string]*string

	// Router Job Closed Worker Id
	WorkerID *string
}

ACSRouterJobClosedEventData - Schema of the Data property of an CloudEvent/EventGridEvent for a Microsoft.Communication.RouterJobClosed event

func (ACSRouterJobClosedEventData) MarshalJSON

func (a ACSRouterJobClosedEventData) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type ACSRouterJobClosedEventData.

func (*ACSRouterJobClosedEventData) UnmarshalJSON

func (a *ACSRouterJobClosedEventData) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type ACSRouterJobClosedEventData.

type ACSRouterJobCompletedEventData

type ACSRouterJobCompletedEventData struct {
	// Router Job Completed Assignment Id
	AssignmentID *string

	// Router Event Channel ID
	ChannelID *string

	// Router Event Channel Reference
	ChannelReference *string

	// Router Event Job ID
	JobID *string

	// Router Job events Labels
	Labels map[string]*string

	// Router Job events Queue Id
	QueueID *string

	// Router Jobs events Tags
	Tags map[string]*string

	// Router Job Completed Worker Id
	WorkerID *string
}

ACSRouterJobCompletedEventData - Schema of the Data property of an CloudEvent/EventGridEvent for a Microsoft.Communication.RouterJobCompleted event

func (ACSRouterJobCompletedEventData) MarshalJSON

func (a ACSRouterJobCompletedEventData) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type ACSRouterJobCompletedEventData.

func (*ACSRouterJobCompletedEventData) UnmarshalJSON

func (a *ACSRouterJobCompletedEventData) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type ACSRouterJobCompletedEventData.

type ACSRouterJobDeletedEventData

type ACSRouterJobDeletedEventData struct {
	// Router Event Channel ID
	ChannelID *string

	// Router Event Channel Reference
	ChannelReference *string

	// Router Event Job ID
	JobID *string

	// Router Job events Labels
	Labels map[string]*string

	// Router Job events Queue Id
	QueueID *string

	// Router Jobs events Tags
	Tags map[string]*string
}

ACSRouterJobDeletedEventData - Schema of the Data property of an CloudEvent/EventGridEvent for a Microsoft.Communication.RouterJobDeleted event

func (ACSRouterJobDeletedEventData) MarshalJSON

func (a ACSRouterJobDeletedEventData) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type ACSRouterJobDeletedEventData.

func (*ACSRouterJobDeletedEventData) UnmarshalJSON

func (a *ACSRouterJobDeletedEventData) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type ACSRouterJobDeletedEventData.

type ACSRouterJobEventData

type ACSRouterJobEventData struct {
	// Router Event Channel ID
	ChannelID *string

	// Router Event Channel Reference
	ChannelReference *string

	// Router Event Job ID
	JobID *string

	// Router Job events Labels
	Labels map[string]*string

	// Router Job events Queue Id
	QueueID *string

	// Router Jobs events Tags
	Tags map[string]*string
}

ACSRouterJobEventData - Schema of common properties of all Router Job events

func (ACSRouterJobEventData) MarshalJSON

func (a ACSRouterJobEventData) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type ACSRouterJobEventData.

func (*ACSRouterJobEventData) UnmarshalJSON

func (a *ACSRouterJobEventData) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type ACSRouterJobEventData.

type ACSRouterJobExceptionTriggeredEventData

type ACSRouterJobExceptionTriggeredEventData struct {
	// Router Event Channel ID
	ChannelID *string

	// Router Event Channel Reference
	ChannelReference *string

	// Router Job Exception Triggered Rule Id
	ExceptionRuleID *string

	// Router Event Job ID
	JobID *string

	// Router Job events Labels
	Labels map[string]*string

	// Router Job events Queue Id
	QueueID *string

	// Router Job Exception Triggered Rule Key
	RuleKey *string

	// Router Jobs events Tags
	Tags map[string]*string
}

ACSRouterJobExceptionTriggeredEventData - Schema of the Data property of an CloudEvent/EventGridEvent for a Microsoft.Communication.RouterJobExceptionTriggered event

func (ACSRouterJobExceptionTriggeredEventData) MarshalJSON

func (a ACSRouterJobExceptionTriggeredEventData) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type ACSRouterJobExceptionTriggeredEventData.

func (*ACSRouterJobExceptionTriggeredEventData) UnmarshalJSON

func (a *ACSRouterJobExceptionTriggeredEventData) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type ACSRouterJobExceptionTriggeredEventData.

type ACSRouterJobQueuedEventData

type ACSRouterJobQueuedEventData struct {
	// Router Job Queued Attached Worker Selector
	AttachedWorkerSelectors []ACSRouterWorkerSelector

	// Router Event Channel ID
	ChannelID *string

	// Router Event Channel Reference
	ChannelReference *string

	// Router Event Job ID
	JobID *string

	// Router Job events Labels
	Labels map[string]*string

	// Router Job Priority
	Priority *int32

	// Router Job events Queue Id
	QueueID *string

	// Router Job Queued Requested Worker Selector
	RequestedWorkerSelectors []ACSRouterWorkerSelector

	// Router Jobs events Tags
	Tags map[string]*string
}

ACSRouterJobQueuedEventData - Schema of the Data property of an CloudEvent/EventGridEvent for a Microsoft.Communication.RouterJobQueued event

func (ACSRouterJobQueuedEventData) MarshalJSON

func (a ACSRouterJobQueuedEventData) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type ACSRouterJobQueuedEventData.

func (*ACSRouterJobQueuedEventData) UnmarshalJSON

func (a *ACSRouterJobQueuedEventData) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type ACSRouterJobQueuedEventData.

type ACSRouterJobReceivedEventData

type ACSRouterJobReceivedEventData struct {
	// REQUIRED; Unavailable For Matching for Router Job Received
	UnavailableForMatching *bool

	// Router Event Channel ID
	ChannelID *string

	// Router Event Channel Reference
	ChannelReference *string

	// Router Job Classification Policy Id
	ClassificationPolicyID *string

	// Router Event Job ID
	JobID *string

	// Router Job Received Job Status
	JobStatus *ACSRouterJobStatus

	// Router Job events Labels
	Labels map[string]*string

	// Router Job Priority
	Priority *int32

	// Router Job events Queue Id
	QueueID *string

	// Router Job Received Requested Worker Selectors
	RequestedWorkerSelectors []ACSRouterWorkerSelector

	// Router Job Received Scheduled Time in UTC
	ScheduledOn *time.Time

	// Router Jobs events Tags
	Tags map[string]*string
}

ACSRouterJobReceivedEventData - Schema of the Data property of an CloudEvent/EventGridEvent for a Microsoft.Communication.RouterJobReceived event

func (ACSRouterJobReceivedEventData) MarshalJSON

func (a ACSRouterJobReceivedEventData) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type ACSRouterJobReceivedEventData.

func (*ACSRouterJobReceivedEventData) UnmarshalJSON

func (a *ACSRouterJobReceivedEventData) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type ACSRouterJobReceivedEventData.

type ACSRouterJobSchedulingFailedEventData

type ACSRouterJobSchedulingFailedEventData struct {
	// Router Event Channel ID
	ChannelID *string

	// Router Event Channel Reference
	ChannelReference *string

	// Router Job Scheduling Failed Attached Worker Selector Expired
	ExpiredAttachedWorkerSelectors []ACSRouterWorkerSelector

	// Router Job Scheduling Failed Requested Worker Selector Expired
	ExpiredRequestedWorkerSelectors []ACSRouterWorkerSelector

	// Router Job Scheduling Failed Reason
	FailureReason *string

	// Router Event Job ID
	JobID *string

	// Router Job events Labels
	Labels map[string]*string

	// Router Job Priority
	Priority *int32

	// Router Job events Queue Id
	QueueID *string

	// Router Job Scheduling Failed Scheduled Time in UTC
	ScheduledOn *time.Time

	// Router Jobs events Tags
	Tags map[string]*string
}

ACSRouterJobSchedulingFailedEventData - Schema of the Data property of an CloudEvent/EventGridEvent for a Microsoft.Communication.RouterJobSchedulingFailed event

func (ACSRouterJobSchedulingFailedEventData) MarshalJSON

func (a ACSRouterJobSchedulingFailedEventData) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type ACSRouterJobSchedulingFailedEventData.

func (*ACSRouterJobSchedulingFailedEventData) UnmarshalJSON

func (a *ACSRouterJobSchedulingFailedEventData) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type ACSRouterJobSchedulingFailedEventData.

type ACSRouterJobStatus added in v0.3.0

type ACSRouterJobStatus string

ACSRouterJobStatus - Router Job Received Job Status

const (
	ACSRouterJobStatusAssigned              ACSRouterJobStatus = "Assigned"
	ACSRouterJobStatusCancelled             ACSRouterJobStatus = "Cancelled"
	ACSRouterJobStatusClassificationFailed  ACSRouterJobStatus = "ClassificationFailed"
	ACSRouterJobStatusClosed                ACSRouterJobStatus = "Closed"
	ACSRouterJobStatusCompleted             ACSRouterJobStatus = "Completed"
	ACSRouterJobStatusCreated               ACSRouterJobStatus = "Created"
	ACSRouterJobStatusPendingClassification ACSRouterJobStatus = "PendingClassification"
	ACSRouterJobStatusPendingSchedule       ACSRouterJobStatus = "PendingSchedule"
	ACSRouterJobStatusQueued                ACSRouterJobStatus = "Queued"
	ACSRouterJobStatusScheduleFailed        ACSRouterJobStatus = "ScheduleFailed"
	ACSRouterJobStatusScheduled             ACSRouterJobStatus = "Scheduled"
	ACSRouterJobStatusWaitingForActivation  ACSRouterJobStatus = "WaitingForActivation"
)

func PossibleACSRouterJobStatusValues added in v0.3.0

func PossibleACSRouterJobStatusValues() []ACSRouterJobStatus

PossibleACSRouterJobStatusValues returns the possible values for the AcsRouterJobStatus const type.

type ACSRouterJobUnassignedEventData

type ACSRouterJobUnassignedEventData struct {
	// Router Job Unassigned Assignment Id
	AssignmentID *string

	// Router Event Channel ID
	ChannelID *string

	// Router Event Channel Reference
	ChannelReference *string

	// Router Event Job ID
	JobID *string

	// Router Job events Labels
	Labels map[string]*string

	// Router Job events Queue Id
	QueueID *string

	// Router Jobs events Tags
	Tags map[string]*string

	// Router Job Unassigned Worker Id
	WorkerID *string
}

ACSRouterJobUnassignedEventData - Schema of the Data property of an CloudEvent/EventGridEvent for a Microsoft.Communication.RouterJobUnassigned event

func (ACSRouterJobUnassignedEventData) MarshalJSON

func (a ACSRouterJobUnassignedEventData) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type ACSRouterJobUnassignedEventData.

func (*ACSRouterJobUnassignedEventData) UnmarshalJSON

func (a *ACSRouterJobUnassignedEventData) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type ACSRouterJobUnassignedEventData.

type ACSRouterJobWaitingForActivationEventData

type ACSRouterJobWaitingForActivationEventData struct {
	// REQUIRED; Router Job Waiting For Activation Unavailable For Matching
	UnavailableForMatching *bool

	// Router Event Channel ID
	ChannelID *string

	// Router Event Channel Reference
	ChannelReference *string

	// Router Job Waiting For Activation Worker Selector Expired
	ExpiredAttachedWorkerSelectors []ACSRouterWorkerSelector

	// Router Job Waiting For Activation Requested Worker Selector Expired
	ExpiredRequestedWorkerSelectors []ACSRouterWorkerSelector

	// Router Event Job ID
	JobID *string

	// Router Job events Labels
	Labels map[string]*string

	// Router Job Waiting For Activation Priority
	Priority *int32

	// Router Job events Queue Id
	QueueID *string

	// Router Job Waiting For Activation Scheduled Time in UTC
	ScheduledOn *time.Time

	// Router Jobs events Tags
	Tags map[string]*string
}

ACSRouterJobWaitingForActivationEventData - Schema of the Data property of an CloudEvent/EventGridEvent for a Microsoft.Communication.RouterJobWaitingForActivation event

func (ACSRouterJobWaitingForActivationEventData) MarshalJSON

MarshalJSON implements the json.Marshaller interface for type ACSRouterJobWaitingForActivationEventData.

func (*ACSRouterJobWaitingForActivationEventData) UnmarshalJSON

func (a *ACSRouterJobWaitingForActivationEventData) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type ACSRouterJobWaitingForActivationEventData.

type ACSRouterJobWorkerSelectorsExpiredEventData

type ACSRouterJobWorkerSelectorsExpiredEventData struct {
	// Router Event Channel ID
	ChannelID *string

	// Router Event Channel Reference
	ChannelReference *string

	// Router Job Worker Selectors Expired Attached Worker Selectors
	ExpiredAttachedWorkerSelectors []ACSRouterWorkerSelector

	// Router Job Worker Selectors Expired Requested Worker Selectors
	ExpiredRequestedWorkerSelectors []ACSRouterWorkerSelector

	// Router Event Job ID
	JobID *string

	// Router Job events Labels
	Labels map[string]*string

	// Router Job events Queue Id
	QueueID *string

	// Router Jobs events Tags
	Tags map[string]*string
}

ACSRouterJobWorkerSelectorsExpiredEventData - Schema of the Data property of an CloudEvent/EventGridEvent for a Microsoft.Communication.RouterJobWorkerSelectorsExpired event

func (ACSRouterJobWorkerSelectorsExpiredEventData) MarshalJSON

MarshalJSON implements the json.Marshaller interface for type ACSRouterJobWorkerSelectorsExpiredEventData.

func (*ACSRouterJobWorkerSelectorsExpiredEventData) UnmarshalJSON

func (a *ACSRouterJobWorkerSelectorsExpiredEventData) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type ACSRouterJobWorkerSelectorsExpiredEventData.

type ACSRouterLabelOperator added in v0.3.0

type ACSRouterLabelOperator string

ACSRouterLabelOperator - Router Job Worker Selector Label Operator

const (
	// ACSRouterLabelOperatorEqual - =
	ACSRouterLabelOperatorEqual ACSRouterLabelOperator = "Equal"
	// ACSRouterLabelOperatorGreater - >
	ACSRouterLabelOperatorGreater ACSRouterLabelOperator = "Greater"
	// ACSRouterLabelOperatorGreaterThanOrEqual - >=
	ACSRouterLabelOperatorGreaterThanOrEqual ACSRouterLabelOperator = "GreaterThanOrEqual"
	// ACSRouterLabelOperatorLess - <
	ACSRouterLabelOperatorLess ACSRouterLabelOperator = "Less"
	// ACSRouterLabelOperatorLessThanOrEqual - <=
	ACSRouterLabelOperatorLessThanOrEqual ACSRouterLabelOperator = "LessThanOrEqual"
	// ACSRouterLabelOperatorNotEqual - !=
	ACSRouterLabelOperatorNotEqual ACSRouterLabelOperator = "NotEqual"
)

func PossibleACSRouterLabelOperatorValues added in v0.3.0

func PossibleACSRouterLabelOperatorValues() []ACSRouterLabelOperator

PossibleACSRouterLabelOperatorValues returns the possible values for the AcsRouterLabelOperator const type.

type ACSRouterQueueDetails added in v0.3.0

type ACSRouterQueueDetails struct {
	// Router Queue Id
	ID *string

	// Router Queue Labels
	Labels map[string]*string

	// Router Queue Name
	Name *string
}

ACSRouterQueueDetails - Router Queue Details

func (ACSRouterQueueDetails) MarshalJSON added in v0.3.0

func (a ACSRouterQueueDetails) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type ACSRouterQueueDetails.

func (*ACSRouterQueueDetails) UnmarshalJSON added in v0.3.0

func (a *ACSRouterQueueDetails) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type ACSRouterQueueDetails.

type ACSRouterUpdatedWorkerProperty added in v0.3.0

type ACSRouterUpdatedWorkerProperty string

ACSRouterUpdatedWorkerProperty - An individual property updated in the Router Worker

const (
	ACSRouterUpdatedWorkerPropertyAvailableForOffers    ACSRouterUpdatedWorkerProperty = "AvailableForOffers"
	ACSRouterUpdatedWorkerPropertyChannelConfigurations ACSRouterUpdatedWorkerProperty = "ChannelConfigurations"
	ACSRouterUpdatedWorkerPropertyLabels                ACSRouterUpdatedWorkerProperty = "Labels"
	ACSRouterUpdatedWorkerPropertyQueueAssignments      ACSRouterUpdatedWorkerProperty = "QueueAssignments"
	ACSRouterUpdatedWorkerPropertyTags                  ACSRouterUpdatedWorkerProperty = "Tags"
	ACSRouterUpdatedWorkerPropertyTotalCapacity         ACSRouterUpdatedWorkerProperty = "TotalCapacity"
)

func PossibleACSRouterUpdatedWorkerPropertyValues added in v0.3.0

func PossibleACSRouterUpdatedWorkerPropertyValues() []ACSRouterUpdatedWorkerProperty

PossibleACSRouterUpdatedWorkerPropertyValues returns the possible values for the AcsRouterUpdatedWorkerProperty const type.

type ACSRouterWorkerDeletedEventData

type ACSRouterWorkerDeletedEventData struct {
	// Router Event Channel ID
	ChannelID *string

	// Router Event Channel Reference
	ChannelReference *string

	// Router Event Job ID
	JobID *string

	// Router Worker events Worker Id
	WorkerID *string
}

ACSRouterWorkerDeletedEventData - Schema of the Data property of an CloudEvent/EventGridEvent for a Microsoft.Communication.RouterWorkerDeleted event

func (ACSRouterWorkerDeletedEventData) MarshalJSON

func (a ACSRouterWorkerDeletedEventData) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type ACSRouterWorkerDeletedEventData.

func (*ACSRouterWorkerDeletedEventData) UnmarshalJSON

func (a *ACSRouterWorkerDeletedEventData) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type ACSRouterWorkerDeletedEventData.

type ACSRouterWorkerDeregisteredEventData

type ACSRouterWorkerDeregisteredEventData struct {
	// Router Worker Deregistered Worker Id
	WorkerID *string
}

ACSRouterWorkerDeregisteredEventData - Schema of the Data property of an CloudEvent/EventGridEvent for a Microsoft.Communication.RouterWorkerDeregistered event

func (ACSRouterWorkerDeregisteredEventData) MarshalJSON

func (a ACSRouterWorkerDeregisteredEventData) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type ACSRouterWorkerDeregisteredEventData.

func (*ACSRouterWorkerDeregisteredEventData) UnmarshalJSON

func (a *ACSRouterWorkerDeregisteredEventData) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type ACSRouterWorkerDeregisteredEventData.

type ACSRouterWorkerEventData

type ACSRouterWorkerEventData struct {
	// Router Event Channel ID
	ChannelID *string

	// Router Event Channel Reference
	ChannelReference *string

	// Router Event Job ID
	JobID *string

	// Router Worker events Worker Id
	WorkerID *string
}

ACSRouterWorkerEventData - Schema of common properties of all Router Worker events

func (ACSRouterWorkerEventData) MarshalJSON

func (a ACSRouterWorkerEventData) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type ACSRouterWorkerEventData.

func (*ACSRouterWorkerEventData) UnmarshalJSON

func (a *ACSRouterWorkerEventData) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type ACSRouterWorkerEventData.

type ACSRouterWorkerOfferAcceptedEventData

type ACSRouterWorkerOfferAcceptedEventData struct {
	// Router Worker Offer Accepted Assignment Id
	AssignmentID *string

	// Router Event Channel ID
	ChannelID *string

	// Router Event Channel Reference
	ChannelReference *string

	// Router Event Job ID
	JobID *string

	// Router Worker Offer Accepted Job Labels
	JobLabels map[string]*string

	// Router Worker Offer Accepted Job Priority
	JobPriority *int32

	// Router Worker Offer Accepted Job Tags
	JobTags map[string]*string

	// Router Worker Offer Accepted Offer Id
	OfferID *string

	// Router Worker Offer Accepted Queue Id
	QueueID *string

	// Router Worker events Worker Id
	WorkerID *string

	// Router Worker Offer Accepted Worker Labels
	WorkerLabels map[string]*string

	// Router Worker Offer Accepted Worker Tags
	WorkerTags map[string]*string
}

ACSRouterWorkerOfferAcceptedEventData - Schema of the Data property of an CloudEvent/EventGridEvent for a Microsoft.Communication.RouterWorkerOfferAccepted event

func (ACSRouterWorkerOfferAcceptedEventData) MarshalJSON

func (a ACSRouterWorkerOfferAcceptedEventData) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type ACSRouterWorkerOfferAcceptedEventData.

func (*ACSRouterWorkerOfferAcceptedEventData) UnmarshalJSON

func (a *ACSRouterWorkerOfferAcceptedEventData) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type ACSRouterWorkerOfferAcceptedEventData.

type ACSRouterWorkerOfferDeclinedEventData

type ACSRouterWorkerOfferDeclinedEventData struct {
	// Router Event Channel ID
	ChannelID *string

	// Router Event Channel Reference
	ChannelReference *string

	// Router Event Job ID
	JobID *string

	// Router Worker Offer Declined Offer Id
	OfferID *string

	// Router Worker Offer Declined Queue Id
	QueueID *string

	// Router Worker events Worker Id
	WorkerID *string
}

ACSRouterWorkerOfferDeclinedEventData - Schema of the Data property of an CloudEvent/EventGridEvent for a Microsoft.Communication.RouterWorkerOfferDeclined event

func (ACSRouterWorkerOfferDeclinedEventData) MarshalJSON

func (a ACSRouterWorkerOfferDeclinedEventData) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type ACSRouterWorkerOfferDeclinedEventData.

func (*ACSRouterWorkerOfferDeclinedEventData) UnmarshalJSON

func (a *ACSRouterWorkerOfferDeclinedEventData) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type ACSRouterWorkerOfferDeclinedEventData.

type ACSRouterWorkerOfferExpiredEventData

type ACSRouterWorkerOfferExpiredEventData struct {
	// Router Event Channel ID
	ChannelID *string

	// Router Event Channel Reference
	ChannelReference *string

	// Router Event Job ID
	JobID *string

	// Router Worker Offer Expired Offer Id
	OfferID *string

	// Router Worker Offer Expired Queue Id
	QueueID *string

	// Router Worker events Worker Id
	WorkerID *string
}

ACSRouterWorkerOfferExpiredEventData - Schema of the Data property of an CloudEvent/EventGridEvent for a Microsoft.Communication.RouterWorkerOfferExpired event

func (ACSRouterWorkerOfferExpiredEventData) MarshalJSON

func (a ACSRouterWorkerOfferExpiredEventData) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type ACSRouterWorkerOfferExpiredEventData.

func (*ACSRouterWorkerOfferExpiredEventData) UnmarshalJSON

func (a *ACSRouterWorkerOfferExpiredEventData) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type ACSRouterWorkerOfferExpiredEventData.

type ACSRouterWorkerOfferIssuedEventData

type ACSRouterWorkerOfferIssuedEventData struct {
	// Router Event Channel ID
	ChannelID *string

	// Router Event Channel Reference
	ChannelReference *string

	// Router Worker Offer Issued Expiration Time in UTC
	ExpiresOn *time.Time

	// Router Event Job ID
	JobID *string

	// Router Worker Offer Issued Job Labels
	JobLabels map[string]*string

	// Router Worker Offer Issued Job Priority
	JobPriority *int32

	// Router Worker Offer Issued Job Tags
	JobTags map[string]*string

	// Router Worker Offer Issued Offer Id
	OfferID *string

	// Router Worker Offer Issued Time in UTC
	OfferedOn *time.Time

	// Router Worker Offer Issued Queue Id
	QueueID *string

	// Router Worker events Worker Id
	WorkerID *string

	// Router Worker Offer Issued Worker Labels
	WorkerLabels map[string]*string

	// Router Worker Offer Issued Worker Tags
	WorkerTags map[string]*string
}

ACSRouterWorkerOfferIssuedEventData - Schema of the Data property of an CloudEvent/EventGridEvent for a Microsoft.Communication.RouterWorkerOfferIssued event

func (ACSRouterWorkerOfferIssuedEventData) MarshalJSON

func (a ACSRouterWorkerOfferIssuedEventData) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type ACSRouterWorkerOfferIssuedEventData.

func (*ACSRouterWorkerOfferIssuedEventData) UnmarshalJSON

func (a *ACSRouterWorkerOfferIssuedEventData) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type ACSRouterWorkerOfferIssuedEventData.

type ACSRouterWorkerOfferRevokedEventData

type ACSRouterWorkerOfferRevokedEventData struct {
	// Router Event Channel ID
	ChannelID *string

	// Router Event Channel Reference
	ChannelReference *string

	// Router Event Job ID
	JobID *string

	// Router Worker Offer Revoked Offer Id
	OfferID *string

	// Router Worker Offer Revoked Queue Id
	QueueID *string

	// Router Worker events Worker Id
	WorkerID *string
}

ACSRouterWorkerOfferRevokedEventData - Schema of the Data property of an CloudEvent/EventGridEvent for a Microsoft.Communication.RouterWorkerOfferRevoked event

func (ACSRouterWorkerOfferRevokedEventData) MarshalJSON

func (a ACSRouterWorkerOfferRevokedEventData) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type ACSRouterWorkerOfferRevokedEventData.

func (*ACSRouterWorkerOfferRevokedEventData) UnmarshalJSON

func (a *ACSRouterWorkerOfferRevokedEventData) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type ACSRouterWorkerOfferRevokedEventData.

type ACSRouterWorkerRegisteredEventData

type ACSRouterWorkerRegisteredEventData struct {
	// Router Worker Registered Channel Configuration
	ChannelConfigurations []ACSRouterChannelConfiguration

	// Router Worker Registered Labels
	Labels map[string]*string

	// Router Worker Registered Queue Info
	QueueAssignments []ACSRouterQueueDetails

	// Router Worker Registered Tags
	Tags map[string]*string

	// Router Worker Register Total Capacity
	TotalCapacity *int32

	// Router Worker Registered Worker Id
	WorkerID *string
}

ACSRouterWorkerRegisteredEventData - Schema of the Data property of an CloudEvent/EventGridEvent for a Microsoft.Communication.RouterWorkerRegistered event

func (ACSRouterWorkerRegisteredEventData) MarshalJSON

func (a ACSRouterWorkerRegisteredEventData) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type ACSRouterWorkerRegisteredEventData.

func (*ACSRouterWorkerRegisteredEventData) UnmarshalJSON

func (a *ACSRouterWorkerRegisteredEventData) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type ACSRouterWorkerRegisteredEventData.

type ACSRouterWorkerSelector added in v0.3.0

type ACSRouterWorkerSelector struct {
	// Router Job Worker Selector Expiration Time
	ExpirationTime *time.Time

	// Router Job Worker Selector Key
	Key *string

	// Router Job Worker Selector Label Operator
	LabelOperator *ACSRouterLabelOperator

	// Router Job Worker Selector Value
	LabelValue any

	// Router Job Worker Selector State
	State *ACSRouterWorkerSelectorState

	// Router Job Worker Selector Time to Live in Seconds
	TimeToLive *float32
}

ACSRouterWorkerSelector - Router Job Worker Selector

func (ACSRouterWorkerSelector) MarshalJSON added in v0.3.0

func (a ACSRouterWorkerSelector) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type ACSRouterWorkerSelector.

func (*ACSRouterWorkerSelector) UnmarshalJSON added in v0.3.0

func (a *ACSRouterWorkerSelector) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type ACSRouterWorkerSelector.

type ACSRouterWorkerSelectorState added in v0.3.0

type ACSRouterWorkerSelectorState string

ACSRouterWorkerSelectorState - Router Job Worker Selector State

const (
	// ACSRouterWorkerSelectorStateActive - Router Job Worker Selector is Active
	ACSRouterWorkerSelectorStateActive ACSRouterWorkerSelectorState = "active"
	// ACSRouterWorkerSelectorStateExpired - Router Job Worker Selector has Expire
	ACSRouterWorkerSelectorStateExpired ACSRouterWorkerSelectorState = "expired"
)

func PossibleACSRouterWorkerSelectorStateValues added in v0.3.0

func PossibleACSRouterWorkerSelectorStateValues() []ACSRouterWorkerSelectorState

PossibleACSRouterWorkerSelectorStateValues returns the possible values for the ACSRouterWorkerSelectorState const type.

type ACSRouterWorkerUpdatedEventData added in v0.3.0

type ACSRouterWorkerUpdatedEventData struct {
	// Router Worker Updated Channel Configuration
	ChannelConfigurations []ACSRouterChannelConfiguration

	// Router Worker Updated Labels
	Labels map[string]*string

	// Router Worker Updated Queue Info
	QueueAssignments []ACSRouterQueueDetails

	// Router Worker Updated Tags
	Tags map[string]*string

	// Router Worker Updated Total Capacity
	TotalCapacity *int32

	// Router Worker Properties Updated
	UpdatedWorkerProperties []ACSRouterUpdatedWorkerProperty

	// Router Worker Updated Worker Id
	WorkerID *string
}

ACSRouterWorkerUpdatedEventData - Schema of the Data property of an CloudEvent/EventGridEvent for a Microsoft.Communication.RouterWorkerUpdated event

func (ACSRouterWorkerUpdatedEventData) MarshalJSON added in v0.3.0

func (a ACSRouterWorkerUpdatedEventData) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type ACSRouterWorkerUpdatedEventData.

func (*ACSRouterWorkerUpdatedEventData) UnmarshalJSON added in v0.3.0

func (a *ACSRouterWorkerUpdatedEventData) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type ACSRouterWorkerUpdatedEventData.

type ACSSmsDeliveryAttemptProperties

type ACSSmsDeliveryAttemptProperties struct {
	// Number of segments whose delivery failed
	SegmentsFailed *int32

	// Number of segments that were successfully delivered
	SegmentsSucceeded *int32

	// TimeStamp when delivery was attempted
	Timestamp *time.Time
}

ACSSmsDeliveryAttemptProperties - Schema for details of a delivery attempt

func (ACSSmsDeliveryAttemptProperties) MarshalJSON

func (a ACSSmsDeliveryAttemptProperties) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type ACSSmsDeliveryAttemptProperties.

func (*ACSSmsDeliveryAttemptProperties) UnmarshalJSON

func (a *ACSSmsDeliveryAttemptProperties) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type ACSSmsDeliveryAttemptProperties.

type ACSSmsDeliveryReportReceivedEventData

type ACSSmsDeliveryReportReceivedEventData struct {
	// List of details of delivery attempts made
	DeliveryAttempts []ACSSmsDeliveryAttemptProperties

	// Status of Delivery
	DeliveryStatus *string

	// Details about Delivery Status
	DeliveryStatusDetails *string

	// The identity of SMS message sender
	From *string

	// The identity of the SMS message
	MessageID *string

	// The time at which the SMS delivery report was received
	ReceivedTimestamp *time.Time

	// Customer Content
	Tag *string

	// The identity of SMS message receiver
	To *string
}

ACSSmsDeliveryReportReceivedEventData - Schema of the Data property of an CloudEvent/EventGridEvent for a Microsoft.Communication.SMSDeliveryReportReceived event.

func (ACSSmsDeliveryReportReceivedEventData) MarshalJSON

func (a ACSSmsDeliveryReportReceivedEventData) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type ACSSmsDeliveryReportReceivedEventData.

func (*ACSSmsDeliveryReportReceivedEventData) UnmarshalJSON

func (a *ACSSmsDeliveryReportReceivedEventData) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type ACSSmsDeliveryReportReceivedEventData.

type ACSSmsEventBaseProperties

type ACSSmsEventBaseProperties struct {
	// The identity of SMS message sender
	From *string

	// The identity of the SMS message
	MessageID *string

	// The identity of SMS message receiver
	To *string
}

ACSSmsEventBaseProperties - Schema of common properties of all SMS events

func (ACSSmsEventBaseProperties) MarshalJSON

func (a ACSSmsEventBaseProperties) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type ACSSmsEventBaseProperties.

func (*ACSSmsEventBaseProperties) UnmarshalJSON

func (a *ACSSmsEventBaseProperties) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type ACSSmsEventBaseProperties.

type ACSSmsReceivedEventData

type ACSSmsReceivedEventData struct {
	// The identity of SMS message sender
	From *string

	// The SMS content
	Message *string

	// The identity of the SMS message
	MessageID *string

	// The time at which the SMS was received
	ReceivedTimestamp *time.Time

	// The identity of SMS message receiver
	To *string
}

ACSSmsReceivedEventData - Schema of the Data property of an CloudEvent/EventGridEvent for a Microsoft.Communication.SMSReceived event.

func (ACSSmsReceivedEventData) MarshalJSON

func (a ACSSmsReceivedEventData) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type ACSSmsReceivedEventData.

func (*ACSSmsReceivedEventData) UnmarshalJSON

func (a *ACSSmsReceivedEventData) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type ACSSmsReceivedEventData.

type ACSUserDisconnectedEventData

type ACSUserDisconnectedEventData struct {
	// The communication identifier of the user who was disconnected
	UserCommunicationIdentifier *CommunicationIdentifierModel
}

ACSUserDisconnectedEventData - Schema of the Data property of an CloudEvent/EventGridEvent for an Microsoft.Communication.UserDisconnected event.

func (ACSUserDisconnectedEventData) MarshalJSON

func (a ACSUserDisconnectedEventData) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type ACSUserDisconnectedEventData.

func (*ACSUserDisconnectedEventData) UnmarshalJSON

func (a *ACSUserDisconnectedEventData) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type ACSUserDisconnectedEventData.

type ACSUserEngagement added in v0.3.0

type ACSUserEngagement string

ACSUserEngagement - The type of engagement user have with email

const (
	ACSUserEngagementClick ACSUserEngagement = "click"
	ACSUserEngagementView  ACSUserEngagement = "view"
)

func PossibleACSUserEngagementValues added in v0.3.0

func PossibleACSUserEngagementValues() []ACSUserEngagement

PossibleACSUserEngagementValues returns the possible values for the AcsUserEngagement const type.

type APICenterAPIDefinitionAddedEventData added in v0.2.0

type APICenterAPIDefinitionAddedEventData struct {
	// API definition description.
	Description *string

	// API specification details.
	Specification *APICenterAPISpecification

	// API definition title.
	Title *string
}

APICenterAPIDefinitionAddedEventData - Schema of the data property of an EventGridEvent for a Microsoft.ApiCenter.ApiDefinitionAdded event.

func (APICenterAPIDefinitionAddedEventData) MarshalJSON added in v0.2.0

func (a APICenterAPIDefinitionAddedEventData) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type APICenterAPIDefinitionAddedEventData.

func (*APICenterAPIDefinitionAddedEventData) UnmarshalJSON added in v0.2.0

func (a *APICenterAPIDefinitionAddedEventData) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type APICenterAPIDefinitionAddedEventData.

type APICenterAPIDefinitionUpdatedEventData added in v0.2.0

type APICenterAPIDefinitionUpdatedEventData struct {
	// API definition description.
	Description *string

	// API specification details.
	Specification *APICenterAPISpecification

	// API definition title.
	Title *string
}

APICenterAPIDefinitionUpdatedEventData - Schema of the data property of an EventGridEvent for a Microsoft.ApiCenter.ApiDefinitionUpdated event.

func (APICenterAPIDefinitionUpdatedEventData) MarshalJSON added in v0.2.0

func (a APICenterAPIDefinitionUpdatedEventData) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type APICenterAPIDefinitionUpdatedEventData.

func (*APICenterAPIDefinitionUpdatedEventData) UnmarshalJSON added in v0.2.0

func (a *APICenterAPIDefinitionUpdatedEventData) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type APICenterAPIDefinitionUpdatedEventData.

type APICenterAPISpecification added in v0.2.0

type APICenterAPISpecification struct {
	// Specification name.
	Name *string

	// Specification version.
	Version *string
}

APICenterAPISpecification - API specification details.

func (APICenterAPISpecification) MarshalJSON added in v0.2.0

func (a APICenterAPISpecification) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type APICenterAPISpecification.

func (*APICenterAPISpecification) UnmarshalJSON added in v0.2.0

func (a *APICenterAPISpecification) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type APICenterAPISpecification.

type APIManagementAPICreatedEventData

type APIManagementAPICreatedEventData struct {
	// The fully qualified ID of the resource that the compliance state change is for, including the resource name and resource
	// type. Uses the format,
	// /subscriptions/<SubscriptionID>/resourceGroups/<ResourceGroup>/Microsoft.ApiManagement/service/<ServiceName>/<ResourceType>/<ResourceName>
	ResourceURI *string
}

APIManagementAPICreatedEventData - Schema of the Data property of an CloudEvent/EventGridEvent for a Microsoft.ApiManagement.APICreated event.

func (APIManagementAPICreatedEventData) MarshalJSON

func (a APIManagementAPICreatedEventData) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type APIManagementAPICreatedEventData.

func (*APIManagementAPICreatedEventData) UnmarshalJSON

func (a *APIManagementAPICreatedEventData) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type APIManagementAPICreatedEventData.

type APIManagementAPIDeletedEventData

type APIManagementAPIDeletedEventData struct {
	// The fully qualified ID of the resource that the compliance state change is for, including the resource name and resource
	// type. Uses the format,
	// /subscriptions/<SubscriptionID>/resourceGroups/<ResourceGroup>/Microsoft.ApiManagement/service/<ServiceName>/<ResourceType>/<ResourceName>
	ResourceURI *string
}

APIManagementAPIDeletedEventData - Schema of the Data property of an CloudEvent/EventGridEvent for a Microsoft.ApiManagement.APIDeleted event.

func (APIManagementAPIDeletedEventData) MarshalJSON

func (a APIManagementAPIDeletedEventData) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type APIManagementAPIDeletedEventData.

func (*APIManagementAPIDeletedEventData) UnmarshalJSON

func (a *APIManagementAPIDeletedEventData) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type APIManagementAPIDeletedEventData.

type APIManagementAPIReleaseCreatedEventData

type APIManagementAPIReleaseCreatedEventData struct {
	// The fully qualified ID of the resource that the compliance state change is for, including the resource name and resource
	// type. Uses the format,
	// /subscriptions/<SubscriptionID>/resourceGroups/<ResourceGroup>/Microsoft.ApiManagement/service/<ServiceName>/<ResourceType>/<ResourceName>
	ResourceURI *string
}

APIManagementAPIReleaseCreatedEventData - Schema of the Data property of an CloudEvent/EventGridEvent for a Microsoft.ApiManagement.APIReleaseCreated event.

func (APIManagementAPIReleaseCreatedEventData) MarshalJSON

func (a APIManagementAPIReleaseCreatedEventData) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type APIManagementAPIReleaseCreatedEventData.

func (*APIManagementAPIReleaseCreatedEventData) UnmarshalJSON

func (a *APIManagementAPIReleaseCreatedEventData) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type APIManagementAPIReleaseCreatedEventData.

type APIManagementAPIReleaseDeletedEventData

type APIManagementAPIReleaseDeletedEventData struct {
	// The fully qualified ID of the resource that the compliance state change is for, including the resource name and resource
	// type. Uses the format,
	// /subscriptions/<SubscriptionID>/resourceGroups/<ResourceGroup>/Microsoft.ApiManagement/service/<ServiceName>/<ResourceType>/<ResourceName>
	ResourceURI *string
}

APIManagementAPIReleaseDeletedEventData - Schema of the Data property of an CloudEvent/EventGridEvent for a Microsoft.ApiManagement.APIReleaseDeleted event.

func (APIManagementAPIReleaseDeletedEventData) MarshalJSON

func (a APIManagementAPIReleaseDeletedEventData) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type APIManagementAPIReleaseDeletedEventData.

func (*APIManagementAPIReleaseDeletedEventData) UnmarshalJSON

func (a *APIManagementAPIReleaseDeletedEventData) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type APIManagementAPIReleaseDeletedEventData.

type APIManagementAPIReleaseUpdatedEventData

type APIManagementAPIReleaseUpdatedEventData struct {
	// The fully qualified ID of the resource that the compliance state change is for, including the resource name and resource
	// type. Uses the format,
	// /subscriptions/<SubscriptionID>/resourceGroups/<ResourceGroup>/Microsoft.ApiManagement/service/<ServiceName>/<ResourceType>/<ResourceName>
	ResourceURI *string
}

APIManagementAPIReleaseUpdatedEventData - Schema of the Data property of an CloudEvent/EventGridEvent for a Microsoft.ApiManagement.APIReleaseUpdated event.

func (APIManagementAPIReleaseUpdatedEventData) MarshalJSON

func (a APIManagementAPIReleaseUpdatedEventData) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type APIManagementAPIReleaseUpdatedEventData.

func (*APIManagementAPIReleaseUpdatedEventData) UnmarshalJSON

func (a *APIManagementAPIReleaseUpdatedEventData) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type APIManagementAPIReleaseUpdatedEventData.

type APIManagementAPIUpdatedEventData

type APIManagementAPIUpdatedEventData struct {
	// The fully qualified ID of the resource that the compliance state change is for, including the resource name and resource
	// type. Uses the format,
	// /subscriptions/<SubscriptionID>/resourceGroups/<ResourceGroup>/Microsoft.ApiManagement/service/<ServiceName>/<ResourceType>/<ResourceName>
	ResourceURI *string
}

APIManagementAPIUpdatedEventData - Schema of the Data property of an CloudEvent/EventGridEvent for a Microsoft.ApiManagement.APIUpdated event.

func (APIManagementAPIUpdatedEventData) MarshalJSON

func (a APIManagementAPIUpdatedEventData) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type APIManagementAPIUpdatedEventData.

func (*APIManagementAPIUpdatedEventData) UnmarshalJSON

func (a *APIManagementAPIUpdatedEventData) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type APIManagementAPIUpdatedEventData.

type APIManagementGatewayAPIAddedEventData

type APIManagementGatewayAPIAddedEventData struct {
	// The fully qualified ID of the resource that the compliance state change is for, including the resource name and resource
	// type. Uses the format,
	// /subscriptions/<SubscriptionID>/resourceGroups/<ResourceGroup>/Microsoft.ApiManagement/service/<ServiceName>/gateways/<GatewayName>/apis/<ResourceName>
	ResourceURI *string
}

APIManagementGatewayAPIAddedEventData - Schema of the Data property of an CloudEvent/EventGridEvent for a Microsoft.ApiManagement.GatewayAPIAdded event.

func (APIManagementGatewayAPIAddedEventData) MarshalJSON

func (a APIManagementGatewayAPIAddedEventData) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type APIManagementGatewayAPIAddedEventData.

func (*APIManagementGatewayAPIAddedEventData) UnmarshalJSON

func (a *APIManagementGatewayAPIAddedEventData) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type APIManagementGatewayAPIAddedEventData.

type APIManagementGatewayAPIRemovedEventData

type APIManagementGatewayAPIRemovedEventData struct {
	// The fully qualified ID of the resource that the compliance state change is for, including the resource name and resource
	// type. Uses the format,
	// /subscriptions/<SubscriptionID>/resourceGroups/<ResourceGroup>/Microsoft.ApiManagement/service/<ServiceName>/gateways/<GatewayName>/apis/<ResourceName>
	ResourceURI *string
}

APIManagementGatewayAPIRemovedEventData - Schema of the Data property of an CloudEvent/EventGridEvent for a Microsoft.ApiManagement.GatewayAPIRemoved event.

func (APIManagementGatewayAPIRemovedEventData) MarshalJSON

func (a APIManagementGatewayAPIRemovedEventData) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type APIManagementGatewayAPIRemovedEventData.

func (*APIManagementGatewayAPIRemovedEventData) UnmarshalJSON

func (a *APIManagementGatewayAPIRemovedEventData) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type APIManagementGatewayAPIRemovedEventData.

type APIManagementGatewayCertificateAuthorityCreatedEventData

type APIManagementGatewayCertificateAuthorityCreatedEventData struct {
	// The fully qualified ID of the resource that the compliance state change is for, including the resource name and resource
	// type. Uses the format,
	// /subscriptions/<SubscriptionID>/resourceGroups/<ResourceGroup>/Microsoft.ApiManagement/service/<ServiceName>/gateways/<GatewayName>/certificateAuthorities/<ResourceName>
	ResourceURI *string
}

APIManagementGatewayCertificateAuthorityCreatedEventData - Schema of the Data property of an CloudEvent/EventGridEvent for a Microsoft.ApiManagement.GatewayCertificateAuthorityCreated event.

func (APIManagementGatewayCertificateAuthorityCreatedEventData) MarshalJSON

MarshalJSON implements the json.Marshaller interface for type APIManagementGatewayCertificateAuthorityCreatedEventData.

func (*APIManagementGatewayCertificateAuthorityCreatedEventData) UnmarshalJSON

UnmarshalJSON implements the json.Unmarshaller interface for type APIManagementGatewayCertificateAuthorityCreatedEventData.

type APIManagementGatewayCertificateAuthorityDeletedEventData

type APIManagementGatewayCertificateAuthorityDeletedEventData struct {
	// The fully qualified ID of the resource that the compliance state change is for, including the resource name and resource
	// type. Uses the format,
	// /subscriptions/<SubscriptionID>/resourceGroups/<ResourceGroup>/Microsoft.ApiManagement/service/<ServiceName>/gateways/<GatewayName>/certificateAuthorities/<ResourceName>
	ResourceURI *string
}

APIManagementGatewayCertificateAuthorityDeletedEventData - Schema of the Data property of an CloudEvent/EventGridEvent for a Microsoft.ApiManagement.GatewayCertificateAuthorityDeleted event.

func (APIManagementGatewayCertificateAuthorityDeletedEventData) MarshalJSON

MarshalJSON implements the json.Marshaller interface for type APIManagementGatewayCertificateAuthorityDeletedEventData.

func (*APIManagementGatewayCertificateAuthorityDeletedEventData) UnmarshalJSON

UnmarshalJSON implements the json.Unmarshaller interface for type APIManagementGatewayCertificateAuthorityDeletedEventData.

type APIManagementGatewayCertificateAuthorityUpdatedEventData

type APIManagementGatewayCertificateAuthorityUpdatedEventData struct {
	// The fully qualified ID of the resource that the compliance state change is for, including the resource name and resource
	// type. Uses the format,
	// /subscriptions/<SubscriptionID>/resourceGroups/<ResourceGroup>/Microsoft.ApiManagement/service/<ServiceName>/gateways/<GatewayName>/certificateAuthorities/<ResourceName>
	ResourceURI *string
}

APIManagementGatewayCertificateAuthorityUpdatedEventData - Schema of the Data property of an CloudEvent/EventGridEvent for a Microsoft.ApiManagement.GatewayCertificateAuthorityUpdated event.

func (APIManagementGatewayCertificateAuthorityUpdatedEventData) MarshalJSON

MarshalJSON implements the json.Marshaller interface for type APIManagementGatewayCertificateAuthorityUpdatedEventData.

func (*APIManagementGatewayCertificateAuthorityUpdatedEventData) UnmarshalJSON

UnmarshalJSON implements the json.Unmarshaller interface for type APIManagementGatewayCertificateAuthorityUpdatedEventData.

type APIManagementGatewayCreatedEventData

type APIManagementGatewayCreatedEventData struct {
	// The fully qualified ID of the resource that the compliance state change is for, including the resource name and resource
	// type. Uses the format,
	// /subscriptions/<SubscriptionID>/resourceGroups/<ResourceGroup>/Microsoft.ApiManagement/service/<ServiceName>/gateways/<ResourceName>
	ResourceURI *string
}

APIManagementGatewayCreatedEventData - Schema of the Data property of an CloudEvent/EventGridEvent for a Microsoft.ApiManagement.GatewayCreated event.

func (APIManagementGatewayCreatedEventData) MarshalJSON

func (a APIManagementGatewayCreatedEventData) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type APIManagementGatewayCreatedEventData.

func (*APIManagementGatewayCreatedEventData) UnmarshalJSON

func (a *APIManagementGatewayCreatedEventData) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type APIManagementGatewayCreatedEventData.

type APIManagementGatewayDeletedEventData

type APIManagementGatewayDeletedEventData struct {
	// The fully qualified ID of the resource that the compliance state change is for, including the resource name and resource
	// type. Uses the format,
	// /subscriptions/<SubscriptionID>/resourceGroups/<ResourceGroup>/Microsoft.ApiManagement/service/<ServiceName>/gateways/<ResourceName>
	ResourceURI *string
}

APIManagementGatewayDeletedEventData - Schema of the Data property of an CloudEvent/EventGridEvent for a Microsoft.ApiManagement.GatewayDeleted event.

func (APIManagementGatewayDeletedEventData) MarshalJSON

func (a APIManagementGatewayDeletedEventData) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type APIManagementGatewayDeletedEventData.

func (*APIManagementGatewayDeletedEventData) UnmarshalJSON

func (a *APIManagementGatewayDeletedEventData) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type APIManagementGatewayDeletedEventData.

type APIManagementGatewayHostnameConfigurationCreatedEventData

type APIManagementGatewayHostnameConfigurationCreatedEventData struct {
	// The fully qualified ID of the resource that the compliance state change is for, including the resource name and resource
	// type. Uses the format,
	// /subscriptions/<SubscriptionID>/resourceGroups/<ResourceGroup>/Microsoft.ApiManagement/service/<ServiceName>/gateways/<GatewayName>/hostnameConfigurations/<ResourceName>
	ResourceURI *string
}

APIManagementGatewayHostnameConfigurationCreatedEventData - Schema of the Data property of an CloudEvent/EventGridEvent for a Microsoft.ApiManagement.GatewayHostnameConfigurationCreated event.

func (APIManagementGatewayHostnameConfigurationCreatedEventData) MarshalJSON

MarshalJSON implements the json.Marshaller interface for type APIManagementGatewayHostnameConfigurationCreatedEventData.

func (*APIManagementGatewayHostnameConfigurationCreatedEventData) UnmarshalJSON

UnmarshalJSON implements the json.Unmarshaller interface for type APIManagementGatewayHostnameConfigurationCreatedEventData.

type APIManagementGatewayHostnameConfigurationDeletedEventData

type APIManagementGatewayHostnameConfigurationDeletedEventData struct {
	// The fully qualified ID of the resource that the compliance state change is for, including the resource name and resource
	// type. Uses the format,
	// /subscriptions/<SubscriptionID>/resourceGroups/<ResourceGroup>/Microsoft.ApiManagement/service/<ServiceName>/gateways/<GatewayName>/hostnameConfigurations/<ResourceName>
	ResourceURI *string
}

APIManagementGatewayHostnameConfigurationDeletedEventData - Schema of the Data property of an CloudEvent/EventGridEvent for a Microsoft.ApiManagement.GatewayHostnameConfigurationDeleted event.

func (APIManagementGatewayHostnameConfigurationDeletedEventData) MarshalJSON

MarshalJSON implements the json.Marshaller interface for type APIManagementGatewayHostnameConfigurationDeletedEventData.

func (*APIManagementGatewayHostnameConfigurationDeletedEventData) UnmarshalJSON

UnmarshalJSON implements the json.Unmarshaller interface for type APIManagementGatewayHostnameConfigurationDeletedEventData.

type APIManagementGatewayHostnameConfigurationUpdatedEventData

type APIManagementGatewayHostnameConfigurationUpdatedEventData struct {
	// The fully qualified ID of the resource that the compliance state change is for, including the resource name and resource
	// type. Uses the format,
	// /subscriptions/<SubscriptionID>/resourceGroups/<ResourceGroup>/Microsoft.ApiManagement/service/<ServiceName>/gateways/<GatewayName>/hostnameConfigurations/<ResourceName>
	ResourceURI *string
}

APIManagementGatewayHostnameConfigurationUpdatedEventData - Schema of the Data property of an CloudEvent/EventGridEvent for a Microsoft.ApiManagement.GatewayHostnameConfigurationUpdated event.

func (APIManagementGatewayHostnameConfigurationUpdatedEventData) MarshalJSON

MarshalJSON implements the json.Marshaller interface for type APIManagementGatewayHostnameConfigurationUpdatedEventData.

func (*APIManagementGatewayHostnameConfigurationUpdatedEventData) UnmarshalJSON

UnmarshalJSON implements the json.Unmarshaller interface for type APIManagementGatewayHostnameConfigurationUpdatedEventData.

type APIManagementGatewayUpdatedEventData

type APIManagementGatewayUpdatedEventData struct {
	// The fully qualified ID of the resource that the compliance state change is for, including the resource name and resource
	// type. Uses the format,
	// /subscriptions/<SubscriptionID>/resourceGroups/<ResourceGroup>/Microsoft.ApiManagement/service/<ServiceName>/gateways/<ResourceName>
	ResourceURI *string
}

APIManagementGatewayUpdatedEventData - Schema of the Data property of an CloudEvent/EventGridEvent for a Microsoft.ApiManagement.GatewayUpdated event.

func (APIManagementGatewayUpdatedEventData) MarshalJSON

func (a APIManagementGatewayUpdatedEventData) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type APIManagementGatewayUpdatedEventData.

func (*APIManagementGatewayUpdatedEventData) UnmarshalJSON

func (a *APIManagementGatewayUpdatedEventData) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type APIManagementGatewayUpdatedEventData.

type APIManagementProductCreatedEventData

type APIManagementProductCreatedEventData struct {
	// The fully qualified ID of the resource that the compliance state change is for, including the resource name and resource
	// type. Uses the format,
	// /subscriptions/<SubscriptionID>/resourceGroups/<ResourceGroup>/Microsoft.ApiManagement/service/<ServiceName>/<ResourceType>/<ResourceName>
	ResourceURI *string
}

APIManagementProductCreatedEventData - Schema of the Data property of an CloudEvent/EventGridEvent for a Microsoft.ApiManagement.ProductCreated event.

func (APIManagementProductCreatedEventData) MarshalJSON

func (a APIManagementProductCreatedEventData) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type APIManagementProductCreatedEventData.

func (*APIManagementProductCreatedEventData) UnmarshalJSON

func (a *APIManagementProductCreatedEventData) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type APIManagementProductCreatedEventData.

type APIManagementProductDeletedEventData

type APIManagementProductDeletedEventData struct {
	// The fully qualified ID of the resource that the compliance state change is for, including the resource name and resource
	// type. Uses the format,
	// /subscriptions/<SubscriptionID>/resourceGroups/<ResourceGroup>/Microsoft.ApiManagement/service/<ServiceName>/<ResourceType>/<ResourceName>
	ResourceURI *string
}

APIManagementProductDeletedEventData - Schema of the Data property of an CloudEvent/EventGridEvent for a Microsoft.ApiManagement.ProductDeleted event.

func (APIManagementProductDeletedEventData) MarshalJSON

func (a APIManagementProductDeletedEventData) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type APIManagementProductDeletedEventData.

func (*APIManagementProductDeletedEventData) UnmarshalJSON

func (a *APIManagementProductDeletedEventData) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type APIManagementProductDeletedEventData.

type APIManagementProductUpdatedEventData

type APIManagementProductUpdatedEventData struct {
	// The fully qualified ID of the resource that the compliance state change is for, including the resource name and resource
	// type. Uses the format,
	// /subscriptions/<SubscriptionID>/resourceGroups/<ResourceGroup>/Microsoft.ApiManagement/service/<ServiceName>/<ResourceType>/<ResourceName>
	ResourceURI *string
}

APIManagementProductUpdatedEventData - Schema of the Data property of an CloudEvent/EventGridEvent for a Microsoft.ApiManagement.ProductUpdated event.

func (APIManagementProductUpdatedEventData) MarshalJSON

func (a APIManagementProductUpdatedEventData) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type APIManagementProductUpdatedEventData.

func (*APIManagementProductUpdatedEventData) UnmarshalJSON

func (a *APIManagementProductUpdatedEventData) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type APIManagementProductUpdatedEventData.

type APIManagementSubscriptionCreatedEventData

type APIManagementSubscriptionCreatedEventData struct {
	// The fully qualified ID of the resource that the compliance state change is for, including the resource name and resource
	// type. Uses the format,
	// /subscriptions/<SubscriptionID>/resourceGroups/<ResourceGroup>/Microsoft.ApiManagement/service/<ServiceName>/<ResourceType>/<ResourceName>
	ResourceURI *string
}

APIManagementSubscriptionCreatedEventData - Schema of the Data property of an CloudEvent/EventGridEvent for a Microsoft.ApiManagement.SubscriptionCreated event.

func (APIManagementSubscriptionCreatedEventData) MarshalJSON

MarshalJSON implements the json.Marshaller interface for type APIManagementSubscriptionCreatedEventData.

func (*APIManagementSubscriptionCreatedEventData) UnmarshalJSON

func (a *APIManagementSubscriptionCreatedEventData) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type APIManagementSubscriptionCreatedEventData.

type APIManagementSubscriptionDeletedEventData

type APIManagementSubscriptionDeletedEventData struct {
	// The fully qualified ID of the resource that the compliance state change is for, including the resource name and resource
	// type. Uses the format,
	// /subscriptions/<SubscriptionID>/resourceGroups/<ResourceGroup>/Microsoft.ApiManagement/service/<ServiceName>/<ResourceType>/<ResourceName>
	ResourceURI *string
}

APIManagementSubscriptionDeletedEventData - Schema of the Data property of an CloudEvent/EventGridEvent for a Microsoft.ApiManagement.SubscriptionDeleted event.

func (APIManagementSubscriptionDeletedEventData) MarshalJSON

MarshalJSON implements the json.Marshaller interface for type APIManagementSubscriptionDeletedEventData.

func (*APIManagementSubscriptionDeletedEventData) UnmarshalJSON

func (a *APIManagementSubscriptionDeletedEventData) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type APIManagementSubscriptionDeletedEventData.

type APIManagementSubscriptionUpdatedEventData

type APIManagementSubscriptionUpdatedEventData struct {
	// The fully qualified ID of the resource that the compliance state change is for, including the resource name and resource
	// type. Uses the format,
	// /subscriptions/<SubscriptionID>/resourceGroups/<ResourceGroup>/Microsoft.ApiManagement/service/<ServiceName>/<ResourceType>/<ResourceName>
	ResourceURI *string
}

APIManagementSubscriptionUpdatedEventData - Schema of the Data property of an CloudEvent/EventGridEvent for a Microsoft.ApiManagement.SubscriptionUpdated event.

func (APIManagementSubscriptionUpdatedEventData) MarshalJSON

MarshalJSON implements the json.Marshaller interface for type APIManagementSubscriptionUpdatedEventData.

func (*APIManagementSubscriptionUpdatedEventData) UnmarshalJSON

func (a *APIManagementSubscriptionUpdatedEventData) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type APIManagementSubscriptionUpdatedEventData.

type APIManagementUserCreatedEventData

type APIManagementUserCreatedEventData struct {
	// The fully qualified ID of the resource that the compliance state change is for, including the resource name and resource
	// type. Uses the format,
	// /subscriptions/<SubscriptionID>/resourceGroups/<ResourceGroup>/Microsoft.ApiManagement/service/<ServiceName>/<ResourceType>/<ResourceName>
	ResourceURI *string
}

APIManagementUserCreatedEventData - Schema of the Data property of an CloudEvent/EventGridEvent for a Microsoft.ApiManagement.UserCreated event.

func (APIManagementUserCreatedEventData) MarshalJSON

func (a APIManagementUserCreatedEventData) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type APIManagementUserCreatedEventData.

func (*APIManagementUserCreatedEventData) UnmarshalJSON

func (a *APIManagementUserCreatedEventData) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type APIManagementUserCreatedEventData.

type APIManagementUserDeletedEventData

type APIManagementUserDeletedEventData struct {
	// The fully qualified ID of the resource that the compliance state change is for, including the resource name and resource
	// type. Uses the format,
	// /subscriptions/<SubscriptionID>/resourceGroups/<ResourceGroup>/Microsoft.ApiManagement/service/<ServiceName>/<ResourceType>/<ResourceName>
	ResourceURI *string
}

APIManagementUserDeletedEventData - Schema of the Data property of an CloudEvent/EventGridEvent for a Microsoft.ApiManagement.UserDeleted event.

func (APIManagementUserDeletedEventData) MarshalJSON

func (a APIManagementUserDeletedEventData) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type APIManagementUserDeletedEventData.

func (*APIManagementUserDeletedEventData) UnmarshalJSON

func (a *APIManagementUserDeletedEventData) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type APIManagementUserDeletedEventData.

type APIManagementUserUpdatedEventData

type APIManagementUserUpdatedEventData struct {
	// The fully qualified ID of the resource that the compliance state change is for, including the resource name and resource
	// type. Uses the format,
	// /subscriptions/<SubscriptionID>/resourceGroups/<ResourceGroup>/Microsoft.ApiManagement/service/<ServiceName>/<ResourceType>/<ResourceName>
	ResourceURI *string
}

APIManagementUserUpdatedEventData - Schema of the Data property of an CloudEvent/EventGridEvent for a Microsoft.ApiManagement.UserUpdated event.

func (APIManagementUserUpdatedEventData) MarshalJSON

func (a APIManagementUserUpdatedEventData) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type APIManagementUserUpdatedEventData.

func (*APIManagementUserUpdatedEventData) UnmarshalJSON

func (a *APIManagementUserUpdatedEventData) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type APIManagementUserUpdatedEventData.

type AVSClusterCreatedEventData

type AVSClusterCreatedEventData struct {
	// Hosts added to the cluster in this event, if any.
	AddedHostNames []string

	// Hosts in Maintenance mode in the cluster, if any.
	InMaintenanceHostNames []string

	// Id of the operation that caused this event.
	OperationID *string

	// Hosts removed to the cluster in this event, if any.
	RemovedHostNames []string
}

AVSClusterCreatedEventData - Schema of the Data property of an CloudEvent/EventGridEvent for a Microsoft.AVS.ClusterCreated event.

func (AVSClusterCreatedEventData) MarshalJSON

func (a AVSClusterCreatedEventData) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type AVSClusterCreatedEventData.

func (*AVSClusterCreatedEventData) UnmarshalJSON

func (a *AVSClusterCreatedEventData) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type AVSClusterCreatedEventData.

type AVSClusterDeletedEventData

type AVSClusterDeletedEventData struct {
	// Hosts added to the cluster in this event, if any.
	AddedHostNames []string

	// Hosts in Maintenance mode in the cluster, if any.
	InMaintenanceHostNames []string

	// Id of the operation that caused this event.
	OperationID *string

	// Hosts removed to the cluster in this event, if any.
	RemovedHostNames []string
}

AVSClusterDeletedEventData - Schema of the Data property of an CloudEvent/EventGridEvent for a Microsoft.AVS.ClusterDeleted event.

func (AVSClusterDeletedEventData) MarshalJSON

func (a AVSClusterDeletedEventData) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type AVSClusterDeletedEventData.

func (*AVSClusterDeletedEventData) UnmarshalJSON

func (a *AVSClusterDeletedEventData) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type AVSClusterDeletedEventData.

type AVSClusterFailedEventData

type AVSClusterFailedEventData struct {
	// Hosts added to the cluster in this event, if any.
	AddedHostNames []string

	// Failure reason of an event.
	FailureMessage *string

	// Hosts in Maintenance mode in the cluster, if any.
	InMaintenanceHostNames []string

	// Id of the operation that caused this event.
	OperationID *string

	// Hosts removed to the cluster in this event, if any.
	RemovedHostNames []string
}

AVSClusterFailedEventData - Schema of the Data property of an CloudEvent/EventGridEvent for a Microsoft.AVS.ClusterFailed event.

func (AVSClusterFailedEventData) MarshalJSON

func (a AVSClusterFailedEventData) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type AVSClusterFailedEventData.

func (*AVSClusterFailedEventData) UnmarshalJSON

func (a *AVSClusterFailedEventData) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type AVSClusterFailedEventData.

type AVSClusterUpdatedEventData

type AVSClusterUpdatedEventData struct {
	// Hosts added to the cluster in this event, if any.
	AddedHostNames []string

	// Hosts in Maintenance mode in the cluster, if any.
	InMaintenanceHostNames []string

	// Id of the operation that caused this event.
	OperationID *string

	// Hosts removed to the cluster in this event, if any.
	RemovedHostNames []string
}

AVSClusterUpdatedEventData - Schema of the Data property of an CloudEvent/EventGridEvent for a Microsoft.AVS.ClusterUpdated event.

func (AVSClusterUpdatedEventData) MarshalJSON

func (a AVSClusterUpdatedEventData) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type AVSClusterUpdatedEventData.

func (*AVSClusterUpdatedEventData) UnmarshalJSON

func (a *AVSClusterUpdatedEventData) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type AVSClusterUpdatedEventData.

type AVSClusterUpdatingEventData

type AVSClusterUpdatingEventData struct {
	// Hosts added to the cluster in this event, if any.
	AddedHostNames []string

	// Hosts in Maintenance mode in the cluster, if any.
	InMaintenanceHostNames []string

	// Id of the operation that caused this event.
	OperationID *string

	// Hosts removed to the cluster in this event, if any.
	RemovedHostNames []string
}

AVSClusterUpdatingEventData - Schema of the Data property of an CloudEvent/EventGridEvent for a Microsoft.AVS.ClusterUpdating event.

func (AVSClusterUpdatingEventData) MarshalJSON

func (a AVSClusterUpdatingEventData) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type AVSClusterUpdatingEventData.

func (*AVSClusterUpdatingEventData) UnmarshalJSON

func (a *AVSClusterUpdatingEventData) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type AVSClusterUpdatingEventData.

type AVSPrivateCloudFailedEventData

type AVSPrivateCloudFailedEventData struct {
	// Failure reason of an event.
	FailureMessage *string

	// Id of the operation that caused this event.
	OperationID *string
}

AVSPrivateCloudFailedEventData - Schema of the Data property of an CloudEvent/EventGridEvent for a Microsoft.AVS.PrivateCloudFailed event.

func (AVSPrivateCloudFailedEventData) MarshalJSON

func (a AVSPrivateCloudFailedEventData) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type AVSPrivateCloudFailedEventData.

func (*AVSPrivateCloudFailedEventData) UnmarshalJSON

func (a *AVSPrivateCloudFailedEventData) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type AVSPrivateCloudFailedEventData.

type AVSPrivateCloudUpdatedEventData

type AVSPrivateCloudUpdatedEventData struct {
	// Id of the operation that caused this event.
	OperationID *string
}

AVSPrivateCloudUpdatedEventData - Schema of the Data property of an CloudEvent/EventGridEvent for a Microsoft.AVS.PrivateCloudUpdated event.

func (AVSPrivateCloudUpdatedEventData) MarshalJSON

func (a AVSPrivateCloudUpdatedEventData) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type AVSPrivateCloudUpdatedEventData.

func (*AVSPrivateCloudUpdatedEventData) UnmarshalJSON

func (a *AVSPrivateCloudUpdatedEventData) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type AVSPrivateCloudUpdatedEventData.

type AVSPrivateCloudUpdatingEventData

type AVSPrivateCloudUpdatingEventData struct {
	// Id of the operation that caused this event.
	OperationID *string
}

AVSPrivateCloudUpdatingEventData - Schema of the Data property of an CloudEvent/EventGridEvent for a Microsoft.AVS.PrivateCloudUpdating event.

func (AVSPrivateCloudUpdatingEventData) MarshalJSON

func (a AVSPrivateCloudUpdatingEventData) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type AVSPrivateCloudUpdatingEventData.

func (*AVSPrivateCloudUpdatingEventData) UnmarshalJSON

func (a *AVSPrivateCloudUpdatingEventData) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type AVSPrivateCloudUpdatingEventData.

type AVSScriptExecutionCancelledEventData

type AVSScriptExecutionCancelledEventData struct {
	// Cmdlet referenced in the execution that caused this event.
	CmdletID *string

	// Id of the operation that caused this event.
	OperationID *string

	// Stdout outputs from the execution, if any.
	Output []string
}

AVSScriptExecutionCancelledEventData - Schema of the Data property of an CloudEvent/EventGridEvent for a Microsoft.AVS.ScriptExecutionCancelled event.

func (AVSScriptExecutionCancelledEventData) MarshalJSON

func (a AVSScriptExecutionCancelledEventData) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type AVSScriptExecutionCancelledEventData.

func (*AVSScriptExecutionCancelledEventData) UnmarshalJSON

func (a *AVSScriptExecutionCancelledEventData) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type AVSScriptExecutionCancelledEventData.

type AVSScriptExecutionFailedEventData

type AVSScriptExecutionFailedEventData struct {
	// Cmdlet referenced in the execution that caused this event.
	CmdletID *string

	// Failure reason of an event.
	FailureMessage *string

	// Id of the operation that caused this event.
	OperationID *string

	// Stdout outputs from the execution, if any.
	Output []string
}

AVSScriptExecutionFailedEventData - Schema of the Data property of an CloudEvent/EventGridEvent for a Microsoft.AVS.ScriptExecutionFailed event.

func (AVSScriptExecutionFailedEventData) MarshalJSON

func (a AVSScriptExecutionFailedEventData) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type AVSScriptExecutionFailedEventData.

func (*AVSScriptExecutionFailedEventData) UnmarshalJSON

func (a *AVSScriptExecutionFailedEventData) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type AVSScriptExecutionFailedEventData.

type AVSScriptExecutionFinishedEventData

type AVSScriptExecutionFinishedEventData struct {
	// Cmdlet referenced in the execution that caused this event.
	CmdletID *string

	// Named outputs of completed execution, if any.
	NamedOutputs map[string]*string

	// Id of the operation that caused this event.
	OperationID *string

	// Stdout outputs from the execution, if any.
	Output []string
}

AVSScriptExecutionFinishedEventData - Schema of the Data property of an CloudEvent/EventGridEvent for a Microsoft.AVS.ScriptExecutionFinished event.

func (AVSScriptExecutionFinishedEventData) MarshalJSON

func (a AVSScriptExecutionFinishedEventData) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type AVSScriptExecutionFinishedEventData.

func (*AVSScriptExecutionFinishedEventData) UnmarshalJSON

func (a *AVSScriptExecutionFinishedEventData) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type AVSScriptExecutionFinishedEventData.

type AVSScriptExecutionStartedEventData

type AVSScriptExecutionStartedEventData struct {
	// Cmdlet referenced in the execution that caused this event.
	CmdletID *string

	// Id of the operation that caused this event.
	OperationID *string

	// Stdout outputs from the execution, if any.
	Output []string
}

AVSScriptExecutionStartedEventData - Schema of the Data property of an CloudEvent/EventGridEvent for a Microsoft.AVS.ScriptExecutionStarted event.

func (AVSScriptExecutionStartedEventData) MarshalJSON

func (a AVSScriptExecutionStartedEventData) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type AVSScriptExecutionStartedEventData.

func (*AVSScriptExecutionStartedEventData) UnmarshalJSON

func (a *AVSScriptExecutionStartedEventData) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type AVSScriptExecutionStartedEventData.

type AppAction

type AppAction string

AppAction - Type of action of the operation.

const (
	// AppActionChangedAppSettings - There was an operation to change app setting on the web app.
	AppActionChangedAppSettings AppAction = "ChangedAppSettings"
	// AppActionCompleted - The job has completed.
	AppActionCompleted AppAction = "Completed"
	// AppActionFailed - The job has failed to complete.
	AppActionFailed AppAction = "Failed"
	// AppActionRestarted - Web app was restarted.
	AppActionRestarted AppAction = "Restarted"
	// AppActionStarted - The job has started.
	AppActionStarted AppAction = "Started"
	// AppActionStopped - Web app was stopped.
	AppActionStopped AppAction = "Stopped"
)

func PossibleAppActionValues

func PossibleAppActionValues() []AppAction

PossibleAppActionValues returns the possible values for the AppAction const type.

type AppConfigurationKeyValueDeletedEventData

type AppConfigurationKeyValueDeletedEventData struct {
	// The etag representing the key-value that was deleted.
	Etag *string

	// The key used to identify the key-value that was deleted.
	Key *string

	// The label, if any, used to identify the key-value that was deleted.
	Label *string

	// The sync token representing the server state after the event.
	SyncToken *string
}

AppConfigurationKeyValueDeletedEventData - Schema of the Data property of an CloudEvent/EventGridEvent for a Microsoft.AppConfiguration.KeyValueDeleted event.

func (AppConfigurationKeyValueDeletedEventData) MarshalJSON

MarshalJSON implements the json.Marshaller interface for type AppConfigurationKeyValueDeletedEventData.

func (*AppConfigurationKeyValueDeletedEventData) UnmarshalJSON

func (a *AppConfigurationKeyValueDeletedEventData) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type AppConfigurationKeyValueDeletedEventData.

type AppConfigurationKeyValueModifiedEventData

type AppConfigurationKeyValueModifiedEventData struct {
	// The etag representing the new state of the key-value.
	Etag *string

	// The key used to identify the key-value that was modified.
	Key *string

	// The label, if any, used to identify the key-value that was modified.
	Label *string

	// The sync token representing the server state after the event.
	SyncToken *string
}

AppConfigurationKeyValueModifiedEventData - Schema of the Data property of an CloudEvent/EventGridEvent for a Microsoft.AppConfiguration.KeyValueModified event.

func (AppConfigurationKeyValueModifiedEventData) MarshalJSON

MarshalJSON implements the json.Marshaller interface for type AppConfigurationKeyValueModifiedEventData.

func (*AppConfigurationKeyValueModifiedEventData) UnmarshalJSON

func (a *AppConfigurationKeyValueModifiedEventData) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type AppConfigurationKeyValueModifiedEventData.

type AppConfigurationSnapshotCreatedEventData

type AppConfigurationSnapshotCreatedEventData struct {
	// The etag representing the new state of the snapshot.
	Etag *string

	// The name of the snapshot.
	Name *string

	// The sync token representing the server state after the event.
	SyncToken *string
}

AppConfigurationSnapshotCreatedEventData - Schema of the Data property of an CloudEvent/EventGridEvent for a Microsoft.AppConfiguration.SnapshotCreated event.

func (AppConfigurationSnapshotCreatedEventData) MarshalJSON

MarshalJSON implements the json.Marshaller interface for type AppConfigurationSnapshotCreatedEventData.

func (*AppConfigurationSnapshotCreatedEventData) UnmarshalJSON

func (a *AppConfigurationSnapshotCreatedEventData) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type AppConfigurationSnapshotCreatedEventData.

type AppConfigurationSnapshotEventData

type AppConfigurationSnapshotEventData struct {
	// The etag representing the new state of the snapshot.
	Etag *string

	// The name of the snapshot.
	Name *string

	// The sync token representing the server state after the event.
	SyncToken *string
}

AppConfigurationSnapshotEventData - Schema of common properties of snapshot events

func (AppConfigurationSnapshotEventData) MarshalJSON

func (a AppConfigurationSnapshotEventData) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type AppConfigurationSnapshotEventData.

func (*AppConfigurationSnapshotEventData) UnmarshalJSON

func (a *AppConfigurationSnapshotEventData) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type AppConfigurationSnapshotEventData.

type AppConfigurationSnapshotModifiedEventData

type AppConfigurationSnapshotModifiedEventData struct {
	// The etag representing the new state of the snapshot.
	Etag *string

	// The name of the snapshot.
	Name *string

	// The sync token representing the server state after the event.
	SyncToken *string
}

AppConfigurationSnapshotModifiedEventData - Schema of the Data property of an CloudEvent/EventGridEvent for a Microsoft.AppConfiguration.SnapshotModified event.

func (AppConfigurationSnapshotModifiedEventData) MarshalJSON

MarshalJSON implements the json.Marshaller interface for type AppConfigurationSnapshotModifiedEventData.

func (*AppConfigurationSnapshotModifiedEventData) UnmarshalJSON

func (a *AppConfigurationSnapshotModifiedEventData) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type AppConfigurationSnapshotModifiedEventData.

type AppEventTypeDetail

type AppEventTypeDetail struct {
	// Type of action of the operation.
	Action *AppAction
}

AppEventTypeDetail - Detail of action on the app.

func (AppEventTypeDetail) MarshalJSON

func (a AppEventTypeDetail) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type AppEventTypeDetail.

func (*AppEventTypeDetail) UnmarshalJSON

func (a *AppEventTypeDetail) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type AppEventTypeDetail.

type AppServicePlanAction

type AppServicePlanAction string

AppServicePlanAction - Type of action on the app service plan.

const (
	// AppServicePlanActionUpdated - App Service plan is being updated.
	AppServicePlanActionUpdated AppServicePlanAction = "Updated"
)

func PossibleAppServicePlanActionValues

func PossibleAppServicePlanActionValues() []AppServicePlanAction

PossibleAppServicePlanActionValues returns the possible values for the AppServicePlanAction const type.

type AppServicePlanEventTypeDetail

type AppServicePlanEventTypeDetail struct {
	// Type of action on the app service plan.
	Action *AppServicePlanAction

	// Kind of environment where app service plan is.
	StampKind *StampKind

	// Asynchronous operation status of the operation on the app service plan.
	Status *AsyncStatus
}

AppServicePlanEventTypeDetail - Detail of action on the app service plan.

func (AppServicePlanEventTypeDetail) MarshalJSON

func (a AppServicePlanEventTypeDetail) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type AppServicePlanEventTypeDetail.

func (*AppServicePlanEventTypeDetail) UnmarshalJSON

func (a *AppServicePlanEventTypeDetail) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type AppServicePlanEventTypeDetail.

type AsyncStatus

type AsyncStatus string

AsyncStatus - Asynchronous operation status of the operation on the app service plan.

const (
	// AsyncStatusCompleted - Async operation has completed.
	AsyncStatusCompleted AsyncStatus = "Completed"
	// AsyncStatusFailed - Async operation failed to complete.
	AsyncStatusFailed AsyncStatus = "Failed"
	// AsyncStatusStarted - Async operation has started.
	AsyncStatusStarted AsyncStatus = "Started"
)

func PossibleAsyncStatusValues

func PossibleAsyncStatusValues() []AsyncStatus

PossibleAsyncStatusValues returns the possible values for the AsyncStatus const type.

type CommunicationCloudEnvironmentModel

type CommunicationCloudEnvironmentModel string

CommunicationCloudEnvironmentModel - The cloud that the identifier belongs to.

const (
	CommunicationCloudEnvironmentModelDod    CommunicationCloudEnvironmentModel = "dod"
	CommunicationCloudEnvironmentModelGcch   CommunicationCloudEnvironmentModel = "gcch"
	CommunicationCloudEnvironmentModelPublic CommunicationCloudEnvironmentModel = "public"
)

func PossibleCommunicationCloudEnvironmentModelValues

func PossibleCommunicationCloudEnvironmentModelValues() []CommunicationCloudEnvironmentModel

PossibleCommunicationCloudEnvironmentModelValues returns the possible values for the CommunicationCloudEnvironmentModel const type.

type CommunicationIdentifierModel

type CommunicationIdentifierModel struct {
	// The communication user.
	CommunicationUser *CommunicationUserIdentifierModel

	// The identifier kind. Only required in responses.
	Kind *CommunicationIdentifierModelKind

	// The Microsoft Teams application.
	MicrosoftTeamsApp *MicrosoftTeamsAppIdentifierModel

	// The Microsoft Teams user.
	MicrosoftTeamsUser *MicrosoftTeamsUserIdentifierModel

	// The phone number.
	PhoneNumber *PhoneNumberIdentifierModel

	// Raw Id of the identifier. Optional in requests, required in responses.
	RawID *string
}

CommunicationIdentifierModel - Identifies a participant in Azure Communication services. A participant is, for example, a phone number or an Azure communication user. This model is polymorphic: Apart from kind and rawId, at most one further property may be set which must match the kind enum value.

func (CommunicationIdentifierModel) MarshalJSON

func (c CommunicationIdentifierModel) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type CommunicationIdentifierModel.

func (*CommunicationIdentifierModel) UnmarshalJSON

func (c *CommunicationIdentifierModel) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type CommunicationIdentifierModel.

type CommunicationIdentifierModelKind added in v0.3.0

type CommunicationIdentifierModelKind string

CommunicationIdentifierModelKind - The identifier kind, for example 'communicationUser' or 'phoneNumber'.

const (
	CommunicationIdentifierModelKindCommunicationUser  CommunicationIdentifierModelKind = "communicationUser"
	CommunicationIdentifierModelKindMicrosoftTeamsApp  CommunicationIdentifierModelKind = "microsoftTeamsApp"
	CommunicationIdentifierModelKindMicrosoftTeamsUser CommunicationIdentifierModelKind = "microsoftTeamsUser"
	CommunicationIdentifierModelKindPhoneNumber        CommunicationIdentifierModelKind = "phoneNumber"
	CommunicationIdentifierModelKindUnknown            CommunicationIdentifierModelKind = "unknown"
)

func PossibleCommunicationIdentifierModelKindValues added in v0.3.0

func PossibleCommunicationIdentifierModelKindValues() []CommunicationIdentifierModelKind

PossibleCommunicationIdentifierModelKindValues returns the possible values for the CommunicationIdentifierModelKind const type.

type CommunicationUserIdentifierModel

type CommunicationUserIdentifierModel struct {
	// REQUIRED; The Id of the communication user.
	ID *string
}

CommunicationUserIdentifierModel - A user that got created with an Azure Communication Services resource.

func (CommunicationUserIdentifierModel) MarshalJSON

func (c CommunicationUserIdentifierModel) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type CommunicationUserIdentifierModel.

func (*CommunicationUserIdentifierModel) UnmarshalJSON

func (c *CommunicationUserIdentifierModel) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type CommunicationUserIdentifierModel.

type ContainerRegistryArtifactEventData

type ContainerRegistryArtifactEventData struct {
	// The action that encompasses the provided event.
	Action *string

	// The connected registry information if the event is generated by a connected registry.
	ConnectedRegistry *ContainerRegistryEventConnectedRegistry

	// The event ID.
	ID *string

	// The location of the event.
	Location *string

	// The target of the event.
	Target *ContainerRegistryArtifactEventTarget

	// The time at which the event occurred.
	Timestamp *time.Time
}

ContainerRegistryArtifactEventData - The content of the event request message.

func (ContainerRegistryArtifactEventData) MarshalJSON

func (c ContainerRegistryArtifactEventData) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type ContainerRegistryArtifactEventData.

func (*ContainerRegistryArtifactEventData) UnmarshalJSON

func (c *ContainerRegistryArtifactEventData) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type ContainerRegistryArtifactEventData.

type ContainerRegistryArtifactEventTarget

type ContainerRegistryArtifactEventTarget struct {
	// The digest of the artifact.
	Digest *string

	// The MIME type of the artifact.
	MediaType *string

	// The name of the artifact.
	Name *string

	// The repository name of the artifact.
	Repository *string

	// The size in bytes of the artifact.
	Size *int64

	// The tag of the artifact.
	Tag *string

	// The version of the artifact.
	Version *string
}

ContainerRegistryArtifactEventTarget - The target of the event.

func (ContainerRegistryArtifactEventTarget) MarshalJSON

func (c ContainerRegistryArtifactEventTarget) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type ContainerRegistryArtifactEventTarget.

func (*ContainerRegistryArtifactEventTarget) UnmarshalJSON

func (c *ContainerRegistryArtifactEventTarget) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type ContainerRegistryArtifactEventTarget.

type ContainerRegistryChartDeletedEventData

type ContainerRegistryChartDeletedEventData struct {
	// The action that encompasses the provided event.
	Action *string

	// The connected registry information if the event is generated by a connected registry.
	ConnectedRegistry *ContainerRegistryEventConnectedRegistry

	// The event ID.
	ID *string

	// The location of the event.
	Location *string

	// The target of the event.
	Target *ContainerRegistryArtifactEventTarget

	// The time at which the event occurred.
	Timestamp *time.Time
}

ContainerRegistryChartDeletedEventData - Schema of the Data property of an CloudEvent/EventGridEvent for a Microsoft.ContainerRegistry.ChartDeleted event.

func (ContainerRegistryChartDeletedEventData) MarshalJSON

func (c ContainerRegistryChartDeletedEventData) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type ContainerRegistryChartDeletedEventData.

func (*ContainerRegistryChartDeletedEventData) UnmarshalJSON

func (c *ContainerRegistryChartDeletedEventData) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type ContainerRegistryChartDeletedEventData.

type ContainerRegistryChartPushedEventData

type ContainerRegistryChartPushedEventData struct {
	// The action that encompasses the provided event.
	Action *string

	// The connected registry information if the event is generated by a connected registry.
	ConnectedRegistry *ContainerRegistryEventConnectedRegistry

	// The event ID.
	ID *string

	// The location of the event.
	Location *string

	// The target of the event.
	Target *ContainerRegistryArtifactEventTarget

	// The time at which the event occurred.
	Timestamp *time.Time
}

ContainerRegistryChartPushedEventData - Schema of the Data property of an CloudEvent/EventGridEvent for a Microsoft.ContainerRegistry.ChartPushed event.

func (ContainerRegistryChartPushedEventData) MarshalJSON

func (c ContainerRegistryChartPushedEventData) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type ContainerRegistryChartPushedEventData.

func (*ContainerRegistryChartPushedEventData) UnmarshalJSON

func (c *ContainerRegistryChartPushedEventData) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type ContainerRegistryChartPushedEventData.

type ContainerRegistryEventActor

type ContainerRegistryEventActor struct {
	// The subject or username associated with the request context that generated the event.
	Name *string
}

ContainerRegistryEventActor - The agent that initiated the event. For most situations, this could be from the authorization context of the request.

func (ContainerRegistryEventActor) MarshalJSON

func (c ContainerRegistryEventActor) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type ContainerRegistryEventActor.

func (*ContainerRegistryEventActor) UnmarshalJSON

func (c *ContainerRegistryEventActor) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type ContainerRegistryEventActor.

type ContainerRegistryEventConnectedRegistry

type ContainerRegistryEventConnectedRegistry struct {
	// The name of the connected registry that generated this event.
	Name *string
}

ContainerRegistryEventConnectedRegistry - The connected registry information if the event is generated by a connected registry.

func (ContainerRegistryEventConnectedRegistry) MarshalJSON

func (c ContainerRegistryEventConnectedRegistry) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type ContainerRegistryEventConnectedRegistry.

func (*ContainerRegistryEventConnectedRegistry) UnmarshalJSON

func (c *ContainerRegistryEventConnectedRegistry) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type ContainerRegistryEventConnectedRegistry.

type ContainerRegistryEventData

type ContainerRegistryEventData struct {
	// The action that encompasses the provided event.
	Action *string

	// The agent that initiated the event. For most situations, this could be from the authorization context of the request.
	Actor *ContainerRegistryEventActor

	// The connected registry information if the event is generated by a connected registry.
	ConnectedRegistry *ContainerRegistryEventConnectedRegistry

	// The event ID.
	ID *string

	// The location of the event.
	Location *string

	// The request that generated the event.
	Request *ContainerRegistryEventRequest

	// The registry node that generated the event. Put differently, while the actor initiates the event, the source generates
	// it.
	Source *ContainerRegistryEventSource

	// The target of the event.
	Target *ContainerRegistryEventTarget

	// The time at which the event occurred.
	Timestamp *time.Time
}

ContainerRegistryEventData - The content of the event request message.

func (ContainerRegistryEventData) MarshalJSON

func (c ContainerRegistryEventData) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type ContainerRegistryEventData.

func (*ContainerRegistryEventData) UnmarshalJSON

func (c *ContainerRegistryEventData) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type ContainerRegistryEventData.

type ContainerRegistryEventRequest

type ContainerRegistryEventRequest struct {
	// The IP or hostname and possibly port of the client connection that initiated the event. This is the RemoteAddr from the
	// standard http request.
	Addr *string

	// The externally accessible hostname of the registry instance, as specified by the http host header on incoming requests.
	Host *string

	// The ID of the request that initiated the event.
	ID *string

	// The request method that generated the event.
	Method *string

	// The user agent header of the request.
	Useragent *string
}

ContainerRegistryEventRequest - The request that generated the event.

func (ContainerRegistryEventRequest) MarshalJSON

func (c ContainerRegistryEventRequest) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type ContainerRegistryEventRequest.

func (*ContainerRegistryEventRequest) UnmarshalJSON

func (c *ContainerRegistryEventRequest) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type ContainerRegistryEventRequest.

type ContainerRegistryEventSource

type ContainerRegistryEventSource struct {
	// The IP or hostname and the port of the registry node that generated the event. Generally, this will be resolved by os.Hostname()
	// along with the running port.
	Addr *string

	// The running instance of an application. Changes after each restart.
	InstanceID *string
}

ContainerRegistryEventSource - The registry node that generated the event. Put differently, while the actor initiates the event, the source generates it.

func (ContainerRegistryEventSource) MarshalJSON

func (c ContainerRegistryEventSource) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type ContainerRegistryEventSource.

func (*ContainerRegistryEventSource) UnmarshalJSON

func (c *ContainerRegistryEventSource) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type ContainerRegistryEventSource.

type ContainerRegistryEventTarget

type ContainerRegistryEventTarget struct {
	// The digest of the content, as defined by the Registry V2 HTTP API Specification.
	Digest *string

	// The number of bytes of the content. Same as Size field.
	Length *int64

	// The MIME type of the referenced object.
	MediaType *string

	// The repository name.
	Repository *string

	// The number of bytes of the content. Same as Length field.
	Size *int64

	// The tag name.
	Tag *string

	// The direct URL to the content.
	URL *string
}

ContainerRegistryEventTarget - The target of the event.

func (ContainerRegistryEventTarget) MarshalJSON

func (c ContainerRegistryEventTarget) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type ContainerRegistryEventTarget.

func (*ContainerRegistryEventTarget) UnmarshalJSON

func (c *ContainerRegistryEventTarget) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type ContainerRegistryEventTarget.

type ContainerRegistryImageDeletedEventData

type ContainerRegistryImageDeletedEventData struct {
	// The action that encompasses the provided event.
	Action *string

	// The agent that initiated the event. For most situations, this could be from the authorization context of the request.
	Actor *ContainerRegistryEventActor

	// The connected registry information if the event is generated by a connected registry.
	ConnectedRegistry *ContainerRegistryEventConnectedRegistry

	// The event ID.
	ID *string

	// The location of the event.
	Location *string

	// The request that generated the event.
	Request *ContainerRegistryEventRequest

	// The registry node that generated the event. Put differently, while the actor initiates the event, the source generates
	// it.
	Source *ContainerRegistryEventSource

	// The target of the event.
	Target *ContainerRegistryEventTarget

	// The time at which the event occurred.
	Timestamp *time.Time
}

ContainerRegistryImageDeletedEventData - Schema of the Data property of an CloudEvent/EventGridEvent for a Microsoft.ContainerRegistry.ImageDeleted event.

func (ContainerRegistryImageDeletedEventData) MarshalJSON

func (c ContainerRegistryImageDeletedEventData) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type ContainerRegistryImageDeletedEventData.

func (*ContainerRegistryImageDeletedEventData) UnmarshalJSON

func (c *ContainerRegistryImageDeletedEventData) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type ContainerRegistryImageDeletedEventData.

type ContainerRegistryImagePushedEventData

type ContainerRegistryImagePushedEventData struct {
	// The action that encompasses the provided event.
	Action *string

	// The agent that initiated the event. For most situations, this could be from the authorization context of the request.
	Actor *ContainerRegistryEventActor

	// The connected registry information if the event is generated by a connected registry.
	ConnectedRegistry *ContainerRegistryEventConnectedRegistry

	// The event ID.
	ID *string

	// The location of the event.
	Location *string

	// The request that generated the event.
	Request *ContainerRegistryEventRequest

	// The registry node that generated the event. Put differently, while the actor initiates the event, the source generates
	// it.
	Source *ContainerRegistryEventSource

	// The target of the event.
	Target *ContainerRegistryEventTarget

	// The time at which the event occurred.
	Timestamp *time.Time
}

ContainerRegistryImagePushedEventData - Schema of the Data property of an CloudEvent/EventGridEvent for a Microsoft.ContainerRegistry.ImagePushed event.

func (ContainerRegistryImagePushedEventData) MarshalJSON

func (c ContainerRegistryImagePushedEventData) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type ContainerRegistryImagePushedEventData.

func (*ContainerRegistryImagePushedEventData) UnmarshalJSON

func (c *ContainerRegistryImagePushedEventData) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type ContainerRegistryImagePushedEventData.

type ContainerServiceClusterSupportEndedEventData

type ContainerServiceClusterSupportEndedEventData struct {
	// The Kubernetes version of the ManagedCluster resource
	KubernetesVersion *string
}

ContainerServiceClusterSupportEndedEventData - Schema of the Data property of an CloudEvent/EventGridEvent for a Microsoft.ContainerService.ClusterSupportEnded event

func (ContainerServiceClusterSupportEndedEventData) MarshalJSON

MarshalJSON implements the json.Marshaller interface for type ContainerServiceClusterSupportEndedEventData.

func (*ContainerServiceClusterSupportEndedEventData) UnmarshalJSON

func (c *ContainerServiceClusterSupportEndedEventData) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type ContainerServiceClusterSupportEndedEventData.

type ContainerServiceClusterSupportEndingEventData

type ContainerServiceClusterSupportEndingEventData struct {
	// The Kubernetes version of the ManagedCluster resource
	KubernetesVersion *string
}

ContainerServiceClusterSupportEndingEventData - Schema of the Data property of an CloudEvent/EventGridEvent for a Microsoft.ContainerService.ClusterSupportEnding event

func (ContainerServiceClusterSupportEndingEventData) MarshalJSON

MarshalJSON implements the json.Marshaller interface for type ContainerServiceClusterSupportEndingEventData.

func (*ContainerServiceClusterSupportEndingEventData) UnmarshalJSON

func (c *ContainerServiceClusterSupportEndingEventData) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type ContainerServiceClusterSupportEndingEventData.

type ContainerServiceClusterSupportEventData

type ContainerServiceClusterSupportEventData struct {
	// The Kubernetes version of the ManagedCluster resource
	KubernetesVersion *string
}

ContainerServiceClusterSupportEventData - Schema of common properties of cluster support events

func (ContainerServiceClusterSupportEventData) MarshalJSON

func (c ContainerServiceClusterSupportEventData) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type ContainerServiceClusterSupportEventData.

func (*ContainerServiceClusterSupportEventData) UnmarshalJSON

func (c *ContainerServiceClusterSupportEventData) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type ContainerServiceClusterSupportEventData.

type ContainerServiceNewKubernetesVersionAvailableEventData

type ContainerServiceNewKubernetesVersionAvailableEventData struct {
	// The highest PATCH Kubernetes version considered preview for the ManagedCluster resource. There might not be any version
	// in preview at the time of publishing the event
	LatestPreviewKubernetesVersion *string

	// The highest PATCH Kubernetes version for the MINOR version considered stable for the ManagedCluster resource
	LatestStableKubernetesVersion *string

	// The highest PATCH Kubernetes version for the highest MINOR version supported by ManagedCluster resource
	LatestSupportedKubernetesVersion *string

	// The highest PATCH Kubernetes version for the lowest applicable MINOR version available for the ManagedCluster resource
	LowestMinorKubernetesVersion *string
}

ContainerServiceNewKubernetesVersionAvailableEventData - Schema of the Data property of an CloudEvent/EventGridEvent for a Microsoft.ContainerService.NewKubernetesVersionAvailable event

func (ContainerServiceNewKubernetesVersionAvailableEventData) MarshalJSON

MarshalJSON implements the json.Marshaller interface for type ContainerServiceNewKubernetesVersionAvailableEventData.

func (*ContainerServiceNewKubernetesVersionAvailableEventData) UnmarshalJSON

UnmarshalJSON implements the json.Unmarshaller interface for type ContainerServiceNewKubernetesVersionAvailableEventData.

type ContainerServiceNodePoolRollingEventData

type ContainerServiceNodePoolRollingEventData struct {
	// The name of the node pool in the ManagedCluster resource
	NodePoolName *string
}

ContainerServiceNodePoolRollingEventData - Schema of common properties of node pool rolling events

func (ContainerServiceNodePoolRollingEventData) MarshalJSON

MarshalJSON implements the json.Marshaller interface for type ContainerServiceNodePoolRollingEventData.

func (*ContainerServiceNodePoolRollingEventData) UnmarshalJSON

func (c *ContainerServiceNodePoolRollingEventData) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type ContainerServiceNodePoolRollingEventData.

type ContainerServiceNodePoolRollingFailedEventData

type ContainerServiceNodePoolRollingFailedEventData struct {
	// The name of the node pool in the ManagedCluster resource
	NodePoolName *string
}

ContainerServiceNodePoolRollingFailedEventData - Schema of the Data property of an CloudEvent/EventGridEvent for a Microsoft.ContainerService.NodePoolRollingFailed event

func (ContainerServiceNodePoolRollingFailedEventData) MarshalJSON

MarshalJSON implements the json.Marshaller interface for type ContainerServiceNodePoolRollingFailedEventData.

func (*ContainerServiceNodePoolRollingFailedEventData) UnmarshalJSON

UnmarshalJSON implements the json.Unmarshaller interface for type ContainerServiceNodePoolRollingFailedEventData.

type ContainerServiceNodePoolRollingStartedEventData

type ContainerServiceNodePoolRollingStartedEventData struct {
	// The name of the node pool in the ManagedCluster resource
	NodePoolName *string
}

ContainerServiceNodePoolRollingStartedEventData - Schema of the Data property of an CloudEvent/EventGridEvent for a Microsoft.ContainerService.NodePoolRollingStarted event

func (ContainerServiceNodePoolRollingStartedEventData) MarshalJSON

MarshalJSON implements the json.Marshaller interface for type ContainerServiceNodePoolRollingStartedEventData.

func (*ContainerServiceNodePoolRollingStartedEventData) UnmarshalJSON

UnmarshalJSON implements the json.Unmarshaller interface for type ContainerServiceNodePoolRollingStartedEventData.

type ContainerServiceNodePoolRollingSucceededEventData

type ContainerServiceNodePoolRollingSucceededEventData struct {
	// The name of the node pool in the ManagedCluster resource
	NodePoolName *string
}

ContainerServiceNodePoolRollingSucceededEventData - Schema of the Data property of an CloudEvent/EventGridEvent for a Microsoft.ContainerService.NodePoolRollingSucceeded event

func (ContainerServiceNodePoolRollingSucceededEventData) MarshalJSON

MarshalJSON implements the json.Marshaller interface for type ContainerServiceNodePoolRollingSucceededEventData.

func (*ContainerServiceNodePoolRollingSucceededEventData) UnmarshalJSON

UnmarshalJSON implements the json.Unmarshaller interface for type ContainerServiceNodePoolRollingSucceededEventData.

type DataBoxCopyCompletedEventData

type DataBoxCopyCompletedEventData struct {
	// Serial Number of the device associated with the event. The list is comma separated if more than one serial number is associated.
	SerialNumber *string

	// Name of the current Stage
	StageName *DataBoxStageName

	// The time at which the stage happened.
	StageTime *time.Time
}

DataBoxCopyCompletedEventData - Schema of the Data property of an CloudEvent/EventGridEvent for a Microsoft.DataBox.CopyCompleted event.

func (DataBoxCopyCompletedEventData) MarshalJSON

func (d DataBoxCopyCompletedEventData) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type DataBoxCopyCompletedEventData.

func (*DataBoxCopyCompletedEventData) UnmarshalJSON

func (d *DataBoxCopyCompletedEventData) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type DataBoxCopyCompletedEventData.

type DataBoxCopyStartedEventData

type DataBoxCopyStartedEventData struct {
	// Serial Number of the device associated with the event. The list is comma separated if more than one serial number is associated.
	SerialNumber *string

	// Name of the current Stage
	StageName *DataBoxStageName

	// The time at which the stage happened.
	StageTime *time.Time
}

DataBoxCopyStartedEventData - Schema of the Data property of an CloudEvent/EventGridEvent for a Microsoft.DataBox.CopyStarted event.

func (DataBoxCopyStartedEventData) MarshalJSON

func (d DataBoxCopyStartedEventData) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type DataBoxCopyStartedEventData.

func (*DataBoxCopyStartedEventData) UnmarshalJSON

func (d *DataBoxCopyStartedEventData) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type DataBoxCopyStartedEventData.

type DataBoxOrderCompletedEventData

type DataBoxOrderCompletedEventData struct {
	// Serial Number of the device associated with the event. The list is comma separated if more than one serial number is associated.
	SerialNumber *string

	// Name of the current Stage
	StageName *DataBoxStageName

	// The time at which the stage happened.
	StageTime *time.Time
}

DataBoxOrderCompletedEventData - Schema of the Data property of an CloudEvent/EventGridEvent for a Microsoft.DataBox.OrderCompleted event.

func (DataBoxOrderCompletedEventData) MarshalJSON

func (d DataBoxOrderCompletedEventData) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type DataBoxOrderCompletedEventData.

func (*DataBoxOrderCompletedEventData) UnmarshalJSON

func (d *DataBoxOrderCompletedEventData) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type DataBoxOrderCompletedEventData.

type DataBoxStageName

type DataBoxStageName string

DataBoxStageName - Schema of DataBox Stage Name enumeration.

const (
	// DataBoxStageNameCopyCompleted - Copy has completed
	DataBoxStageNameCopyCompleted DataBoxStageName = "CopyCompleted"
	// DataBoxStageNameCopyStarted - Copy has started
	DataBoxStageNameCopyStarted DataBoxStageName = "CopyStarted"
	// DataBoxStageNameOrderCompleted - Order has been completed
	DataBoxStageNameOrderCompleted DataBoxStageName = "OrderCompleted"
)

func PossibleDataBoxStageNameValues

func PossibleDataBoxStageNameValues() []DataBoxStageName

PossibleDataBoxStageNameValues returns the possible values for the DataBoxStageName const type.

type DeviceConnectionStateEventInfo

type DeviceConnectionStateEventInfo struct {
	// Sequence number is string representation of a hexadecimal number. string compare can be used to identify the larger number
	// because both in ASCII and HEX numbers come after alphabets. If you are
	// converting the string to hex, then the number is a 256 bit number.
	SequenceNumber *string
}

DeviceConnectionStateEventInfo - Information about the device connection state event.

func (DeviceConnectionStateEventInfo) MarshalJSON

func (d DeviceConnectionStateEventInfo) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type DeviceConnectionStateEventInfo.

func (*DeviceConnectionStateEventInfo) UnmarshalJSON

func (d *DeviceConnectionStateEventInfo) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type DeviceConnectionStateEventInfo.

type DeviceConnectionStateEventProperties

type DeviceConnectionStateEventProperties struct {
	// Information about the device connection state event.
	DeviceConnectionStateEventInfo *DeviceConnectionStateEventInfo

	// The unique identifier of the device. This case-sensitive string can be up to 128 characters long, and supports ASCII 7-bit
	// alphanumeric characters plus the following special characters: - : . + % _ #
	// * ? ! ( ) , = @ ; $ '.
	DeviceID *string

	// Name of the IoT Hub where the device was created or deleted.
	HubName *string

	// The unique identifier of the module. This case-sensitive string can be up to 128 characters long, and supports ASCII 7-bit
	// alphanumeric characters plus the following special characters: - : . + % _ #
	// * ? ! ( ) , = @ ; $ '.
	ModuleID *string
}

DeviceConnectionStateEventProperties - Schema of the Data property of an CloudEvent/EventGridEvent for a device connection state event (DeviceConnected, DeviceDisconnected).

func (DeviceConnectionStateEventProperties) MarshalJSON

func (d DeviceConnectionStateEventProperties) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type DeviceConnectionStateEventProperties.

func (*DeviceConnectionStateEventProperties) UnmarshalJSON

func (d *DeviceConnectionStateEventProperties) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type DeviceConnectionStateEventProperties.

type DeviceLifeCycleEventProperties

type DeviceLifeCycleEventProperties struct {
	// The unique identifier of the device. This case-sensitive string can be up to 128 characters long, and supports ASCII 7-bit
	// alphanumeric characters plus the following special characters: - : . + % _ #
	// * ? ! ( ) , = @ ; $ '.
	DeviceID *string

	// Name of the IoT Hub where the device was created or deleted.
	HubName *string

	// Information about the device twin, which is the cloud representation of application device metadata.
	Twin *DeviceTwinInfo
}

DeviceLifeCycleEventProperties - Schema of the Data property of an CloudEvent/EventGridEvent for a device life cycle event (DeviceCreated, DeviceDeleted).

func (DeviceLifeCycleEventProperties) MarshalJSON

func (d DeviceLifeCycleEventProperties) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type DeviceLifeCycleEventProperties.

func (*DeviceLifeCycleEventProperties) UnmarshalJSON

func (d *DeviceLifeCycleEventProperties) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type DeviceLifeCycleEventProperties.

type DeviceTelemetryEventProperties

type DeviceTelemetryEventProperties struct {
	// The content of the message from the device.
	Body any

	// Application properties are user-defined strings that can be added to the message. These fields are optional.
	Properties map[string]*string

	// System properties help identify contents and source of the messages.
	SystemProperties map[string]*string
}

DeviceTelemetryEventProperties - Schema of the Data property of an CloudEvent/EventGridEvent for a device telemetry event (DeviceTelemetry).

func (DeviceTelemetryEventProperties) MarshalJSON

func (d DeviceTelemetryEventProperties) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type DeviceTelemetryEventProperties.

func (*DeviceTelemetryEventProperties) UnmarshalJSON

func (d *DeviceTelemetryEventProperties) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type DeviceTelemetryEventProperties.

type DeviceTwinInfo

type DeviceTwinInfo struct {
	// Authentication type used for this device: either SAS, SelfSigned, or CertificateAuthority.
	AuthenticationType *string

	// Count of cloud to device messages sent to this device.
	CloudToDeviceMessageCount *float32

	// Whether the device is connected or disconnected.
	ConnectionState *string

	// The unique identifier of the device twin.
	DeviceID *string

	// A piece of information that describes the content of the device twin. Each etag is guaranteed to be unique per device twin.
	Etag *string

	// The ISO8601 timestamp of the last activity.
	LastActivityTime *string

	// Properties JSON element.
	Properties *DeviceTwinInfoProperties

	// Whether the device twin is enabled or disabled.
	Status *string

	// The ISO8601 timestamp of the last device twin status update.
	StatusUpdateTime *string

	// An integer that is incremented by one each time the device twin is updated.
	Version *float32

	// The thumbprint is a unique value for the x509 certificate, commonly used to find a particular certificate in a certificate
	// store. The thumbprint is dynamically generated using the SHA1 algorithm, and
	// does not physically exist in the certificate.
	X509Thumbprint *DeviceTwinInfoX509Thumbprint
}

DeviceTwinInfo - Information about the device twin, which is the cloud representation of application device metadata.

func (DeviceTwinInfo) MarshalJSON

func (d DeviceTwinInfo) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type DeviceTwinInfo.

func (*DeviceTwinInfo) UnmarshalJSON

func (d *DeviceTwinInfo) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type DeviceTwinInfo.

type DeviceTwinInfoProperties

type DeviceTwinInfoProperties struct {
	// A portion of the properties that can be written only by the application back-end, and read by the device.
	Desired *DeviceTwinProperties

	// A portion of the properties that can be written only by the device, and read by the application back-end.
	Reported *DeviceTwinProperties
}

DeviceTwinInfoProperties - Properties JSON element.

func (DeviceTwinInfoProperties) MarshalJSON

func (d DeviceTwinInfoProperties) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type DeviceTwinInfoProperties.

func (*DeviceTwinInfoProperties) UnmarshalJSON

func (d *DeviceTwinInfoProperties) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type DeviceTwinInfoProperties.

type DeviceTwinInfoX509Thumbprint

type DeviceTwinInfoX509Thumbprint struct {
	// Primary thumbprint for the x509 certificate.
	PrimaryThumbprint *string

	// Secondary thumbprint for the x509 certificate.
	SecondaryThumbprint *string
}

DeviceTwinInfoX509Thumbprint - The thumbprint is a unique value for the x509 certificate, commonly used to find a particular certificate in a certificate store. The thumbprint is dynamically generated using the SHA1 algorithm, and does not physically exist in the certificate.

func (DeviceTwinInfoX509Thumbprint) MarshalJSON

func (d DeviceTwinInfoX509Thumbprint) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type DeviceTwinInfoX509Thumbprint.

func (*DeviceTwinInfoX509Thumbprint) UnmarshalJSON

func (d *DeviceTwinInfoX509Thumbprint) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type DeviceTwinInfoX509Thumbprint.

type DeviceTwinMetadata

type DeviceTwinMetadata struct {
	// The ISO8601 timestamp of the last time the properties were updated.
	LastUpdated *string
}

DeviceTwinMetadata - Metadata information for the properties JSON document.

func (DeviceTwinMetadata) MarshalJSON

func (d DeviceTwinMetadata) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type DeviceTwinMetadata.

func (*DeviceTwinMetadata) UnmarshalJSON

func (d *DeviceTwinMetadata) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type DeviceTwinMetadata.

type DeviceTwinProperties

type DeviceTwinProperties struct {
	// Metadata information for the properties JSON document.
	Metadata *DeviceTwinMetadata

	// Version of device twin properties.
	Version *float32
}

DeviceTwinProperties - A portion of the properties that can be written only by the application back-end, and read by the device.

func (DeviceTwinProperties) MarshalJSON

func (d DeviceTwinProperties) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type DeviceTwinProperties.

func (*DeviceTwinProperties) UnmarshalJSON

func (d *DeviceTwinProperties) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type DeviceTwinProperties.

type Error added in v0.3.0

type Error struct {
	// Code is an error code from the service producing the system event.
	Code string
	// contains filtered or unexported fields
}

Error is an error that is included as part of a system event.

func (*Error) Error added in v0.3.0

func (e *Error) Error() string

Error returns human-readable text describing the error.

type EventGridEvent

type EventGridEvent struct {
	// REQUIRED; Event data specific to the event type.
	Data any

	// REQUIRED; The schema version of the data object.
	DataVersion *string

	// REQUIRED; The time (in UTC) the event was generated.
	EventTime *time.Time

	// REQUIRED; The type of the event that occurred.
	EventType *string

	// REQUIRED; An unique identifier for the event.
	ID *string

	// REQUIRED; A resource path relative to the topic path.
	Subject *string

	// The resource path of the event source.
	Topic *string

	// READ-ONLY; The schema version of the event metadata.
	MetadataVersion *string
}

EventGridEvent - Properties of an event published to an Event Grid topic using the EventGrid Schema.

func (EventGridEvent) MarshalJSON

func (e EventGridEvent) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type EventGridEvent.

func (*EventGridEvent) UnmarshalJSON

func (e *EventGridEvent) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type EventGridEvent.

type EventGridMQTTClientCreatedOrUpdatedEventData

type EventGridMQTTClientCreatedOrUpdatedEventData struct {
	// The key-value attributes that are assigned to the client resource.
	Attributes map[string]*string

	// Unique identifier for the MQTT client that the client presents to the service for authentication. This case-sensitive string
	// can be up to 128 characters long, and supports UTF-8 characters.
	ClientAuthenticationName *string

	// Name of the client resource in the Event Grid namespace.
	ClientName *string

	// Time the client resource is created based on the provider's UTC time.
	CreatedOn *time.Time

	// Name of the Event Grid namespace where the MQTT client was created or updated.
	NamespaceName *string

	// Configured state of the client. The value could be Enabled or Disabled
	State *EventGridMqttClientState

	// Time the client resource is last updated based on the provider's UTC time. If the client resource was never updated, this
	// value is identical to the value of the 'createdOn' property.
	UpdatedOn *time.Time
}

EventGridMQTTClientCreatedOrUpdatedEventData - Event data for Microsoft.EventGrid.MQTTClientCreatedOrUpdated event.

func (EventGridMQTTClientCreatedOrUpdatedEventData) MarshalJSON

MarshalJSON implements the json.Marshaller interface for type EventGridMQTTClientCreatedOrUpdatedEventData.

func (*EventGridMQTTClientCreatedOrUpdatedEventData) UnmarshalJSON

func (e *EventGridMQTTClientCreatedOrUpdatedEventData) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type EventGridMQTTClientCreatedOrUpdatedEventData.

type EventGridMQTTClientDeletedEventData

type EventGridMQTTClientDeletedEventData struct {
	// Unique identifier for the MQTT client that the client presents to the service for authentication. This case-sensitive string
	// can be up to 128 characters long, and supports UTF-8 characters.
	ClientAuthenticationName *string

	// Name of the client resource in the Event Grid namespace.
	ClientName *string

	// Name of the Event Grid namespace where the MQTT client was created or updated.
	NamespaceName *string
}

EventGridMQTTClientDeletedEventData - Event data for Microsoft.EventGrid.MQTTClientDeleted event.

func (EventGridMQTTClientDeletedEventData) MarshalJSON

func (e EventGridMQTTClientDeletedEventData) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type EventGridMQTTClientDeletedEventData.

func (*EventGridMQTTClientDeletedEventData) UnmarshalJSON

func (e *EventGridMQTTClientDeletedEventData) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type EventGridMQTTClientDeletedEventData.

type EventGridMQTTClientDisconnectionReason

type EventGridMQTTClientDisconnectionReason string

EventGridMQTTClientDisconnectionReason - Reason for the disconnection of the MQTT client's session. The value could be one of the values in the disconnection reasons table.

const (
	// EventGridMQTTClientDisconnectionReasonClientAuthenticationError - The client got disconnected for any authentication reasons
	// (for example, certificate expired, client got disabled, or client configuration changed).
	EventGridMQTTClientDisconnectionReasonClientAuthenticationError EventGridMQTTClientDisconnectionReason = "ClientAuthenticationError"
	// EventGridMQTTClientDisconnectionReasonClientAuthorizationError - The client got disconnected for any authorization reasons
	// (for example, because of a change in the configuration of topic spaces, permission bindings, or client groups).
	EventGridMQTTClientDisconnectionReasonClientAuthorizationError EventGridMQTTClientDisconnectionReason = "ClientAuthorizationError"
	// EventGridMQTTClientDisconnectionReasonClientError - The client sent a bad request or used one of the unsupported features
	// that resulted in a connection termination by the service.
	EventGridMQTTClientDisconnectionReasonClientError EventGridMQTTClientDisconnectionReason = "ClientError"
	// EventGridMQTTClientDisconnectionReasonClientInitiatedDisconnect - The client initiates a graceful disconnect through a
	// DISCONNECT packet for MQTT or a close frame for MQTT over WebSocket.
	EventGridMQTTClientDisconnectionReasonClientInitiatedDisconnect EventGridMQTTClientDisconnectionReason = "ClientInitiatedDisconnect"
	// EventGridMQTTClientDisconnectionReasonConnectionLost - The client-server connection is lost. (EXCHANGE ONLINE PROTECTION).
	EventGridMQTTClientDisconnectionReasonConnectionLost EventGridMQTTClientDisconnectionReason = "ConnectionLost"
	// EventGridMQTTClientDisconnectionReasonIPForbidden - The client's IP address is blocked by IP filter or Private links configuration.
	EventGridMQTTClientDisconnectionReasonIPForbidden EventGridMQTTClientDisconnectionReason = "IpForbidden"
	// EventGridMQTTClientDisconnectionReasonQuotaExceeded - The client exceeded one or more of the throttling limits that resulted
	// in a connection termination by the service.
	EventGridMQTTClientDisconnectionReasonQuotaExceeded EventGridMQTTClientDisconnectionReason = "QuotaExceeded"
	// EventGridMQTTClientDisconnectionReasonServerError - The connection got terminated due to an unexpected server error.
	EventGridMQTTClientDisconnectionReasonServerError EventGridMQTTClientDisconnectionReason = "ServerError"
	// EventGridMQTTClientDisconnectionReasonServerInitiatedDisconnect - The server initiates a graceful disconnect for any operational
	// reason.
	EventGridMQTTClientDisconnectionReasonServerInitiatedDisconnect EventGridMQTTClientDisconnectionReason = "ServerInitiatedDisconnect"
	// EventGridMQTTClientDisconnectionReasonSessionOverflow - The client's queue for unacknowledged QoS1 messages reached its
	// limit, which resulted in a connection termination by the server.
	EventGridMQTTClientDisconnectionReasonSessionOverflow EventGridMQTTClientDisconnectionReason = "SessionOverflow"
	// EventGridMQTTClientDisconnectionReasonSessionTakenOver - The client reconnected with the same authentication name, which
	// resulted in the termination of the previous connection.
	EventGridMQTTClientDisconnectionReasonSessionTakenOver EventGridMQTTClientDisconnectionReason = "SessionTakenOver"
)

func PossibleEventGridMQTTClientDisconnectionReasonValues

func PossibleEventGridMQTTClientDisconnectionReasonValues() []EventGridMQTTClientDisconnectionReason

PossibleEventGridMQTTClientDisconnectionReasonValues returns the possible values for the EventGridMQTTClientDisconnectionReason const type.

type EventGridMQTTClientEventData

type EventGridMQTTClientEventData struct {
	// Unique identifier for the MQTT client that the client presents to the service for authentication. This case-sensitive string
	// can be up to 128 characters long, and supports UTF-8 characters.
	ClientAuthenticationName *string

	// Name of the client resource in the Event Grid namespace.
	ClientName *string

	// Name of the Event Grid namespace where the MQTT client was created or updated.
	NamespaceName *string
}

EventGridMQTTClientEventData - Schema of the Data property of an CloudEvent/EventGridEvent for MQTT Client state changes.

func (EventGridMQTTClientEventData) MarshalJSON

func (e EventGridMQTTClientEventData) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type EventGridMQTTClientEventData.

func (*EventGridMQTTClientEventData) UnmarshalJSON

func (e *EventGridMQTTClientEventData) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type EventGridMQTTClientEventData.

type EventGridMQTTClientSessionConnectedEventData

type EventGridMQTTClientSessionConnectedEventData struct {
	// Unique identifier for the MQTT client that the client presents to the service for authentication. This case-sensitive string
	// can be up to 128 characters long, and supports UTF-8 characters.
	ClientAuthenticationName *string

	// Name of the client resource in the Event Grid namespace.
	ClientName *string

	// Unique identifier for the MQTT client's session. This case-sensitive string can be up to 128 characters long, and supports
	// UTF-8 characters.
	ClientSessionName *string

	// Name of the Event Grid namespace where the MQTT client was created or updated.
	NamespaceName *string

	// A number that helps indicate order of MQTT client session connected or disconnected events. Latest event will have a sequence
	// number that is higher than the previous event.
	SequenceNumber *int64
}

EventGridMQTTClientSessionConnectedEventData - Event data for Microsoft.EventGrid.MQTTClientSessionConnected event.

func (EventGridMQTTClientSessionConnectedEventData) MarshalJSON

MarshalJSON implements the json.Marshaller interface for type EventGridMQTTClientSessionConnectedEventData.

func (*EventGridMQTTClientSessionConnectedEventData) UnmarshalJSON

func (e *EventGridMQTTClientSessionConnectedEventData) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type EventGridMQTTClientSessionConnectedEventData.

type EventGridMQTTClientSessionDisconnectedEventData

type EventGridMQTTClientSessionDisconnectedEventData struct {
	// Unique identifier for the MQTT client that the client presents to the service for authentication. This case-sensitive string
	// can be up to 128 characters long, and supports UTF-8 characters.
	ClientAuthenticationName *string

	// Name of the client resource in the Event Grid namespace.
	ClientName *string

	// Unique identifier for the MQTT client's session. This case-sensitive string can be up to 128 characters long, and supports
	// UTF-8 characters.
	ClientSessionName *string

	// Reason for the disconnection of the MQTT client's session. The value could be one of the values in the disconnection reasons
	// table.
	DisconnectionReason *EventGridMQTTClientDisconnectionReason

	// Name of the Event Grid namespace where the MQTT client was created or updated.
	NamespaceName *string

	// A number that helps indicate order of MQTT client session connected or disconnected events. Latest event will have a sequence
	// number that is higher than the previous event.
	SequenceNumber *int64
}

EventGridMQTTClientSessionDisconnectedEventData - Event data for Microsoft.EventGrid.MQTTClientSessionDisconnected event.

func (EventGridMQTTClientSessionDisconnectedEventData) MarshalJSON

MarshalJSON implements the json.Marshaller interface for type EventGridMQTTClientSessionDisconnectedEventData.

func (*EventGridMQTTClientSessionDisconnectedEventData) UnmarshalJSON

UnmarshalJSON implements the json.Unmarshaller interface for type EventGridMQTTClientSessionDisconnectedEventData.

type EventGridMqttClientState

type EventGridMqttClientState string

EventGridMqttClientState - Configured state of the client. The value could be Enabled or Disabled

const (
	EventGridMqttClientStateDisabled EventGridMqttClientState = "Disabled"
	EventGridMqttClientStateEnabled  EventGridMqttClientState = "Enabled"
)

func PossibleEventGridMqttClientStateValues

func PossibleEventGridMqttClientStateValues() []EventGridMqttClientState

PossibleEventGridMqttClientStateValues returns the possible values for the EventGridMqttClientState const type.

type EventHubCaptureFileCreatedEventData

type EventHubCaptureFileCreatedEventData struct {
	// The number of events in the file.
	EventCount *int32

	// The file type of the capture file.
	FileType *string

	// The path to the capture file.
	Fileurl *string

	// The first time from the queue.
	FirstEnqueueTime *time.Time

	// The smallest sequence number from the queue.
	FirstSequenceNumber *int32

	// The last time from the queue.
	LastEnqueueTime *time.Time

	// The last sequence number from the queue.
	LastSequenceNumber *int32

	// The shard ID.
	PartitionID *string

	// The file size.
	SizeInBytes *int32
}

EventHubCaptureFileCreatedEventData - Schema of the Data property of an CloudEvent/EventGridEvent for a Microsoft.EventHub.CaptureFileCreated event.

func (EventHubCaptureFileCreatedEventData) MarshalJSON

func (e EventHubCaptureFileCreatedEventData) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type EventHubCaptureFileCreatedEventData.

func (*EventHubCaptureFileCreatedEventData) UnmarshalJSON

func (e *EventHubCaptureFileCreatedEventData) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type EventHubCaptureFileCreatedEventData.

type HealthcareDicomImageCreatedEventData

type HealthcareDicomImageCreatedEventData struct {
	// Unique identifier for the Series
	ImageSeriesInstanceUID *string

	// Unique identifier for the DICOM Image
	ImageSopInstanceUID *string

	// Unique identifier for the Study
	ImageStudyInstanceUID *string

	// Data partition name
	PartitionName *string

	// Sequence number of the DICOM Service within Azure Health Data Services. It is unique for every image creation and deletion
	// within the service.
	SequenceNumber *int64

	// Domain name of the DICOM account for this image.
	ServiceHostName *string
}

HealthcareDicomImageCreatedEventData - Schema of the Data property of an CloudEvent/EventGridEvent for a Microsoft.HealthcareApis.DicomImageCreated event.

func (HealthcareDicomImageCreatedEventData) MarshalJSON

func (h HealthcareDicomImageCreatedEventData) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type HealthcareDicomImageCreatedEventData.

func (*HealthcareDicomImageCreatedEventData) UnmarshalJSON

func (h *HealthcareDicomImageCreatedEventData) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type HealthcareDicomImageCreatedEventData.

type HealthcareDicomImageDeletedEventData

type HealthcareDicomImageDeletedEventData struct {
	// Unique identifier for the Series
	ImageSeriesInstanceUID *string

	// Unique identifier for the DICOM Image
	ImageSopInstanceUID *string

	// Unique identifier for the Study
	ImageStudyInstanceUID *string

	// Data partition name
	PartitionName *string

	// Sequence number of the DICOM Service within Azure Health Data Services. It is unique for every image creation and deletion
	// within the service.
	SequenceNumber *int64

	// Host name of the DICOM account for this image.
	ServiceHostName *string
}

HealthcareDicomImageDeletedEventData - Schema of the Data property of an CloudEvent/EventGridEvent for a Microsoft.HealthcareApis.DicomImageDeleted event.

func (HealthcareDicomImageDeletedEventData) MarshalJSON

func (h HealthcareDicomImageDeletedEventData) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type HealthcareDicomImageDeletedEventData.

func (*HealthcareDicomImageDeletedEventData) UnmarshalJSON

func (h *HealthcareDicomImageDeletedEventData) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type HealthcareDicomImageDeletedEventData.

type HealthcareDicomImageUpdatedEventData

type HealthcareDicomImageUpdatedEventData struct {
	// Unique identifier for the Series
	ImageSeriesInstanceUID *string

	// Unique identifier for the DICOM Image
	ImageSopInstanceUID *string

	// Unique identifier for the Study
	ImageStudyInstanceUID *string

	// Data partition name
	PartitionName *string

	// Sequence number of the DICOM Service within Azure Health Data Services. It is unique for every image creation, updation
	// and deletion within the service.
	SequenceNumber *int64

	// Domain name of the DICOM account for this image.
	ServiceHostName *string
}

HealthcareDicomImageUpdatedEventData - Schema of the Data property of an CloudEvent/EventGridEvent for a Microsoft.HealthcareApis.DicomImageUpdated event.

func (HealthcareDicomImageUpdatedEventData) MarshalJSON

func (h HealthcareDicomImageUpdatedEventData) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type HealthcareDicomImageUpdatedEventData.

func (*HealthcareDicomImageUpdatedEventData) UnmarshalJSON

func (h *HealthcareDicomImageUpdatedEventData) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type HealthcareDicomImageUpdatedEventData.

type HealthcareFhirResourceCreatedEventData

type HealthcareFhirResourceCreatedEventData struct {
	// Id of HL7 FHIR resource.
	FhirResourceID *string

	// Type of HL7 FHIR resource.
	FhirResourceType *HealthcareFhirResourceType

	// VersionId of HL7 FHIR resource. It changes when the resource is created, updated, or deleted(soft-deletion).
	FhirResourceVersionID *int64

	// Domain name of FHIR account for this resource.
	FhirServiceHostName *string
}

HealthcareFhirResourceCreatedEventData - Schema of the Data property of an CloudEvent/EventGridEvent for a Microsoft.HealthcareApis.FhirResourceCreated event.

func (HealthcareFhirResourceCreatedEventData) MarshalJSON

func (h HealthcareFhirResourceCreatedEventData) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type HealthcareFhirResourceCreatedEventData.

func (*HealthcareFhirResourceCreatedEventData) UnmarshalJSON

func (h *HealthcareFhirResourceCreatedEventData) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type HealthcareFhirResourceCreatedEventData.

type HealthcareFhirResourceDeletedEventData

type HealthcareFhirResourceDeletedEventData struct {
	// Id of HL7 FHIR resource.
	FhirResourceID *string

	// Type of HL7 FHIR resource.
	FhirResourceType *HealthcareFhirResourceType

	// VersionId of HL7 FHIR resource. It changes when the resource is created, updated, or deleted(soft-deletion).
	FhirResourceVersionID *int64

	// Domain name of FHIR account for this resource.
	FhirServiceHostName *string
}

HealthcareFhirResourceDeletedEventData - Schema of the Data property of an CloudEvent/EventGridEvent for a Microsoft.HealthcareApis.FhirResourceDeleted event.

func (HealthcareFhirResourceDeletedEventData) MarshalJSON

func (h HealthcareFhirResourceDeletedEventData) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type HealthcareFhirResourceDeletedEventData.

func (*HealthcareFhirResourceDeletedEventData) UnmarshalJSON

func (h *HealthcareFhirResourceDeletedEventData) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type HealthcareFhirResourceDeletedEventData.

type HealthcareFhirResourceType

type HealthcareFhirResourceType string

HealthcareFhirResourceType - Schema of FHIR resource type enumeration.

const (
	// HealthcareFhirResourceTypeAccount - The FHIR resource type defined in STU3 and R4.
	HealthcareFhirResourceTypeAccount HealthcareFhirResourceType = "Account"
	// HealthcareFhirResourceTypeActivityDefinition - The FHIR resource type defined in STU3 and R4.
	HealthcareFhirResourceTypeActivityDefinition HealthcareFhirResourceType = "ActivityDefinition"
	// HealthcareFhirResourceTypeAdverseEvent - The FHIR resource type defined in STU3 and R4.
	HealthcareFhirResourceTypeAdverseEvent HealthcareFhirResourceType = "AdverseEvent"
	// HealthcareFhirResourceTypeAllergyIntolerance - The FHIR resource type defined in STU3 and R4.
	HealthcareFhirResourceTypeAllergyIntolerance HealthcareFhirResourceType = "AllergyIntolerance"
	// HealthcareFhirResourceTypeAppointment - The FHIR resource type defined in STU3 and R4.
	HealthcareFhirResourceTypeAppointment HealthcareFhirResourceType = "Appointment"
	// HealthcareFhirResourceTypeAppointmentResponse - The FHIR resource type defined in STU3 and R4.
	HealthcareFhirResourceTypeAppointmentResponse HealthcareFhirResourceType = "AppointmentResponse"
	// HealthcareFhirResourceTypeAuditEvent - The FHIR resource type defined in STU3 and R4.
	HealthcareFhirResourceTypeAuditEvent HealthcareFhirResourceType = "AuditEvent"
	// HealthcareFhirResourceTypeBasic - The FHIR resource type defined in STU3 and R4.
	HealthcareFhirResourceTypeBasic HealthcareFhirResourceType = "Basic"
	// HealthcareFhirResourceTypeBinary - The FHIR resource type defined in STU3 and R4.
	HealthcareFhirResourceTypeBinary HealthcareFhirResourceType = "Binary"
	// HealthcareFhirResourceTypeBiologicallyDerivedProduct - The FHIR resource type defined in R4.
	HealthcareFhirResourceTypeBiologicallyDerivedProduct HealthcareFhirResourceType = "BiologicallyDerivedProduct"
	// HealthcareFhirResourceTypeBodySite - The FHIR resource type defined in STU3.
	HealthcareFhirResourceTypeBodySite HealthcareFhirResourceType = "BodySite"
	// HealthcareFhirResourceTypeBodyStructure - The FHIR resource type defined in R4.
	HealthcareFhirResourceTypeBodyStructure HealthcareFhirResourceType = "BodyStructure"
	// HealthcareFhirResourceTypeBundle - The FHIR resource type defined in STU3 and R4.
	HealthcareFhirResourceTypeBundle HealthcareFhirResourceType = "Bundle"
	// HealthcareFhirResourceTypeCapabilityStatement - The FHIR resource type defined in STU3 and R4.
	HealthcareFhirResourceTypeCapabilityStatement HealthcareFhirResourceType = "CapabilityStatement"
	// HealthcareFhirResourceTypeCarePlan - The FHIR resource type defined in STU3 and R4.
	HealthcareFhirResourceTypeCarePlan HealthcareFhirResourceType = "CarePlan"
	// HealthcareFhirResourceTypeCareTeam - The FHIR resource type defined in STU3 and R4.
	HealthcareFhirResourceTypeCareTeam HealthcareFhirResourceType = "CareTeam"
	// HealthcareFhirResourceTypeCatalogEntry - The FHIR resource type defined in R4.
	HealthcareFhirResourceTypeCatalogEntry HealthcareFhirResourceType = "CatalogEntry"
	// HealthcareFhirResourceTypeChargeItem - The FHIR resource type defined in STU3 and R4.
	HealthcareFhirResourceTypeChargeItem HealthcareFhirResourceType = "ChargeItem"
	// HealthcareFhirResourceTypeChargeItemDefinition - The FHIR resource type defined in R4.
	HealthcareFhirResourceTypeChargeItemDefinition HealthcareFhirResourceType = "ChargeItemDefinition"
	// HealthcareFhirResourceTypeClaim - The FHIR resource type defined in STU3 and R4.
	HealthcareFhirResourceTypeClaim HealthcareFhirResourceType = "Claim"
	// HealthcareFhirResourceTypeClaimResponse - The FHIR resource type defined in STU3 and R4.
	HealthcareFhirResourceTypeClaimResponse HealthcareFhirResourceType = "ClaimResponse"
	// HealthcareFhirResourceTypeClinicalImpression - The FHIR resource type defined in STU3 and R4.
	HealthcareFhirResourceTypeClinicalImpression HealthcareFhirResourceType = "ClinicalImpression"
	// HealthcareFhirResourceTypeCodeSystem - The FHIR resource type defined in STU3 and R4.
	HealthcareFhirResourceTypeCodeSystem HealthcareFhirResourceType = "CodeSystem"
	// HealthcareFhirResourceTypeCommunication - The FHIR resource type defined in STU3 and R4.
	HealthcareFhirResourceTypeCommunication HealthcareFhirResourceType = "Communication"
	// HealthcareFhirResourceTypeCommunicationRequest - The FHIR resource type defined in STU3 and R4.
	HealthcareFhirResourceTypeCommunicationRequest HealthcareFhirResourceType = "CommunicationRequest"
	// HealthcareFhirResourceTypeCompartmentDefinition - The FHIR resource type defined in STU3 and R4.
	HealthcareFhirResourceTypeCompartmentDefinition HealthcareFhirResourceType = "CompartmentDefinition"
	// HealthcareFhirResourceTypeComposition - The FHIR resource type defined in STU3 and R4.
	HealthcareFhirResourceTypeComposition HealthcareFhirResourceType = "Composition"
	// HealthcareFhirResourceTypeConceptMap - The FHIR resource type defined in STU3 and R4.
	HealthcareFhirResourceTypeConceptMap HealthcareFhirResourceType = "ConceptMap"
	// HealthcareFhirResourceTypeCondition - The FHIR resource type defined in STU3 and R4.
	HealthcareFhirResourceTypeCondition HealthcareFhirResourceType = "Condition"
	// HealthcareFhirResourceTypeConsent - The FHIR resource type defined in STU3 and R4.
	HealthcareFhirResourceTypeConsent HealthcareFhirResourceType = "Consent"
	// HealthcareFhirResourceTypeContract - The FHIR resource type defined in STU3 and R4.
	HealthcareFhirResourceTypeContract HealthcareFhirResourceType = "Contract"
	// HealthcareFhirResourceTypeCoverage - The FHIR resource type defined in STU3 and R4.
	HealthcareFhirResourceTypeCoverage HealthcareFhirResourceType = "Coverage"
	// HealthcareFhirResourceTypeCoverageEligibilityRequest - The FHIR resource type defined in R4.
	HealthcareFhirResourceTypeCoverageEligibilityRequest HealthcareFhirResourceType = "CoverageEligibilityRequest"
	// HealthcareFhirResourceTypeCoverageEligibilityResponse - The FHIR resource type defined in R4.
	HealthcareFhirResourceTypeCoverageEligibilityResponse HealthcareFhirResourceType = "CoverageEligibilityResponse"
	// HealthcareFhirResourceTypeDataElement - The FHIR resource type defined in STU3.
	HealthcareFhirResourceTypeDataElement HealthcareFhirResourceType = "DataElement"
	// HealthcareFhirResourceTypeDetectedIssue - The FHIR resource type defined in STU3 and R4.
	HealthcareFhirResourceTypeDetectedIssue HealthcareFhirResourceType = "DetectedIssue"
	// HealthcareFhirResourceTypeDevice - The FHIR resource type defined in STU3 and R4.
	HealthcareFhirResourceTypeDevice HealthcareFhirResourceType = "Device"
	// HealthcareFhirResourceTypeDeviceComponent - The FHIR resource type defined in STU3.
	HealthcareFhirResourceTypeDeviceComponent HealthcareFhirResourceType = "DeviceComponent"
	// HealthcareFhirResourceTypeDeviceDefinition - The FHIR resource type defined in R4.
	HealthcareFhirResourceTypeDeviceDefinition HealthcareFhirResourceType = "DeviceDefinition"
	// HealthcareFhirResourceTypeDeviceMetric - The FHIR resource type defined in STU3 and R4.
	HealthcareFhirResourceTypeDeviceMetric HealthcareFhirResourceType = "DeviceMetric"
	// HealthcareFhirResourceTypeDeviceRequest - The FHIR resource type defined in STU3 and R4.
	HealthcareFhirResourceTypeDeviceRequest HealthcareFhirResourceType = "DeviceRequest"
	// HealthcareFhirResourceTypeDeviceUseStatement - The FHIR resource type defined in STU3 and R4.
	HealthcareFhirResourceTypeDeviceUseStatement HealthcareFhirResourceType = "DeviceUseStatement"
	// HealthcareFhirResourceTypeDiagnosticReport - The FHIR resource type defined in STU3 and R4.
	HealthcareFhirResourceTypeDiagnosticReport HealthcareFhirResourceType = "DiagnosticReport"
	// HealthcareFhirResourceTypeDocumentManifest - The FHIR resource type defined in STU3 and R4.
	HealthcareFhirResourceTypeDocumentManifest HealthcareFhirResourceType = "DocumentManifest"
	// HealthcareFhirResourceTypeDocumentReference - The FHIR resource type defined in STU3 and R4.
	HealthcareFhirResourceTypeDocumentReference HealthcareFhirResourceType = "DocumentReference"
	// HealthcareFhirResourceTypeDomainResource - The FHIR resource type defined in STU3 and R4.
	HealthcareFhirResourceTypeDomainResource HealthcareFhirResourceType = "DomainResource"
	// HealthcareFhirResourceTypeEffectEvidenceSynthesis - The FHIR resource type defined in R4.
	HealthcareFhirResourceTypeEffectEvidenceSynthesis HealthcareFhirResourceType = "EffectEvidenceSynthesis"
	// HealthcareFhirResourceTypeEligibilityRequest - The FHIR resource type defined in STU3.
	HealthcareFhirResourceTypeEligibilityRequest HealthcareFhirResourceType = "EligibilityRequest"
	// HealthcareFhirResourceTypeEligibilityResponse - The FHIR resource type defined in STU3.
	HealthcareFhirResourceTypeEligibilityResponse HealthcareFhirResourceType = "EligibilityResponse"
	// HealthcareFhirResourceTypeEncounter - The FHIR resource type defined in STU3 and R4.
	HealthcareFhirResourceTypeEncounter HealthcareFhirResourceType = "Encounter"
	// HealthcareFhirResourceTypeEndpoint - The FHIR resource type defined in STU3 and R4.
	HealthcareFhirResourceTypeEndpoint HealthcareFhirResourceType = "Endpoint"
	// HealthcareFhirResourceTypeEnrollmentRequest - The FHIR resource type defined in STU3 and R4.
	HealthcareFhirResourceTypeEnrollmentRequest HealthcareFhirResourceType = "EnrollmentRequest"
	// HealthcareFhirResourceTypeEnrollmentResponse - The FHIR resource type defined in STU3 and R4.
	HealthcareFhirResourceTypeEnrollmentResponse HealthcareFhirResourceType = "EnrollmentResponse"
	// HealthcareFhirResourceTypeEpisodeOfCare - The FHIR resource type defined in STU3 and R4.
	HealthcareFhirResourceTypeEpisodeOfCare HealthcareFhirResourceType = "EpisodeOfCare"
	// HealthcareFhirResourceTypeEventDefinition - The FHIR resource type defined in R4.
	HealthcareFhirResourceTypeEventDefinition HealthcareFhirResourceType = "EventDefinition"
	// HealthcareFhirResourceTypeEvidence - The FHIR resource type defined in R4.
	HealthcareFhirResourceTypeEvidence HealthcareFhirResourceType = "Evidence"
	// HealthcareFhirResourceTypeEvidenceVariable - The FHIR resource type defined in R4.
	HealthcareFhirResourceTypeEvidenceVariable HealthcareFhirResourceType = "EvidenceVariable"
	// HealthcareFhirResourceTypeExampleScenario - The FHIR resource type defined in R4.
	HealthcareFhirResourceTypeExampleScenario HealthcareFhirResourceType = "ExampleScenario"
	// HealthcareFhirResourceTypeExpansionProfile - The FHIR resource type defined in STU3.
	HealthcareFhirResourceTypeExpansionProfile HealthcareFhirResourceType = "ExpansionProfile"
	// HealthcareFhirResourceTypeExplanationOfBenefit - The FHIR resource type defined in STU3 and R4.
	HealthcareFhirResourceTypeExplanationOfBenefit HealthcareFhirResourceType = "ExplanationOfBenefit"
	// HealthcareFhirResourceTypeFamilyMemberHistory - The FHIR resource type defined in STU3 and R4.
	HealthcareFhirResourceTypeFamilyMemberHistory HealthcareFhirResourceType = "FamilyMemberHistory"
	// HealthcareFhirResourceTypeFlag - The FHIR resource type defined in STU3 and R4.
	HealthcareFhirResourceTypeFlag HealthcareFhirResourceType = "Flag"
	// HealthcareFhirResourceTypeGoal - The FHIR resource type defined in STU3 and R4.
	HealthcareFhirResourceTypeGoal HealthcareFhirResourceType = "Goal"
	// HealthcareFhirResourceTypeGraphDefinition - The FHIR resource type defined in STU3 and R4.
	HealthcareFhirResourceTypeGraphDefinition HealthcareFhirResourceType = "GraphDefinition"
	// HealthcareFhirResourceTypeGroup - The FHIR resource type defined in STU3 and R4.
	HealthcareFhirResourceTypeGroup HealthcareFhirResourceType = "Group"
	// HealthcareFhirResourceTypeGuidanceResponse - The FHIR resource type defined in STU3 and R4.
	HealthcareFhirResourceTypeGuidanceResponse HealthcareFhirResourceType = "GuidanceResponse"
	// HealthcareFhirResourceTypeHealthcareService - The FHIR resource type defined in STU3 and R4.
	HealthcareFhirResourceTypeHealthcareService HealthcareFhirResourceType = "HealthcareService"
	// HealthcareFhirResourceTypeImagingManifest - The FHIR resource type defined in STU3.
	HealthcareFhirResourceTypeImagingManifest HealthcareFhirResourceType = "ImagingManifest"
	// HealthcareFhirResourceTypeImagingStudy - The FHIR resource type defined in STU3 and R4.
	HealthcareFhirResourceTypeImagingStudy HealthcareFhirResourceType = "ImagingStudy"
	// HealthcareFhirResourceTypeImmunization - The FHIR resource type defined in STU3 and R4.
	HealthcareFhirResourceTypeImmunization HealthcareFhirResourceType = "Immunization"
	// HealthcareFhirResourceTypeImmunizationEvaluation - The FHIR resource type defined in R4.
	HealthcareFhirResourceTypeImmunizationEvaluation HealthcareFhirResourceType = "ImmunizationEvaluation"
	// HealthcareFhirResourceTypeImmunizationRecommendation - The FHIR resource type defined in STU3 and R4.
	HealthcareFhirResourceTypeImmunizationRecommendation HealthcareFhirResourceType = "ImmunizationRecommendation"
	// HealthcareFhirResourceTypeImplementationGuide - The FHIR resource type defined in STU3 and R4.
	HealthcareFhirResourceTypeImplementationGuide HealthcareFhirResourceType = "ImplementationGuide"
	// HealthcareFhirResourceTypeInsurancePlan - The FHIR resource type defined in R4.
	HealthcareFhirResourceTypeInsurancePlan HealthcareFhirResourceType = "InsurancePlan"
	// HealthcareFhirResourceTypeInvoice - The FHIR resource type defined in R4.
	HealthcareFhirResourceTypeInvoice HealthcareFhirResourceType = "Invoice"
	// HealthcareFhirResourceTypeLibrary - The FHIR resource type defined in STU3 and R4.
	HealthcareFhirResourceTypeLibrary HealthcareFhirResourceType = "Library"
	// HealthcareFhirResourceTypeLinkage - The FHIR resource type defined in STU3 and R4.
	HealthcareFhirResourceTypeLinkage HealthcareFhirResourceType = "Linkage"
	// HealthcareFhirResourceTypeList - The FHIR resource type defined in STU3 and R4.
	HealthcareFhirResourceTypeList HealthcareFhirResourceType = "List"
	// HealthcareFhirResourceTypeLocation - The FHIR resource type defined in STU3 and R4.
	HealthcareFhirResourceTypeLocation HealthcareFhirResourceType = "Location"
	// HealthcareFhirResourceTypeMeasure - The FHIR resource type defined in STU3 and R4.
	HealthcareFhirResourceTypeMeasure HealthcareFhirResourceType = "Measure"
	// HealthcareFhirResourceTypeMeasureReport - The FHIR resource type defined in STU3 and R4.
	HealthcareFhirResourceTypeMeasureReport HealthcareFhirResourceType = "MeasureReport"
	// HealthcareFhirResourceTypeMedia - The FHIR resource type defined in STU3 and R4.
	HealthcareFhirResourceTypeMedia HealthcareFhirResourceType = "Media"
	// HealthcareFhirResourceTypeMedication - The FHIR resource type defined in STU3 and R4.
	HealthcareFhirResourceTypeMedication HealthcareFhirResourceType = "Medication"
	// HealthcareFhirResourceTypeMedicationAdministration - The FHIR resource type defined in STU3 and R4.
	HealthcareFhirResourceTypeMedicationAdministration HealthcareFhirResourceType = "MedicationAdministration"
	// HealthcareFhirResourceTypeMedicationDispense - The FHIR resource type defined in STU3 and R4.
	HealthcareFhirResourceTypeMedicationDispense HealthcareFhirResourceType = "MedicationDispense"
	// HealthcareFhirResourceTypeMedicationKnowledge - The FHIR resource type defined in R4.
	HealthcareFhirResourceTypeMedicationKnowledge HealthcareFhirResourceType = "MedicationKnowledge"
	// HealthcareFhirResourceTypeMedicationRequest - The FHIR resource type defined in STU3 and R4.
	HealthcareFhirResourceTypeMedicationRequest HealthcareFhirResourceType = "MedicationRequest"
	// HealthcareFhirResourceTypeMedicationStatement - The FHIR resource type defined in STU3 and R4.
	HealthcareFhirResourceTypeMedicationStatement HealthcareFhirResourceType = "MedicationStatement"
	// HealthcareFhirResourceTypeMedicinalProduct - The FHIR resource type defined in R4.
	HealthcareFhirResourceTypeMedicinalProduct HealthcareFhirResourceType = "MedicinalProduct"
	// HealthcareFhirResourceTypeMedicinalProductAuthorization - The FHIR resource type defined in R4.
	HealthcareFhirResourceTypeMedicinalProductAuthorization HealthcareFhirResourceType = "MedicinalProductAuthorization"
	// HealthcareFhirResourceTypeMedicinalProductContraindication - The FHIR resource type defined in R4.
	HealthcareFhirResourceTypeMedicinalProductContraindication HealthcareFhirResourceType = "MedicinalProductContraindication"
	// HealthcareFhirResourceTypeMedicinalProductIndication - The FHIR resource type defined in R4.
	HealthcareFhirResourceTypeMedicinalProductIndication HealthcareFhirResourceType = "MedicinalProductIndication"
	// HealthcareFhirResourceTypeMedicinalProductIngredient - The FHIR resource type defined in R4.
	HealthcareFhirResourceTypeMedicinalProductIngredient HealthcareFhirResourceType = "MedicinalProductIngredient"
	// HealthcareFhirResourceTypeMedicinalProductInteraction - The FHIR resource type defined in R4.
	HealthcareFhirResourceTypeMedicinalProductInteraction HealthcareFhirResourceType = "MedicinalProductInteraction"
	// HealthcareFhirResourceTypeMedicinalProductManufactured - The FHIR resource type defined in R4.
	HealthcareFhirResourceTypeMedicinalProductManufactured HealthcareFhirResourceType = "MedicinalProductManufactured"
	// HealthcareFhirResourceTypeMedicinalProductPackaged - The FHIR resource type defined in R4.
	HealthcareFhirResourceTypeMedicinalProductPackaged HealthcareFhirResourceType = "MedicinalProductPackaged"
	// HealthcareFhirResourceTypeMedicinalProductPharmaceutical - The FHIR resource type defined in R4.
	HealthcareFhirResourceTypeMedicinalProductPharmaceutical HealthcareFhirResourceType = "MedicinalProductPharmaceutical"
	// HealthcareFhirResourceTypeMedicinalProductUndesirableEffect - The FHIR resource type defined in R4.
	HealthcareFhirResourceTypeMedicinalProductUndesirableEffect HealthcareFhirResourceType = "MedicinalProductUndesirableEffect"
	// HealthcareFhirResourceTypeMessageDefinition - The FHIR resource type defined in STU3 and R4.
	HealthcareFhirResourceTypeMessageDefinition HealthcareFhirResourceType = "MessageDefinition"
	// HealthcareFhirResourceTypeMessageHeader - The FHIR resource type defined in STU3 and R4.
	HealthcareFhirResourceTypeMessageHeader HealthcareFhirResourceType = "MessageHeader"
	// HealthcareFhirResourceTypeMolecularSequence - The FHIR resource type defined in R4.
	HealthcareFhirResourceTypeMolecularSequence HealthcareFhirResourceType = "MolecularSequence"
	// HealthcareFhirResourceTypeNamingSystem - The FHIR resource type defined in STU3 and R4.
	HealthcareFhirResourceTypeNamingSystem HealthcareFhirResourceType = "NamingSystem"
	// HealthcareFhirResourceTypeNutritionOrder - The FHIR resource type defined in STU3 and R4.
	HealthcareFhirResourceTypeNutritionOrder HealthcareFhirResourceType = "NutritionOrder"
	// HealthcareFhirResourceTypeObservation - The FHIR resource type defined in STU3 and R4.
	HealthcareFhirResourceTypeObservation HealthcareFhirResourceType = "Observation"
	// HealthcareFhirResourceTypeObservationDefinition - The FHIR resource type defined in R4.
	HealthcareFhirResourceTypeObservationDefinition HealthcareFhirResourceType = "ObservationDefinition"
	// HealthcareFhirResourceTypeOperationDefinition - The FHIR resource type defined in STU3 and R4.
	HealthcareFhirResourceTypeOperationDefinition HealthcareFhirResourceType = "OperationDefinition"
	// HealthcareFhirResourceTypeOperationOutcome - The FHIR resource type defined in STU3 and R4.
	HealthcareFhirResourceTypeOperationOutcome HealthcareFhirResourceType = "OperationOutcome"
	// HealthcareFhirResourceTypeOrganization - The FHIR resource type defined in STU3 and R4.
	HealthcareFhirResourceTypeOrganization HealthcareFhirResourceType = "Organization"
	// HealthcareFhirResourceTypeOrganizationAffiliation - The FHIR resource type defined in R4.
	HealthcareFhirResourceTypeOrganizationAffiliation HealthcareFhirResourceType = "OrganizationAffiliation"
	// HealthcareFhirResourceTypeParameters - The FHIR resource type defined in STU3 and R4.
	HealthcareFhirResourceTypeParameters HealthcareFhirResourceType = "Parameters"
	// HealthcareFhirResourceTypePatient - The FHIR resource type defined in STU3 and R4.
	HealthcareFhirResourceTypePatient HealthcareFhirResourceType = "Patient"
	// HealthcareFhirResourceTypePaymentNotice - The FHIR resource type defined in STU3 and R4.
	HealthcareFhirResourceTypePaymentNotice HealthcareFhirResourceType = "PaymentNotice"
	// HealthcareFhirResourceTypePaymentReconciliation - The FHIR resource type defined in STU3 and R4.
	HealthcareFhirResourceTypePaymentReconciliation HealthcareFhirResourceType = "PaymentReconciliation"
	// HealthcareFhirResourceTypePerson - The FHIR resource type defined in STU3 and R4.
	HealthcareFhirResourceTypePerson HealthcareFhirResourceType = "Person"
	// HealthcareFhirResourceTypePlanDefinition - The FHIR resource type defined in STU3 and R4.
	HealthcareFhirResourceTypePlanDefinition HealthcareFhirResourceType = "PlanDefinition"
	// HealthcareFhirResourceTypePractitioner - The FHIR resource type defined in STU3 and R4.
	HealthcareFhirResourceTypePractitioner HealthcareFhirResourceType = "Practitioner"
	// HealthcareFhirResourceTypePractitionerRole - The FHIR resource type defined in STU3 and R4.
	HealthcareFhirResourceTypePractitionerRole HealthcareFhirResourceType = "PractitionerRole"
	// HealthcareFhirResourceTypeProcedure - The FHIR resource type defined in STU3 and R4.
	HealthcareFhirResourceTypeProcedure HealthcareFhirResourceType = "Procedure"
	// HealthcareFhirResourceTypeProcedureRequest - The FHIR resource type defined in STU3.
	HealthcareFhirResourceTypeProcedureRequest HealthcareFhirResourceType = "ProcedureRequest"
	// HealthcareFhirResourceTypeProcessRequest - The FHIR resource type defined in STU3.
	HealthcareFhirResourceTypeProcessRequest HealthcareFhirResourceType = "ProcessRequest"
	// HealthcareFhirResourceTypeProcessResponse - The FHIR resource type defined in STU3.
	HealthcareFhirResourceTypeProcessResponse HealthcareFhirResourceType = "ProcessResponse"
	// HealthcareFhirResourceTypeProvenance - The FHIR resource type defined in STU3 and R4.
	HealthcareFhirResourceTypeProvenance HealthcareFhirResourceType = "Provenance"
	// HealthcareFhirResourceTypeQuestionnaire - The FHIR resource type defined in STU3 and R4.
	HealthcareFhirResourceTypeQuestionnaire HealthcareFhirResourceType = "Questionnaire"
	// HealthcareFhirResourceTypeQuestionnaireResponse - The FHIR resource type defined in STU3 and R4.
	HealthcareFhirResourceTypeQuestionnaireResponse HealthcareFhirResourceType = "QuestionnaireResponse"
	// HealthcareFhirResourceTypeReferralRequest - The FHIR resource type defined in STU3.
	HealthcareFhirResourceTypeReferralRequest HealthcareFhirResourceType = "ReferralRequest"
	// HealthcareFhirResourceTypeRelatedPerson - The FHIR resource type defined in STU3 and R4.
	HealthcareFhirResourceTypeRelatedPerson HealthcareFhirResourceType = "RelatedPerson"
	// HealthcareFhirResourceTypeRequestGroup - The FHIR resource type defined in STU3 and R4.
	HealthcareFhirResourceTypeRequestGroup HealthcareFhirResourceType = "RequestGroup"
	// HealthcareFhirResourceTypeResearchDefinition - The FHIR resource type defined in R4.
	HealthcareFhirResourceTypeResearchDefinition HealthcareFhirResourceType = "ResearchDefinition"
	// HealthcareFhirResourceTypeResearchElementDefinition - The FHIR resource type defined in R4.
	HealthcareFhirResourceTypeResearchElementDefinition HealthcareFhirResourceType = "ResearchElementDefinition"
	// HealthcareFhirResourceTypeResearchStudy - The FHIR resource type defined in STU3 and R4.
	HealthcareFhirResourceTypeResearchStudy HealthcareFhirResourceType = "ResearchStudy"
	// HealthcareFhirResourceTypeResearchSubject - The FHIR resource type defined in STU3 and R4.
	HealthcareFhirResourceTypeResearchSubject HealthcareFhirResourceType = "ResearchSubject"
	// HealthcareFhirResourceTypeResource - The FHIR resource type defined in STU3 and R4.
	HealthcareFhirResourceTypeResource HealthcareFhirResourceType = "Resource"
	// HealthcareFhirResourceTypeRiskAssessment - The FHIR resource type defined in STU3 and R4.
	HealthcareFhirResourceTypeRiskAssessment HealthcareFhirResourceType = "RiskAssessment"
	// HealthcareFhirResourceTypeRiskEvidenceSynthesis - The FHIR resource type defined in R4.
	HealthcareFhirResourceTypeRiskEvidenceSynthesis HealthcareFhirResourceType = "RiskEvidenceSynthesis"
	// HealthcareFhirResourceTypeSchedule - The FHIR resource type defined in STU3 and R4.
	HealthcareFhirResourceTypeSchedule HealthcareFhirResourceType = "Schedule"
	// HealthcareFhirResourceTypeSearchParameter - The FHIR resource type defined in STU3 and R4.
	HealthcareFhirResourceTypeSearchParameter HealthcareFhirResourceType = "SearchParameter"
	// HealthcareFhirResourceTypeSequence - The FHIR resource type defined in STU3.
	HealthcareFhirResourceTypeSequence HealthcareFhirResourceType = "Sequence"
	// HealthcareFhirResourceTypeServiceDefinition - The FHIR resource type defined in STU3.
	HealthcareFhirResourceTypeServiceDefinition HealthcareFhirResourceType = "ServiceDefinition"
	// HealthcareFhirResourceTypeServiceRequest - The FHIR resource type defined in R4.
	HealthcareFhirResourceTypeServiceRequest HealthcareFhirResourceType = "ServiceRequest"
	// HealthcareFhirResourceTypeSlot - The FHIR resource type defined in STU3 and R4.
	HealthcareFhirResourceTypeSlot HealthcareFhirResourceType = "Slot"
	// HealthcareFhirResourceTypeSpecimen - The FHIR resource type defined in STU3 and R4.
	HealthcareFhirResourceTypeSpecimen HealthcareFhirResourceType = "Specimen"
	// HealthcareFhirResourceTypeSpecimenDefinition - The FHIR resource type defined in R4.
	HealthcareFhirResourceTypeSpecimenDefinition HealthcareFhirResourceType = "SpecimenDefinition"
	// HealthcareFhirResourceTypeStructureDefinition - The FHIR resource type defined in STU3 and R4.
	HealthcareFhirResourceTypeStructureDefinition HealthcareFhirResourceType = "StructureDefinition"
	// HealthcareFhirResourceTypeStructureMap - The FHIR resource type defined in STU3 and R4.
	HealthcareFhirResourceTypeStructureMap HealthcareFhirResourceType = "StructureMap"
	// HealthcareFhirResourceTypeSubscription - The FHIR resource type defined in STU3 and R4.
	HealthcareFhirResourceTypeSubscription HealthcareFhirResourceType = "Subscription"
	// HealthcareFhirResourceTypeSubstance - The FHIR resource type defined in STU3 and R4.
	HealthcareFhirResourceTypeSubstance HealthcareFhirResourceType = "Substance"
	// HealthcareFhirResourceTypeSubstanceNucleicAcid - The FHIR resource type defined in R4.
	HealthcareFhirResourceTypeSubstanceNucleicAcid HealthcareFhirResourceType = "SubstanceNucleicAcid"
	// HealthcareFhirResourceTypeSubstancePolymer - The FHIR resource type defined in R4.
	HealthcareFhirResourceTypeSubstancePolymer HealthcareFhirResourceType = "SubstancePolymer"
	// HealthcareFhirResourceTypeSubstanceProtein - The FHIR resource type defined in R4.
	HealthcareFhirResourceTypeSubstanceProtein HealthcareFhirResourceType = "SubstanceProtein"
	// HealthcareFhirResourceTypeSubstanceReferenceInformation - The FHIR resource type defined in R4.
	HealthcareFhirResourceTypeSubstanceReferenceInformation HealthcareFhirResourceType = "SubstanceReferenceInformation"
	// HealthcareFhirResourceTypeSubstanceSourceMaterial - The FHIR resource type defined in R4.
	HealthcareFhirResourceTypeSubstanceSourceMaterial HealthcareFhirResourceType = "SubstanceSourceMaterial"
	// HealthcareFhirResourceTypeSubstanceSpecification - The FHIR resource type defined in R4.
	HealthcareFhirResourceTypeSubstanceSpecification HealthcareFhirResourceType = "SubstanceSpecification"
	// HealthcareFhirResourceTypeSupplyDelivery - The FHIR resource type defined in STU3 and R4.
	HealthcareFhirResourceTypeSupplyDelivery HealthcareFhirResourceType = "SupplyDelivery"
	// HealthcareFhirResourceTypeSupplyRequest - The FHIR resource type defined in STU3 and R4.
	HealthcareFhirResourceTypeSupplyRequest HealthcareFhirResourceType = "SupplyRequest"
	// HealthcareFhirResourceTypeTask - The FHIR resource type defined in STU3 and R4.
	HealthcareFhirResourceTypeTask HealthcareFhirResourceType = "Task"
	// HealthcareFhirResourceTypeTerminologyCapabilities - The FHIR resource type defined in R4.
	HealthcareFhirResourceTypeTerminologyCapabilities HealthcareFhirResourceType = "TerminologyCapabilities"
	// HealthcareFhirResourceTypeTestReport - The FHIR resource type defined in STU3 and R4.
	HealthcareFhirResourceTypeTestReport HealthcareFhirResourceType = "TestReport"
	// HealthcareFhirResourceTypeTestScript - The FHIR resource type defined in STU3 and R4.
	HealthcareFhirResourceTypeTestScript HealthcareFhirResourceType = "TestScript"
	// HealthcareFhirResourceTypeValueSet - The FHIR resource type defined in STU3 and R4.
	HealthcareFhirResourceTypeValueSet HealthcareFhirResourceType = "ValueSet"
	// HealthcareFhirResourceTypeVerificationResult - The FHIR resource type defined in R4.
	HealthcareFhirResourceTypeVerificationResult HealthcareFhirResourceType = "VerificationResult"
	// HealthcareFhirResourceTypeVisionPrescription - The FHIR resource type defined in STU3 and R4.
	HealthcareFhirResourceTypeVisionPrescription HealthcareFhirResourceType = "VisionPrescription"
)

func PossibleHealthcareFhirResourceTypeValues

func PossibleHealthcareFhirResourceTypeValues() []HealthcareFhirResourceType

PossibleHealthcareFhirResourceTypeValues returns the possible values for the HealthcareFhirResourceType const type.

type HealthcareFhirResourceUpdatedEventData

type HealthcareFhirResourceUpdatedEventData struct {
	// Id of HL7 FHIR resource.
	FhirResourceID *string

	// Type of HL7 FHIR resource.
	FhirResourceType *HealthcareFhirResourceType

	// VersionId of HL7 FHIR resource. It changes when the resource is created, updated, or deleted(soft-deletion).
	FhirResourceVersionID *int64

	// Domain name of FHIR account for this resource.
	FhirServiceHostName *string
}

HealthcareFhirResourceUpdatedEventData - Schema of the Data property of an CloudEvent/EventGridEvent for a Microsoft.HealthcareApis.FhirResourceUpdated event.

func (HealthcareFhirResourceUpdatedEventData) MarshalJSON

func (h HealthcareFhirResourceUpdatedEventData) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type HealthcareFhirResourceUpdatedEventData.

func (*HealthcareFhirResourceUpdatedEventData) UnmarshalJSON

func (h *HealthcareFhirResourceUpdatedEventData) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type HealthcareFhirResourceUpdatedEventData.

type IOTHubDeviceConnectedEventData

type IOTHubDeviceConnectedEventData struct {
	// Information about the device connection state event.
	DeviceConnectionStateEventInfo *DeviceConnectionStateEventInfo

	// The unique identifier of the device. This case-sensitive string can be up to 128 characters long, and supports ASCII 7-bit
	// alphanumeric characters plus the following special characters: - : . + % _ #
	// * ? ! ( ) , = @ ; $ '.
	DeviceID *string

	// Name of the IoT Hub where the device was created or deleted.
	HubName *string

	// The unique identifier of the module. This case-sensitive string can be up to 128 characters long, and supports ASCII 7-bit
	// alphanumeric characters plus the following special characters: - : . + % _ #
	// * ? ! ( ) , = @ ; $ '.
	ModuleID *string
}

IOTHubDeviceConnectedEventData - Event data for Microsoft.Devices.DeviceConnected event.

func (IOTHubDeviceConnectedEventData) MarshalJSON

func (i IOTHubDeviceConnectedEventData) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type IOTHubDeviceConnectedEventData.

func (*IOTHubDeviceConnectedEventData) UnmarshalJSON

func (i *IOTHubDeviceConnectedEventData) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type IOTHubDeviceConnectedEventData.

type IOTHubDeviceCreatedEventData

type IOTHubDeviceCreatedEventData struct {
	// The unique identifier of the device. This case-sensitive string can be up to 128 characters long, and supports ASCII 7-bit
	// alphanumeric characters plus the following special characters: - : . + % _ #
	// * ? ! ( ) , = @ ; $ '.
	DeviceID *string

	// Name of the IoT Hub where the device was created or deleted.
	HubName *string

	// Information about the device twin, which is the cloud representation of application device metadata.
	Twin *DeviceTwinInfo
}

IOTHubDeviceCreatedEventData - Event data for Microsoft.Devices.DeviceCreated event.

func (IOTHubDeviceCreatedEventData) MarshalJSON

func (i IOTHubDeviceCreatedEventData) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type IOTHubDeviceCreatedEventData.

func (*IOTHubDeviceCreatedEventData) UnmarshalJSON

func (i *IOTHubDeviceCreatedEventData) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type IOTHubDeviceCreatedEventData.

type IOTHubDeviceDeletedEventData

type IOTHubDeviceDeletedEventData struct {
	// The unique identifier of the device. This case-sensitive string can be up to 128 characters long, and supports ASCII 7-bit
	// alphanumeric characters plus the following special characters: - : . + % _ #
	// * ? ! ( ) , = @ ; $ '.
	DeviceID *string

	// Name of the IoT Hub where the device was created or deleted.
	HubName *string

	// Information about the device twin, which is the cloud representation of application device metadata.
	Twin *DeviceTwinInfo
}

IOTHubDeviceDeletedEventData - Event data for Microsoft.Devices.DeviceDeleted event.

func (IOTHubDeviceDeletedEventData) MarshalJSON

func (i IOTHubDeviceDeletedEventData) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type IOTHubDeviceDeletedEventData.

func (*IOTHubDeviceDeletedEventData) UnmarshalJSON

func (i *IOTHubDeviceDeletedEventData) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type IOTHubDeviceDeletedEventData.

type IOTHubDeviceDisconnectedEventData

type IOTHubDeviceDisconnectedEventData struct {
	// Information about the device connection state event.
	DeviceConnectionStateEventInfo *DeviceConnectionStateEventInfo

	// The unique identifier of the device. This case-sensitive string can be up to 128 characters long, and supports ASCII 7-bit
	// alphanumeric characters plus the following special characters: - : . + % _ #
	// * ? ! ( ) , = @ ; $ '.
	DeviceID *string

	// Name of the IoT Hub where the device was created or deleted.
	HubName *string

	// The unique identifier of the module. This case-sensitive string can be up to 128 characters long, and supports ASCII 7-bit
	// alphanumeric characters plus the following special characters: - : . + % _ #
	// * ? ! ( ) , = @ ; $ '.
	ModuleID *string
}

IOTHubDeviceDisconnectedEventData - Event data for Microsoft.Devices.DeviceDisconnected event.

func (IOTHubDeviceDisconnectedEventData) MarshalJSON

func (i IOTHubDeviceDisconnectedEventData) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type IOTHubDeviceDisconnectedEventData.

func (*IOTHubDeviceDisconnectedEventData) UnmarshalJSON

func (i *IOTHubDeviceDisconnectedEventData) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type IOTHubDeviceDisconnectedEventData.

type IOTHubDeviceTelemetryEventData

type IOTHubDeviceTelemetryEventData struct {
	// The content of the message from the device.
	Body any

	// Application properties are user-defined strings that can be added to the message. These fields are optional.
	Properties map[string]*string

	// System properties help identify contents and source of the messages.
	SystemProperties map[string]*string
}

IOTHubDeviceTelemetryEventData - Event data for Microsoft.Devices.DeviceTelemetry event.

func (IOTHubDeviceTelemetryEventData) MarshalJSON

func (i IOTHubDeviceTelemetryEventData) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type IOTHubDeviceTelemetryEventData.

func (*IOTHubDeviceTelemetryEventData) UnmarshalJSON

func (i *IOTHubDeviceTelemetryEventData) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type IOTHubDeviceTelemetryEventData.

type KeyVaultAccessPolicyChangedEventData

type KeyVaultAccessPolicyChangedEventData struct {
	// The expiration date of the object that triggered this event
	EXP *float32

	// The id of the object that triggered this event.
	ID *string

	// Not before date of the object that triggered this event
	NBF *float32

	// The name of the object that triggered this event
	ObjectName *string

	// The type of the object that triggered this event
	ObjectType *string

	// Key vault name of the object that triggered this event.
	VaultName *string

	// The version of the object that triggered this event
	Version *string
}

KeyVaultAccessPolicyChangedEventData - Schema of the Data property of an CloudEvent/EventGridEvent for a Microsoft.KeyVault.VaultAccessPolicyChanged event.

func (KeyVaultAccessPolicyChangedEventData) MarshalJSON

func (k KeyVaultAccessPolicyChangedEventData) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type KeyVaultAccessPolicyChangedEventData.

func (*KeyVaultAccessPolicyChangedEventData) UnmarshalJSON

func (k *KeyVaultAccessPolicyChangedEventData) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type KeyVaultAccessPolicyChangedEventData.

type KeyVaultCertificateExpiredEventData

type KeyVaultCertificateExpiredEventData struct {
	// The expiration date of the object that triggered this event
	EXP *float32

	// The id of the object that triggered this event.
	ID *string

	// Not before date of the object that triggered this event
	NBF *float32

	// The name of the object that triggered this event
	ObjectName *string

	// The type of the object that triggered this event
	ObjectType *string

	// Key vault name of the object that triggered this event.
	VaultName *string

	// The version of the object that triggered this event
	Version *string
}

KeyVaultCertificateExpiredEventData - Schema of the Data property of an CloudEvent/EventGridEvent for a Microsoft.KeyVault.CertificateExpired event.

func (KeyVaultCertificateExpiredEventData) MarshalJSON

func (k KeyVaultCertificateExpiredEventData) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type KeyVaultCertificateExpiredEventData.

func (*KeyVaultCertificateExpiredEventData) UnmarshalJSON

func (k *KeyVaultCertificateExpiredEventData) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type KeyVaultCertificateExpiredEventData.

type KeyVaultCertificateNearExpiryEventData

type KeyVaultCertificateNearExpiryEventData struct {
	// The expiration date of the object that triggered this event
	EXP *float32

	// The id of the object that triggered this event.
	ID *string

	// Not before date of the object that triggered this event
	NBF *float32

	// The name of the object that triggered this event
	ObjectName *string

	// The type of the object that triggered this event
	ObjectType *string

	// Key vault name of the object that triggered this event.
	VaultName *string

	// The version of the object that triggered this event
	Version *string
}

KeyVaultCertificateNearExpiryEventData - Schema of the Data property of an CloudEvent/EventGridEvent for a Microsoft.KeyVault.CertificateNearExpiry event.

func (KeyVaultCertificateNearExpiryEventData) MarshalJSON

func (k KeyVaultCertificateNearExpiryEventData) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type KeyVaultCertificateNearExpiryEventData.

func (*KeyVaultCertificateNearExpiryEventData) UnmarshalJSON

func (k *KeyVaultCertificateNearExpiryEventData) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type KeyVaultCertificateNearExpiryEventData.

type KeyVaultCertificateNewVersionCreatedEventData

type KeyVaultCertificateNewVersionCreatedEventData struct {
	// The expiration date of the object that triggered this event
	EXP *float32

	// The id of the object that triggered this event.
	ID *string

	// Not before date of the object that triggered this event
	NBF *float32

	// The name of the object that triggered this event
	ObjectName *string

	// The type of the object that triggered this event
	ObjectType *string

	// Key vault name of the object that triggered this event.
	VaultName *string

	// The version of the object that triggered this event
	Version *string
}

KeyVaultCertificateNewVersionCreatedEventData - Schema of the Data property of an CloudEvent/EventGridEvent for a Microsoft.KeyVault.CertificateNewVersionCreated event.

func (KeyVaultCertificateNewVersionCreatedEventData) MarshalJSON

MarshalJSON implements the json.Marshaller interface for type KeyVaultCertificateNewVersionCreatedEventData.

func (*KeyVaultCertificateNewVersionCreatedEventData) UnmarshalJSON

func (k *KeyVaultCertificateNewVersionCreatedEventData) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type KeyVaultCertificateNewVersionCreatedEventData.

type KeyVaultKeyExpiredEventData

type KeyVaultKeyExpiredEventData struct {
	// The expiration date of the object that triggered this event
	EXP *float32

	// The id of the object that triggered this event.
	ID *string

	// Not before date of the object that triggered this event
	NBF *float32

	// The name of the object that triggered this event
	ObjectName *string

	// The type of the object that triggered this event
	ObjectType *string

	// Key vault name of the object that triggered this event.
	VaultName *string

	// The version of the object that triggered this event
	Version *string
}

KeyVaultKeyExpiredEventData - Schema of the Data property of an CloudEvent/EventGridEvent for a Microsoft.KeyVault.KeyExpired event.

func (KeyVaultKeyExpiredEventData) MarshalJSON

func (k KeyVaultKeyExpiredEventData) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type KeyVaultKeyExpiredEventData.

func (*KeyVaultKeyExpiredEventData) UnmarshalJSON

func (k *KeyVaultKeyExpiredEventData) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type KeyVaultKeyExpiredEventData.

type KeyVaultKeyNearExpiryEventData

type KeyVaultKeyNearExpiryEventData struct {
	// The expiration date of the object that triggered this event
	EXP *float32

	// The id of the object that triggered this event.
	ID *string

	// Not before date of the object that triggered this event
	NBF *float32

	// The name of the object that triggered this event
	ObjectName *string

	// The type of the object that triggered this event
	ObjectType *string

	// Key vault name of the object that triggered this event.
	VaultName *string

	// The version of the object that triggered this event
	Version *string
}

KeyVaultKeyNearExpiryEventData - Schema of the Data property of an CloudEvent/EventGridEvent for a Microsoft.KeyVault.KeyNearExpiry event.

func (KeyVaultKeyNearExpiryEventData) MarshalJSON

func (k KeyVaultKeyNearExpiryEventData) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type KeyVaultKeyNearExpiryEventData.

func (*KeyVaultKeyNearExpiryEventData) UnmarshalJSON

func (k *KeyVaultKeyNearExpiryEventData) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type KeyVaultKeyNearExpiryEventData.

type KeyVaultKeyNewVersionCreatedEventData

type KeyVaultKeyNewVersionCreatedEventData struct {
	// The expiration date of the object that triggered this event
	EXP *float32

	// The id of the object that triggered this event.
	ID *string

	// Not before date of the object that triggered this event
	NBF *float32

	// The name of the object that triggered this event
	ObjectName *string

	// The type of the object that triggered this event
	ObjectType *string

	// Key vault name of the object that triggered this event.
	VaultName *string

	// The version of the object that triggered this event
	Version *string
}

KeyVaultKeyNewVersionCreatedEventData - Schema of the Data property of an CloudEvent/EventGridEvent for a Microsoft.KeyVault.KeyNewVersionCreated event.

func (KeyVaultKeyNewVersionCreatedEventData) MarshalJSON

func (k KeyVaultKeyNewVersionCreatedEventData) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type KeyVaultKeyNewVersionCreatedEventData.

func (*KeyVaultKeyNewVersionCreatedEventData) UnmarshalJSON

func (k *KeyVaultKeyNewVersionCreatedEventData) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type KeyVaultKeyNewVersionCreatedEventData.

type KeyVaultSecretExpiredEventData

type KeyVaultSecretExpiredEventData struct {
	// The expiration date of the object that triggered this event
	EXP *float32

	// The id of the object that triggered this event.
	ID *string

	// Not before date of the object that triggered this event
	NBF *float32

	// The name of the object that triggered this event
	ObjectName *string

	// The type of the object that triggered this event
	ObjectType *string

	// Key vault name of the object that triggered this event.
	VaultName *string

	// The version of the object that triggered this event
	Version *string
}

KeyVaultSecretExpiredEventData - Schema of the Data property of an CloudEvent/EventGridEvent for a Microsoft.KeyVault.SecretExpired event.

func (KeyVaultSecretExpiredEventData) MarshalJSON

func (k KeyVaultSecretExpiredEventData) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type KeyVaultSecretExpiredEventData.

func (*KeyVaultSecretExpiredEventData) UnmarshalJSON

func (k *KeyVaultSecretExpiredEventData) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type KeyVaultSecretExpiredEventData.

type KeyVaultSecretNearExpiryEventData

type KeyVaultSecretNearExpiryEventData struct {
	// The expiration date of the object that triggered this event
	EXP *float32

	// The id of the object that triggered this event.
	ID *string

	// Not before date of the object that triggered this event
	NBF *float32

	// The name of the object that triggered this event
	ObjectName *string

	// The type of the object that triggered this event
	ObjectType *string

	// Key vault name of the object that triggered this event.
	VaultName *string

	// The version of the object that triggered this event
	Version *string
}

KeyVaultSecretNearExpiryEventData - Schema of the Data property of an CloudEvent/EventGridEvent for a Microsoft.KeyVault.SecretNearExpiry event.

func (KeyVaultSecretNearExpiryEventData) MarshalJSON

func (k KeyVaultSecretNearExpiryEventData) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type KeyVaultSecretNearExpiryEventData.

func (*KeyVaultSecretNearExpiryEventData) UnmarshalJSON

func (k *KeyVaultSecretNearExpiryEventData) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type KeyVaultSecretNearExpiryEventData.

type KeyVaultSecretNewVersionCreatedEventData

type KeyVaultSecretNewVersionCreatedEventData struct {
	// The expiration date of the object that triggered this event
	EXP *float32

	// The id of the object that triggered this event.
	ID *string

	// Not before date of the object that triggered this event
	NBF *float32

	// The name of the object that triggered this event
	ObjectName *string

	// The type of the object that triggered this event
	ObjectType *string

	// Key vault name of the object that triggered this event.
	VaultName *string

	// The version of the object that triggered this event
	Version *string
}

KeyVaultSecretNewVersionCreatedEventData - Schema of the Data property of an CloudEvent/EventGridEvent for a Microsoft.KeyVault.SecretNewVersionCreated event.

func (KeyVaultSecretNewVersionCreatedEventData) MarshalJSON

MarshalJSON implements the json.Marshaller interface for type KeyVaultSecretNewVersionCreatedEventData.

func (*KeyVaultSecretNewVersionCreatedEventData) UnmarshalJSON

func (k *KeyVaultSecretNewVersionCreatedEventData) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type KeyVaultSecretNewVersionCreatedEventData.

type MachineLearningServicesDatasetDriftDetectedEventData

type MachineLearningServicesDatasetDriftDetectedEventData struct {
	// The ID of the base Dataset used to detect drift.
	BaseDatasetID *string

	// The ID of the data drift monitor that triggered the event.
	DataDriftID *string

	// The name of the data drift monitor that triggered the event.
	DataDriftName *string

	// The coefficient result that triggered the event.
	DriftCoefficient *float64

	// The end time of the target dataset time series that resulted in drift detection.
	EndTime *time.Time

	// The ID of the Run that detected data drift.
	RunID *string

	// The start time of the target dataset time series that resulted in drift detection.
	StartTime *time.Time

	// The ID of the target Dataset used to detect drift.
	TargetDatasetID *string
}

MachineLearningServicesDatasetDriftDetectedEventData - Schema of the Data property of an CloudEvent/EventGridEvent for a Microsoft.MachineLearningServices.DatasetDriftDetected event.

func (MachineLearningServicesDatasetDriftDetectedEventData) MarshalJSON

MarshalJSON implements the json.Marshaller interface for type MachineLearningServicesDatasetDriftDetectedEventData.

func (*MachineLearningServicesDatasetDriftDetectedEventData) UnmarshalJSON

UnmarshalJSON implements the json.Unmarshaller interface for type MachineLearningServicesDatasetDriftDetectedEventData.

type MachineLearningServicesModelDeployedEventData

type MachineLearningServicesModelDeployedEventData struct {
	// A common separated list of model IDs. The IDs of the models deployed in the service.
	ModelIDs *string

	// The compute type (e.g. ACI, AKS) of the deployed service.
	ServiceComputeType *string

	// The name of the deployed service.
	ServiceName *string

	// The properties of the deployed service.
	ServiceProperties any

	// The tags of the deployed service.
	ServiceTags any
}

MachineLearningServicesModelDeployedEventData - Schema of the Data property of an CloudEvent/EventGridEvent for a Microsoft.MachineLearningServices.ModelDeployed event.

func (MachineLearningServicesModelDeployedEventData) MarshalJSON

MarshalJSON implements the json.Marshaller interface for type MachineLearningServicesModelDeployedEventData.

func (*MachineLearningServicesModelDeployedEventData) UnmarshalJSON

func (m *MachineLearningServicesModelDeployedEventData) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type MachineLearningServicesModelDeployedEventData.

type MachineLearningServicesModelRegisteredEventData

type MachineLearningServicesModelRegisteredEventData struct {
	// The name of the model that was registered.
	ModelName *string

	// The properties of the model that was registered.
	ModelProperties any

	// The tags of the model that was registered.
	ModelTags any

	// The version of the model that was registered.
	ModelVersion *string
}

MachineLearningServicesModelRegisteredEventData - Schema of the Data property of an CloudEvent/EventGridEvent for a Microsoft.MachineLearningServices.ModelRegistered event.

func (MachineLearningServicesModelRegisteredEventData) MarshalJSON

MarshalJSON implements the json.Marshaller interface for type MachineLearningServicesModelRegisteredEventData.

func (*MachineLearningServicesModelRegisteredEventData) UnmarshalJSON

UnmarshalJSON implements the json.Unmarshaller interface for type MachineLearningServicesModelRegisteredEventData.

type MachineLearningServicesRunCompletedEventData

type MachineLearningServicesRunCompletedEventData struct {
	// The ID of the experiment that the run belongs to.
	ExperimentID *string

	// The name of the experiment that the run belongs to.
	ExperimentName *string

	// The ID of the Run that was completed.
	RunID *string

	// The properties of the completed Run.
	RunProperties any

	// The tags of the completed Run.
	RunTags any

	// The Run Type of the completed Run.
	RunType *string
}

MachineLearningServicesRunCompletedEventData - Schema of the Data property of an CloudEvent/EventGridEvent for a Microsoft.MachineLearningServices.RunCompleted event.

func (MachineLearningServicesRunCompletedEventData) MarshalJSON

MarshalJSON implements the json.Marshaller interface for type MachineLearningServicesRunCompletedEventData.

func (*MachineLearningServicesRunCompletedEventData) UnmarshalJSON

func (m *MachineLearningServicesRunCompletedEventData) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type MachineLearningServicesRunCompletedEventData.

type MachineLearningServicesRunStatusChangedEventData

type MachineLearningServicesRunStatusChangedEventData struct {
	// The ID of the experiment that the Machine Learning Run belongs to.
	ExperimentID *string

	// The name of the experiment that the Machine Learning Run belongs to.
	ExperimentName *string

	// The ID of the Machine Learning Run.
	RunID *string

	// The properties of the Machine Learning Run.
	RunProperties any

	// The status of the Machine Learning Run.
	RunStatus *string

	// The tags of the Machine Learning Run.
	RunTags any

	// The Run Type of the Machine Learning Run.
	RunType *string
}

MachineLearningServicesRunStatusChangedEventData - Schema of the Data property of an CloudEvent/EventGridEvent for a Microsoft.MachineLearningServices.RunStatusChanged event.

func (MachineLearningServicesRunStatusChangedEventData) MarshalJSON

MarshalJSON implements the json.Marshaller interface for type MachineLearningServicesRunStatusChangedEventData.

func (*MachineLearningServicesRunStatusChangedEventData) UnmarshalJSON

UnmarshalJSON implements the json.Unmarshaller interface for type MachineLearningServicesRunStatusChangedEventData.

type MapsGeofenceEnteredEventData

type MapsGeofenceEnteredEventData struct {
	// Lists of the geometry ID of the geofence which is expired relative to the user time in the request.
	ExpiredGeofenceGeometryID []string

	// Lists the fence geometries that either fully contain the coordinate position or have an overlap with the searchBuffer around
	// the fence.
	Geometries []MapsGeofenceGeometry

	// Lists of the geometry ID of the geofence which is in invalid period relative to the user time in the request.
	InvalidPeriodGeofenceGeometryID []string

	// True if at least one event is published to the Azure Maps event subscriber, false if no event is published to the Azure
	// Maps event subscriber.
	IsEventPublished *bool
}

MapsGeofenceEnteredEventData - Schema of the Data property of an CloudEvent/EventGridEvent for a Microsoft.Maps.GeofenceEntered event.

func (MapsGeofenceEnteredEventData) MarshalJSON

func (m MapsGeofenceEnteredEventData) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type MapsGeofenceEnteredEventData.

func (*MapsGeofenceEnteredEventData) UnmarshalJSON

func (m *MapsGeofenceEnteredEventData) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type MapsGeofenceEnteredEventData.

type MapsGeofenceEventProperties

type MapsGeofenceEventProperties struct {
	// Lists of the geometry ID of the geofence which is expired relative to the user time in the request.
	ExpiredGeofenceGeometryID []string

	// Lists the fence geometries that either fully contain the coordinate position or have an overlap with the searchBuffer around
	// the fence.
	Geometries []MapsGeofenceGeometry

	// Lists of the geometry ID of the geofence which is in invalid period relative to the user time in the request.
	InvalidPeriodGeofenceGeometryID []string

	// True if at least one event is published to the Azure Maps event subscriber, false if no event is published to the Azure
	// Maps event subscriber.
	IsEventPublished *bool
}

MapsGeofenceEventProperties - Schema of the Data property of an CloudEvent/EventGridEvent for a Geofence event (GeofenceEntered, GeofenceExited, GeofenceResult).

func (MapsGeofenceEventProperties) MarshalJSON

func (m MapsGeofenceEventProperties) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type MapsGeofenceEventProperties.

func (*MapsGeofenceEventProperties) UnmarshalJSON

func (m *MapsGeofenceEventProperties) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type MapsGeofenceEventProperties.

type MapsGeofenceExitedEventData

type MapsGeofenceExitedEventData struct {
	// Lists of the geometry ID of the geofence which is expired relative to the user time in the request.
	ExpiredGeofenceGeometryID []string

	// Lists the fence geometries that either fully contain the coordinate position or have an overlap with the searchBuffer around
	// the fence.
	Geometries []MapsGeofenceGeometry

	// Lists of the geometry ID of the geofence which is in invalid period relative to the user time in the request.
	InvalidPeriodGeofenceGeometryID []string

	// True if at least one event is published to the Azure Maps event subscriber, false if no event is published to the Azure
	// Maps event subscriber.
	IsEventPublished *bool
}

MapsGeofenceExitedEventData - Schema of the Data property of an CloudEvent/EventGridEvent for a Microsoft.Maps.GeofenceExited event.

func (MapsGeofenceExitedEventData) MarshalJSON

func (m MapsGeofenceExitedEventData) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type MapsGeofenceExitedEventData.

func (*MapsGeofenceExitedEventData) UnmarshalJSON

func (m *MapsGeofenceExitedEventData) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type MapsGeofenceExitedEventData.

type MapsGeofenceGeometry

type MapsGeofenceGeometry struct {
	// ID of the device.
	DeviceID *string

	// Distance from the coordinate to the closest border of the geofence. Positive means the coordinate is outside of the geofence.
	// If the coordinate is outside of the geofence, but more than the value of
	// searchBuffer away from the closest geofence border, then the value is 999. Negative means the coordinate is inside of the
	// geofence. If the coordinate is inside the polygon, but more than the value of
	// searchBuffer away from the closest geofencing border,then the value is -999. A value of 999 means that there is great confidence
	// the coordinate is well outside the geofence. A value of -999 means that
	// there is great confidence the coordinate is well within the geofence.
	Distance *float32

	// The unique ID for the geofence geometry.
	GeometryID *string

	// Latitude of the nearest point of the geometry.
	NearestLat *float32

	// Longitude of the nearest point of the geometry.
	NearestLon *float32

	// The unique id returned from user upload service when uploading a geofence. Will not be included in geofencing post API.
	UdID *string
}

MapsGeofenceGeometry - The geofence geometry.

func (MapsGeofenceGeometry) MarshalJSON

func (m MapsGeofenceGeometry) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type MapsGeofenceGeometry.

func (*MapsGeofenceGeometry) UnmarshalJSON

func (m *MapsGeofenceGeometry) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type MapsGeofenceGeometry.

type MapsGeofenceResultEventData

type MapsGeofenceResultEventData struct {
	// Lists of the geometry ID of the geofence which is expired relative to the user time in the request.
	ExpiredGeofenceGeometryID []string

	// Lists the fence geometries that either fully contain the coordinate position or have an overlap with the searchBuffer around
	// the fence.
	Geometries []MapsGeofenceGeometry

	// Lists of the geometry ID of the geofence which is in invalid period relative to the user time in the request.
	InvalidPeriodGeofenceGeometryID []string

	// True if at least one event is published to the Azure Maps event subscriber, false if no event is published to the Azure
	// Maps event subscriber.
	IsEventPublished *bool
}

MapsGeofenceResultEventData - Schema of the Data property of an CloudEvent/EventGridEvent for a Microsoft.Maps.GeofenceResult event.

func (MapsGeofenceResultEventData) MarshalJSON

func (m MapsGeofenceResultEventData) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type MapsGeofenceResultEventData.

func (*MapsGeofenceResultEventData) UnmarshalJSON

func (m *MapsGeofenceResultEventData) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type MapsGeofenceResultEventData.

type MediaJobCanceledEventData

type MediaJobCanceledEventData struct {
	// Gets the Job correlation data.
	CorrelationData map[string]*string

	// Gets the Job outputs.
	Outputs []MediaJobOutputClassification

	// READ-ONLY; The previous state of the Job.
	PreviousState *MediaJobState

	// READ-ONLY; The new state of the Job.
	State *MediaJobState
}

MediaJobCanceledEventData - Job canceled event data. Schema of the data property of an EventGridEvent for a Microsoft.Media.JobCanceled event.

func (MediaJobCanceledEventData) MarshalJSON

func (m MediaJobCanceledEventData) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type MediaJobCanceledEventData.

func (*MediaJobCanceledEventData) UnmarshalJSON

func (m *MediaJobCanceledEventData) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type MediaJobCanceledEventData.

type MediaJobCancelingEventData

type MediaJobCancelingEventData struct {
	// Gets the Job correlation data.
	CorrelationData map[string]*string

	// READ-ONLY; The previous state of the Job.
	PreviousState *MediaJobState

	// READ-ONLY; The new state of the Job.
	State *MediaJobState
}

MediaJobCancelingEventData - Job canceling event data. Schema of the data property of an EventGridEvent for a Microsoft.Media.JobCanceling event.

func (MediaJobCancelingEventData) MarshalJSON

func (m MediaJobCancelingEventData) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type MediaJobCancelingEventData.

func (*MediaJobCancelingEventData) UnmarshalJSON

func (m *MediaJobCancelingEventData) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type MediaJobCancelingEventData.

type MediaJobError

type MediaJobError struct {
	// READ-ONLY; Helps with categorization of errors.
	Category *MediaJobErrorCategory

	// READ-ONLY; Error code describing the error.
	Code *MediaJobErrorCode

	// READ-ONLY; An array of details about specific errors that led to this reported error.
	Details []MediaJobErrorDetail

	// READ-ONLY; A human-readable language-dependent representation of the error.
	Message *string

	// READ-ONLY; Indicates that it may be possible to retry the Job. If retry is unsuccessful, please contact Azure support via
	// Azure Portal.
	Retry *MediaJobRetry
}

MediaJobError - Details of JobOutput errors.

func (MediaJobError) MarshalJSON

func (m MediaJobError) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type MediaJobError.

func (*MediaJobError) UnmarshalJSON

func (m *MediaJobError) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type MediaJobError.

type MediaJobErrorCategory

type MediaJobErrorCategory string

MediaJobErrorCategory - Helps with categorization of errors.

const (
	// MediaJobErrorCategoryAccount - The error is related to account information.
	MediaJobErrorCategoryAccount MediaJobErrorCategory = "Account"
	// MediaJobErrorCategoryConfiguration - The error is configuration related.
	MediaJobErrorCategoryConfiguration MediaJobErrorCategory = "Configuration"
	// MediaJobErrorCategoryContent - The error is related to data in the input files.
	MediaJobErrorCategoryContent MediaJobErrorCategory = "Content"
	// MediaJobErrorCategoryDownload - The error is download related.
	MediaJobErrorCategoryDownload MediaJobErrorCategory = "Download"
	// MediaJobErrorCategoryService - The error is service related.
	MediaJobErrorCategoryService MediaJobErrorCategory = "Service"
	// MediaJobErrorCategoryUpload - The error is upload related.
	MediaJobErrorCategoryUpload MediaJobErrorCategory = "Upload"
)

func PossibleMediaJobErrorCategoryValues

func PossibleMediaJobErrorCategoryValues() []MediaJobErrorCategory

PossibleMediaJobErrorCategoryValues returns the possible values for the MediaJobErrorCategory const type.

type MediaJobErrorCode

type MediaJobErrorCode string

MediaJobErrorCode - Error code describing the error.

const (
	// MediaJobErrorCodeConfigurationUnsupported - There was a problem with the combination of input files and the configuration
	// settings applied, fix the configuration settings and retry with the same input, or change input to match the configuration.
	MediaJobErrorCodeConfigurationUnsupported MediaJobErrorCode = "ConfigurationUnsupported"
	// MediaJobErrorCodeContentMalformed - There was a problem with the input content (for example: zero byte files, or corrupt/non-decodable
	// files), check the input files.
	MediaJobErrorCodeContentMalformed MediaJobErrorCode = "ContentMalformed"
	// MediaJobErrorCodeContentUnsupported - There was a problem with the format of the input (not valid media file, or an unsupported
	// file/codec), check the validity of the input files.
	MediaJobErrorCodeContentUnsupported MediaJobErrorCode = "ContentUnsupported"
	// MediaJobErrorCodeDownloadNotAccessible - While trying to download the input files, the files were not accessible, please
	// check the availability of the source.
	MediaJobErrorCodeDownloadNotAccessible MediaJobErrorCode = "DownloadNotAccessible"
	// MediaJobErrorCodeDownloadTransientError - While trying to download the input files, there was an issue during transfer
	// (storage service, network errors), see details and check your source.
	MediaJobErrorCodeDownloadTransientError MediaJobErrorCode = "DownloadTransientError"
	// MediaJobErrorCodeIdentityUnsupported - There is an error verifying to the account identity. Check and fix the identity
	// configurations and retry. If unsuccessful, please contact support.
	MediaJobErrorCodeIdentityUnsupported MediaJobErrorCode = "IdentityUnsupported"
	// MediaJobErrorCodeServiceError - Fatal service error, please contact support.
	MediaJobErrorCodeServiceError MediaJobErrorCode = "ServiceError"
	// MediaJobErrorCodeServiceTransientError - Transient error, please retry, if retry is unsuccessful, please contact support.
	MediaJobErrorCodeServiceTransientError MediaJobErrorCode = "ServiceTransientError"
	// MediaJobErrorCodeUploadNotAccessible - While trying to upload the output files, the destination was not reachable, please
	// check the availability of the destination.
	MediaJobErrorCodeUploadNotAccessible MediaJobErrorCode = "UploadNotAccessible"
	// MediaJobErrorCodeUploadTransientError - While trying to upload the output files, there was an issue during transfer (storage
	// service, network errors), see details and check your destination.
	MediaJobErrorCodeUploadTransientError MediaJobErrorCode = "UploadTransientError"
)

func PossibleMediaJobErrorCodeValues

func PossibleMediaJobErrorCodeValues() []MediaJobErrorCode

PossibleMediaJobErrorCodeValues returns the possible values for the MediaJobErrorCode const type.

type MediaJobErrorDetail

type MediaJobErrorDetail struct {
	// READ-ONLY; Code describing the error detail.
	Code *string

	// READ-ONLY; A human-readable representation of the error.
	Message *string
}

MediaJobErrorDetail - Details of JobOutput errors.

func (MediaJobErrorDetail) MarshalJSON

func (m MediaJobErrorDetail) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type MediaJobErrorDetail.

func (*MediaJobErrorDetail) UnmarshalJSON

func (m *MediaJobErrorDetail) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type MediaJobErrorDetail.

type MediaJobErroredEventData

type MediaJobErroredEventData struct {
	// Gets the Job correlation data.
	CorrelationData map[string]*string

	// Gets the Job outputs.
	Outputs []MediaJobOutputClassification

	// READ-ONLY; The previous state of the Job.
	PreviousState *MediaJobState

	// READ-ONLY; The new state of the Job.
	State *MediaJobState
}

MediaJobErroredEventData - Job error state event data. Schema of the data property of an EventGridEvent for a Microsoft.Media.JobErrored event.

func (MediaJobErroredEventData) MarshalJSON

func (m MediaJobErroredEventData) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type MediaJobErroredEventData.

func (*MediaJobErroredEventData) UnmarshalJSON

func (m *MediaJobErroredEventData) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type MediaJobErroredEventData.

type MediaJobFinishedEventData

type MediaJobFinishedEventData struct {
	// Gets the Job correlation data.
	CorrelationData map[string]*string

	// Gets the Job outputs.
	Outputs []MediaJobOutputClassification

	// READ-ONLY; The previous state of the Job.
	PreviousState *MediaJobState

	// READ-ONLY; The new state of the Job.
	State *MediaJobState
}

MediaJobFinishedEventData - Job finished event data. Schema of the data property of an EventGridEvent for a Microsoft.Media.JobFinished event.

func (MediaJobFinishedEventData) MarshalJSON

func (m MediaJobFinishedEventData) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type MediaJobFinishedEventData.

func (*MediaJobFinishedEventData) UnmarshalJSON

func (m *MediaJobFinishedEventData) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type MediaJobFinishedEventData.

type MediaJobOutput

type MediaJobOutput struct {
	// REQUIRED; The discriminator for derived types.
	ODataType *string

	// REQUIRED; Gets the Job output progress.
	Progress *int64

	// REQUIRED; Gets the Job output state.
	State *MediaJobState

	// Gets the Job output error.
	Error *MediaJobError

	// Gets the Job output label.
	Label *string
}

MediaJobOutput - The event data for a Job output.

func (*MediaJobOutput) GetMediaJobOutput

func (m *MediaJobOutput) GetMediaJobOutput() *MediaJobOutput

GetMediaJobOutput implements the MediaJobOutputClassification interface for type MediaJobOutput.

func (MediaJobOutput) MarshalJSON

func (m MediaJobOutput) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type MediaJobOutput.

func (*MediaJobOutput) UnmarshalJSON

func (m *MediaJobOutput) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type MediaJobOutput.

type MediaJobOutputAsset

type MediaJobOutputAsset struct {
	// REQUIRED; The discriminator for derived types.
	ODataType *string

	// REQUIRED; Gets the Job output progress.
	Progress *int64

	// REQUIRED; Gets the Job output state.
	State *MediaJobState

	// Gets the Job output asset name.
	AssetName *string

	// Gets the Job output error.
	Error *MediaJobError

	// Gets the Job output label.
	Label *string
}

MediaJobOutputAsset - The event data for a Job output asset.

func (*MediaJobOutputAsset) GetMediaJobOutput

func (m *MediaJobOutputAsset) GetMediaJobOutput() *MediaJobOutput

GetMediaJobOutput implements the MediaJobOutputClassification interface for type MediaJobOutputAsset.

func (MediaJobOutputAsset) MarshalJSON

func (m MediaJobOutputAsset) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type MediaJobOutputAsset.

func (*MediaJobOutputAsset) UnmarshalJSON

func (m *MediaJobOutputAsset) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type MediaJobOutputAsset.

type MediaJobOutputCanceledEventData

type MediaJobOutputCanceledEventData struct {
	// Gets the Job correlation data.
	JobCorrelationData map[string]*string

	// Gets the output.
	Output MediaJobOutputClassification

	// READ-ONLY; The previous state of the Job.
	PreviousState *MediaJobState
}

MediaJobOutputCanceledEventData - Job output canceled event data. Schema of the data property of an EventGridEvent for a Microsoft.Media.JobOutputCanceled event.

func (MediaJobOutputCanceledEventData) MarshalJSON

func (m MediaJobOutputCanceledEventData) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type MediaJobOutputCanceledEventData.

func (*MediaJobOutputCanceledEventData) UnmarshalJSON

func (m *MediaJobOutputCanceledEventData) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type MediaJobOutputCanceledEventData.

type MediaJobOutputCancelingEventData

type MediaJobOutputCancelingEventData struct {
	// Gets the Job correlation data.
	JobCorrelationData map[string]*string

	// Gets the output.
	Output MediaJobOutputClassification

	// READ-ONLY; The previous state of the Job.
	PreviousState *MediaJobState
}

MediaJobOutputCancelingEventData - Job output canceling event data. Schema of the data property of an EventGridEvent for a Microsoft.Media.JobOutputCanceling event.

func (MediaJobOutputCancelingEventData) MarshalJSON

func (m MediaJobOutputCancelingEventData) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type MediaJobOutputCancelingEventData.

func (*MediaJobOutputCancelingEventData) UnmarshalJSON

func (m *MediaJobOutputCancelingEventData) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type MediaJobOutputCancelingEventData.

type MediaJobOutputClassification

type MediaJobOutputClassification interface {
	// GetMediaJobOutput returns the MediaJobOutput content of the underlying type.
	GetMediaJobOutput() *MediaJobOutput
}

MediaJobOutputClassification provides polymorphic access to related types. Call the interface's GetMediaJobOutput() method to access the common type. Use a type switch to determine the concrete type. The possible types are: - *MediaJobOutput, *MediaJobOutputAsset

type MediaJobOutputErroredEventData

type MediaJobOutputErroredEventData struct {
	// Gets the Job correlation data.
	JobCorrelationData map[string]*string

	// Gets the output.
	Output MediaJobOutputClassification

	// READ-ONLY; The previous state of the Job.
	PreviousState *MediaJobState
}

MediaJobOutputErroredEventData - Job output error event data. Schema of the data property of an EventGridEvent for a Microsoft.Media.JobOutputErrored event.

func (MediaJobOutputErroredEventData) MarshalJSON

func (m MediaJobOutputErroredEventData) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type MediaJobOutputErroredEventData.

func (*MediaJobOutputErroredEventData) UnmarshalJSON

func (m *MediaJobOutputErroredEventData) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type MediaJobOutputErroredEventData.

type MediaJobOutputFinishedEventData

type MediaJobOutputFinishedEventData struct {
	// Gets the Job correlation data.
	JobCorrelationData map[string]*string

	// Gets the output.
	Output MediaJobOutputClassification

	// READ-ONLY; The previous state of the Job.
	PreviousState *MediaJobState
}

MediaJobOutputFinishedEventData - Job output finished event data. Schema of the data property of an EventGridEvent for a Microsoft.Media.JobOutputFinished event.

func (MediaJobOutputFinishedEventData) MarshalJSON

func (m MediaJobOutputFinishedEventData) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type MediaJobOutputFinishedEventData.

func (*MediaJobOutputFinishedEventData) UnmarshalJSON

func (m *MediaJobOutputFinishedEventData) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type MediaJobOutputFinishedEventData.

type MediaJobOutputProcessingEventData

type MediaJobOutputProcessingEventData struct {
	// Gets the Job correlation data.
	JobCorrelationData map[string]*string

	// Gets the output.
	Output MediaJobOutputClassification

	// READ-ONLY; The previous state of the Job.
	PreviousState *MediaJobState
}

MediaJobOutputProcessingEventData - Job output processing event data. Schema of the data property of an EventGridEvent for a Microsoft.Media.JobOutputProcessing event.

func (MediaJobOutputProcessingEventData) MarshalJSON

func (m MediaJobOutputProcessingEventData) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type MediaJobOutputProcessingEventData.

func (*MediaJobOutputProcessingEventData) UnmarshalJSON

func (m *MediaJobOutputProcessingEventData) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type MediaJobOutputProcessingEventData.

type MediaJobOutputProgressEventData

type MediaJobOutputProgressEventData struct {
	// Gets the Job correlation data.
	JobCorrelationData map[string]*string

	// Gets the Job output label.
	Label *string

	// Gets the Job output progress.
	Progress *int64
}

MediaJobOutputProgressEventData - Job Output Progress Event Data. Schema of the Data property of an CloudEvent/EventGridEvent for a Microsoft.Media.JobOutputProgress event.

func (MediaJobOutputProgressEventData) MarshalJSON

func (m MediaJobOutputProgressEventData) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type MediaJobOutputProgressEventData.

func (*MediaJobOutputProgressEventData) UnmarshalJSON

func (m *MediaJobOutputProgressEventData) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type MediaJobOutputProgressEventData.

type MediaJobOutputScheduledEventData

type MediaJobOutputScheduledEventData struct {
	// Gets the Job correlation data.
	JobCorrelationData map[string]*string

	// Gets the output.
	Output MediaJobOutputClassification

	// READ-ONLY; The previous state of the Job.
	PreviousState *MediaJobState
}

MediaJobOutputScheduledEventData - Job output scheduled event data. Schema of the data property of an EventGridEvent for a Microsoft.Media.JobOutputScheduled event.

func (MediaJobOutputScheduledEventData) MarshalJSON

func (m MediaJobOutputScheduledEventData) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type MediaJobOutputScheduledEventData.

func (*MediaJobOutputScheduledEventData) UnmarshalJSON

func (m *MediaJobOutputScheduledEventData) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type MediaJobOutputScheduledEventData.

type MediaJobOutputStateChangeEventData

type MediaJobOutputStateChangeEventData struct {
	// Gets the Job correlation data.
	JobCorrelationData map[string]*string

	// Gets the output.
	Output MediaJobOutputClassification

	// READ-ONLY; The previous state of the Job.
	PreviousState *MediaJobState
}

MediaJobOutputStateChangeEventData - Schema of the Data property of an CloudEvent/EventGridEvent for a Microsoft.Media.JobOutputStateChange event.

func (MediaJobOutputStateChangeEventData) MarshalJSON

func (m MediaJobOutputStateChangeEventData) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type MediaJobOutputStateChangeEventData.

func (*MediaJobOutputStateChangeEventData) UnmarshalJSON

func (m *MediaJobOutputStateChangeEventData) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type MediaJobOutputStateChangeEventData.

type MediaJobProcessingEventData

type MediaJobProcessingEventData struct {
	// Gets the Job correlation data.
	CorrelationData map[string]*string

	// READ-ONLY; The previous state of the Job.
	PreviousState *MediaJobState

	// READ-ONLY; The new state of the Job.
	State *MediaJobState
}

MediaJobProcessingEventData - Job processing event data. Schema of the data property of an EventGridEvent for a Microsoft.Media.JobProcessing event.

func (MediaJobProcessingEventData) MarshalJSON

func (m MediaJobProcessingEventData) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type MediaJobProcessingEventData.

func (*MediaJobProcessingEventData) UnmarshalJSON

func (m *MediaJobProcessingEventData) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type MediaJobProcessingEventData.

type MediaJobRetry

type MediaJobRetry string

MediaJobRetry - Indicates that it may be possible to retry the Job. If retry is unsuccessful, please contact Azure support via Azure Portal.

const (
	// MediaJobRetryDoNotRetry - Issue needs to be investigated and then the job resubmitted with corrections or retried once
	// the underlying issue has been corrected.
	MediaJobRetryDoNotRetry MediaJobRetry = "DoNotRetry"
	// MediaJobRetryMayRetry - Issue may be resolved after waiting for a period of time and resubmitting the same Job.
	MediaJobRetryMayRetry MediaJobRetry = "MayRetry"
)

func PossibleMediaJobRetryValues

func PossibleMediaJobRetryValues() []MediaJobRetry

PossibleMediaJobRetryValues returns the possible values for the MediaJobRetry const type.

type MediaJobScheduledEventData

type MediaJobScheduledEventData struct {
	// Gets the Job correlation data.
	CorrelationData map[string]*string

	// READ-ONLY; The previous state of the Job.
	PreviousState *MediaJobState

	// READ-ONLY; The new state of the Job.
	State *MediaJobState
}

MediaJobScheduledEventData - Job scheduled event data. Schema of the data property of an EventGridEvent for a Microsoft.Media.JobScheduled event.

func (MediaJobScheduledEventData) MarshalJSON

func (m MediaJobScheduledEventData) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type MediaJobScheduledEventData.

func (*MediaJobScheduledEventData) UnmarshalJSON

func (m *MediaJobScheduledEventData) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type MediaJobScheduledEventData.

type MediaJobState

type MediaJobState string

MediaJobState - The previous state of the Job.

const (
	// MediaJobStateCanceled - The job was canceled. This is a final state for the job.
	MediaJobStateCanceled MediaJobState = "Canceled"
	// MediaJobStateCanceling - The job is in the process of being canceled. This is a transient state for the job.
	MediaJobStateCanceling MediaJobState = "Canceling"
	// MediaJobStateError - The job has encountered an error. This is a final state for the job.
	MediaJobStateError MediaJobState = "Error"
	// MediaJobStateFinished - The job is finished. This is a final state for the job.
	MediaJobStateFinished MediaJobState = "Finished"
	// MediaJobStateProcessing - The job is processing. This is a transient state for the job.
	MediaJobStateProcessing MediaJobState = "Processing"
	// MediaJobStateQueued - The job is in a queued state, waiting for resources to become available. This is a transient state.
	MediaJobStateQueued MediaJobState = "Queued"
	// MediaJobStateScheduled - The job is being scheduled to run on an available resource. This is a transient state, between
	// queued and processing states.
	MediaJobStateScheduled MediaJobState = "Scheduled"
)

func PossibleMediaJobStateValues

func PossibleMediaJobStateValues() []MediaJobState

PossibleMediaJobStateValues returns the possible values for the MediaJobState const type.

type MediaJobStateChangeEventData

type MediaJobStateChangeEventData struct {
	// Gets the Job correlation data.
	CorrelationData map[string]*string

	// READ-ONLY; The previous state of the Job.
	PreviousState *MediaJobState

	// READ-ONLY; The new state of the Job.
	State *MediaJobState
}

MediaJobStateChangeEventData - Schema of the Data property of an CloudEvent/EventGridEvent for a Microsoft.Media.JobStateChange event.

func (MediaJobStateChangeEventData) MarshalJSON

func (m MediaJobStateChangeEventData) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type MediaJobStateChangeEventData.

func (*MediaJobStateChangeEventData) UnmarshalJSON

func (m *MediaJobStateChangeEventData) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type MediaJobStateChangeEventData.

type MediaLiveEventChannelArchiveHeartbeatEventData

type MediaLiveEventChannelArchiveHeartbeatEventData struct {
	// READ-ONLY; Gets the channel latency in ms.
	ChannelLatencyMS *string

	// READ-ONLY; Gets the latency result code.
	LatencyResultCode *string
}

MediaLiveEventChannelArchiveHeartbeatEventData - Channel Archive heartbeat event data. Schema of the data property of an EventGridEvent for a Microsoft.Media.LiveEventChannelArchiveHeartbeat event.

func (MediaLiveEventChannelArchiveHeartbeatEventData) MarshalJSON

MarshalJSON implements the json.Marshaller interface for type MediaLiveEventChannelArchiveHeartbeatEventData.

func (*MediaLiveEventChannelArchiveHeartbeatEventData) UnmarshalJSON

UnmarshalJSON implements the json.Unmarshaller interface for type MediaLiveEventChannelArchiveHeartbeatEventData.

type MediaLiveEventConnectionRejectedEventData

type MediaLiveEventConnectionRejectedEventData struct {
	// READ-ONLY; Gets the remote IP.
	EncoderIP *string

	// READ-ONLY; Gets the remote port.
	EncoderPort *string

	// READ-ONLY; Gets the ingest URL provided by the live event.
	IngestURL *string

	// READ-ONLY; Gets the result code.
	ResultCode *string

	// READ-ONLY; Gets the stream Id.
	StreamID *string
}

MediaLiveEventConnectionRejectedEventData - Encoder connection rejected event data. Schema of the data property of an EventGridEvent for a Microsoft.Media.LiveEventConnectionRejected event.

func (MediaLiveEventConnectionRejectedEventData) MarshalJSON

MarshalJSON implements the json.Marshaller interface for type MediaLiveEventConnectionRejectedEventData.

func (*MediaLiveEventConnectionRejectedEventData) UnmarshalJSON

func (m *MediaLiveEventConnectionRejectedEventData) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type MediaLiveEventConnectionRejectedEventData.

type MediaLiveEventEncoderConnectedEventData

type MediaLiveEventEncoderConnectedEventData struct {
	// READ-ONLY; Gets the remote IP.
	EncoderIP *string

	// READ-ONLY; Gets the remote port.
	EncoderPort *string

	// READ-ONLY; Gets the ingest URL provided by the live event.
	IngestURL *string

	// READ-ONLY; Gets the stream Id.
	StreamID *string
}

MediaLiveEventEncoderConnectedEventData - Encoder connect event data. Schema of the data property of an EventGridEvent for a Microsoft.Media.LiveEventEncoderConnected event.

func (MediaLiveEventEncoderConnectedEventData) MarshalJSON

func (m MediaLiveEventEncoderConnectedEventData) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type MediaLiveEventEncoderConnectedEventData.

func (*MediaLiveEventEncoderConnectedEventData) UnmarshalJSON

func (m *MediaLiveEventEncoderConnectedEventData) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type MediaLiveEventEncoderConnectedEventData.

type MediaLiveEventEncoderDisconnectedEventData

type MediaLiveEventEncoderDisconnectedEventData struct {
	// READ-ONLY; Gets the remote IP.
	EncoderIP *string

	// READ-ONLY; Gets the remote port.
	EncoderPort *string

	// READ-ONLY; Gets the ingest URL provided by the live event.
	IngestURL *string

	// READ-ONLY; Gets the result code.
	ResultCode *string

	// READ-ONLY; Gets the stream Id.
	StreamID *string
}

MediaLiveEventEncoderDisconnectedEventData - Encoder disconnected event data. Schema of the Data property of an CloudEvent/EventGridEvent for a Microsoft.Media.LiveEventEncoderDisconnected event.

func (MediaLiveEventEncoderDisconnectedEventData) MarshalJSON

MarshalJSON implements the json.Marshaller interface for type MediaLiveEventEncoderDisconnectedEventData.

func (*MediaLiveEventEncoderDisconnectedEventData) UnmarshalJSON

func (m *MediaLiveEventEncoderDisconnectedEventData) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type MediaLiveEventEncoderDisconnectedEventData.

type MediaLiveEventIncomingDataChunkDroppedEventData

type MediaLiveEventIncomingDataChunkDroppedEventData struct {
	// READ-ONLY; Gets the bitrate of the track.
	Bitrate *int64

	// READ-ONLY; Gets the result code for fragment drop operation.
	ResultCode *string

	// READ-ONLY; Gets the timescale of the Timestamp.
	Timescale *string

	// READ-ONLY; Gets the timestamp of the data chunk dropped.
	Timestamp *string

	// READ-ONLY; Gets the name of the track for which fragment is dropped.
	TrackName *string

	// READ-ONLY; Gets the type of the track (Audio / Video).
	TrackType *string
}

MediaLiveEventIncomingDataChunkDroppedEventData - Ingest fragment dropped event data. Schema of the data property of an EventGridEvent for a Microsoft.Media.LiveEventIncomingDataChunkDropped event.

func (MediaLiveEventIncomingDataChunkDroppedEventData) MarshalJSON

MarshalJSON implements the json.Marshaller interface for type MediaLiveEventIncomingDataChunkDroppedEventData.

func (*MediaLiveEventIncomingDataChunkDroppedEventData) UnmarshalJSON

UnmarshalJSON implements the json.Unmarshaller interface for type MediaLiveEventIncomingDataChunkDroppedEventData.

type MediaLiveEventIncomingStreamReceivedEventData

type MediaLiveEventIncomingStreamReceivedEventData struct {
	// READ-ONLY; Gets the bitrate of the track.
	Bitrate *int64

	// READ-ONLY; Gets the duration of the first data chunk.
	Duration *string

	// READ-ONLY; Gets the remote IP.
	EncoderIP *string

	// READ-ONLY; Gets the remote port.
	EncoderPort *string

	// READ-ONLY; Gets the ingest URL provided by the live event.
	IngestURL *string

	// READ-ONLY; Gets the timescale in which timestamp is represented.
	Timescale *string

	// READ-ONLY; Gets the first timestamp of the data chunk received.
	Timestamp *string

	// READ-ONLY; Gets the track name.
	TrackName *string

	// READ-ONLY; Gets the type of the track (Audio / Video).
	TrackType *string
}

MediaLiveEventIncomingStreamReceivedEventData - Encoder connect event data. Schema of the data property of an EventGridEvent for a Microsoft.Media.LiveEventIncomingStreamReceived event.

func (MediaLiveEventIncomingStreamReceivedEventData) MarshalJSON

MarshalJSON implements the json.Marshaller interface for type MediaLiveEventIncomingStreamReceivedEventData.

func (*MediaLiveEventIncomingStreamReceivedEventData) UnmarshalJSON

func (m *MediaLiveEventIncomingStreamReceivedEventData) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type MediaLiveEventIncomingStreamReceivedEventData.

type MediaLiveEventIncomingStreamsOutOfSyncEventData

type MediaLiveEventIncomingStreamsOutOfSyncEventData struct {
	// READ-ONLY; Gets the maximum timestamp among all the tracks (audio or video).
	MaxLastTimestamp *string

	// READ-ONLY; Gets the minimum last timestamp received.
	MinLastTimestamp *string

	// READ-ONLY; Gets the timescale in which "MaxLastTimestamp" is represented.
	TimescaleOfMaxLastTimestamp *string

	// READ-ONLY; Gets the timescale in which "MinLastTimestamp" is represented.
	TimescaleOfMinLastTimestamp *string

	// READ-ONLY; Gets the type of stream with maximum last timestamp.
	TypeOfStreamWithMaxLastTimestamp *string

	// READ-ONLY; Gets the type of stream with minimum last timestamp.
	TypeOfStreamWithMinLastTimestamp *string
}

MediaLiveEventIncomingStreamsOutOfSyncEventData - Incoming streams out of sync event data. Schema of the data property of an EventGridEvent for a Microsoft.Media.LiveEventIncomingStreamsOutOfSync event.

func (MediaLiveEventIncomingStreamsOutOfSyncEventData) MarshalJSON

MarshalJSON implements the json.Marshaller interface for type MediaLiveEventIncomingStreamsOutOfSyncEventData.

func (*MediaLiveEventIncomingStreamsOutOfSyncEventData) UnmarshalJSON

UnmarshalJSON implements the json.Unmarshaller interface for type MediaLiveEventIncomingStreamsOutOfSyncEventData.

type MediaLiveEventIncomingVideoStreamsOutOfSyncEventData

type MediaLiveEventIncomingVideoStreamsOutOfSyncEventData struct {
	// READ-ONLY; Gets the duration of the data chunk with first timestamp.
	FirstDuration *string

	// READ-ONLY; Gets the first timestamp received for one of the quality levels.
	FirstTimestamp *string

	// READ-ONLY; Gets the duration of the data chunk with second timestamp.
	SecondDuration *string

	// READ-ONLY; Gets the timestamp received for some other quality levels.
	SecondTimestamp *string

	// READ-ONLY; Gets the timescale in which both the timestamps and durations are represented.
	Timescale *string
}

MediaLiveEventIncomingVideoStreamsOutOfSyncEventData - Incoming video stream out of sync event data. Schema of the data property of an EventGridEvent for a Microsoft.Media.LiveEventIncomingVideoStreamsOutOfSync event.

func (MediaLiveEventIncomingVideoStreamsOutOfSyncEventData) MarshalJSON

MarshalJSON implements the json.Marshaller interface for type MediaLiveEventIncomingVideoStreamsOutOfSyncEventData.

func (*MediaLiveEventIncomingVideoStreamsOutOfSyncEventData) UnmarshalJSON

UnmarshalJSON implements the json.Unmarshaller interface for type MediaLiveEventIncomingVideoStreamsOutOfSyncEventData.

type MediaLiveEventIngestHeartbeatEventData

type MediaLiveEventIngestHeartbeatEventData struct {
	// READ-ONLY; Gets the bitrate of the track.
	Bitrate *int64

	// READ-ONLY; Gets the fragment Discontinuity count.
	DiscontinuityCount *int64

	// READ-ONLY; Gets a value indicating whether preview is healthy or not.
	Healthy *bool

	// READ-ONLY; Gets the incoming bitrate.
	IncomingBitrate *int64

	// READ-ONLY; Gets the track ingest drift value.
	IngestDriftValue *string

	// READ-ONLY; Gets the arrival UTC time of the last fragment.
	LastFragmentArrivalTime *string

	// READ-ONLY; Gets the last timestamp.
	LastTimestamp *string

	// READ-ONLY; Gets Non increasing count.
	NonincreasingCount *int64

	// READ-ONLY; Gets the fragment Overlap count.
	OverlapCount *int64

	// READ-ONLY; Gets the state of the live event.
	State *string

	// READ-ONLY; Gets the timescale of the last timestamp.
	Timescale *string

	// READ-ONLY; Gets the track name.
	TrackName *string

	// READ-ONLY; Gets the type of the track (Audio / Video).
	TrackType *string

	// READ-ONLY; Gets the Live Transcription language.
	TranscriptionLanguage *string

	// READ-ONLY; Gets the Live Transcription state.
	TranscriptionState *string

	// READ-ONLY; Gets a value indicating whether unexpected bitrate is present or not.
	UnexpectedBitrate *bool
}

MediaLiveEventIngestHeartbeatEventData - Ingest heartbeat event data. Schema of the data property of an EventGridEvent for a Microsoft.Media.LiveEventIngestHeartbeat event.

func (MediaLiveEventIngestHeartbeatEventData) MarshalJSON

func (m MediaLiveEventIngestHeartbeatEventData) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type MediaLiveEventIngestHeartbeatEventData.

func (*MediaLiveEventIngestHeartbeatEventData) UnmarshalJSON

func (m *MediaLiveEventIngestHeartbeatEventData) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type MediaLiveEventIngestHeartbeatEventData.

type MediaLiveEventTrackDiscontinuityDetectedEventData

type MediaLiveEventTrackDiscontinuityDetectedEventData struct {
	// READ-ONLY; Gets the bitrate.
	Bitrate *int64

	// READ-ONLY; Gets the discontinuity gap between PreviousTimestamp and NewTimestamp.
	DiscontinuityGap *string

	// READ-ONLY; Gets the timestamp of the current fragment.
	NewTimestamp *string

	// READ-ONLY; Gets the timestamp of the previous fragment.
	PreviousTimestamp *string

	// READ-ONLY; Gets the timescale in which both timestamps and discontinuity gap are represented.
	Timescale *string

	// READ-ONLY; Gets the track name.
	TrackName *string

	// READ-ONLY; Gets the type of the track (Audio / Video).
	TrackType *string
}

MediaLiveEventTrackDiscontinuityDetectedEventData - Ingest track discontinuity detected event data. Schema of the data property of an EventGridEvent for a Microsoft.Media.LiveEventTrackDiscontinuityDetected event.

func (MediaLiveEventTrackDiscontinuityDetectedEventData) MarshalJSON

MarshalJSON implements the json.Marshaller interface for type MediaLiveEventTrackDiscontinuityDetectedEventData.

func (*MediaLiveEventTrackDiscontinuityDetectedEventData) UnmarshalJSON

UnmarshalJSON implements the json.Unmarshaller interface for type MediaLiveEventTrackDiscontinuityDetectedEventData.

type MicrosoftTeamsAppIdentifierModel added in v0.3.0

type MicrosoftTeamsAppIdentifierModel struct {
	// REQUIRED; The Id of the Microsoft Teams application.
	AppID *string

	// The cloud that the Microsoft Teams application belongs to. By default 'public' if missing.
	Cloud *CommunicationCloudEnvironmentModel
}

MicrosoftTeamsAppIdentifierModel - A Microsoft Teams application.

func (MicrosoftTeamsAppIdentifierModel) MarshalJSON added in v0.3.0

func (m MicrosoftTeamsAppIdentifierModel) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type MicrosoftTeamsAppIdentifierModel.

func (*MicrosoftTeamsAppIdentifierModel) UnmarshalJSON added in v0.3.0

func (m *MicrosoftTeamsAppIdentifierModel) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type MicrosoftTeamsAppIdentifierModel.

type MicrosoftTeamsUserIdentifierModel

type MicrosoftTeamsUserIdentifierModel struct {
	// REQUIRED; The Id of the Microsoft Teams user. If not anonymous, this is the AAD object Id of the user.
	UserID *string

	// The cloud that the Microsoft Teams user belongs to. By default 'public' if missing.
	Cloud *CommunicationCloudEnvironmentModel

	// True if the Microsoft Teams user is anonymous. By default false if missing.
	IsAnonymous *bool
}

MicrosoftTeamsUserIdentifierModel - A Microsoft Teams user.

func (MicrosoftTeamsUserIdentifierModel) MarshalJSON

func (m MicrosoftTeamsUserIdentifierModel) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type MicrosoftTeamsUserIdentifierModel.

func (*MicrosoftTeamsUserIdentifierModel) UnmarshalJSON

func (m *MicrosoftTeamsUserIdentifierModel) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type MicrosoftTeamsUserIdentifierModel.

type PhoneNumberIdentifierModel

type PhoneNumberIdentifierModel struct {
	// REQUIRED; The phone number in E.164 format.
	Value *string
}

PhoneNumberIdentifierModel - A phone number.

func (PhoneNumberIdentifierModel) MarshalJSON

func (p PhoneNumberIdentifierModel) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type PhoneNumberIdentifierModel.

func (*PhoneNumberIdentifierModel) UnmarshalJSON

func (p *PhoneNumberIdentifierModel) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type PhoneNumberIdentifierModel.

type PolicyInsightsPolicyStateChangedEventData

type PolicyInsightsPolicyStateChangedEventData struct {
	// The compliance reason code. May be empty.
	ComplianceReasonCode *string

	// The compliance state of the resource with respect to the policy assignment.
	ComplianceState *string

	// The resource ID of the policy assignment.
	PolicyAssignmentID *string

	// The resource ID of the policy definition.
	PolicyDefinitionID *string

	// The reference ID for the policy definition inside the initiative definition, if the policy assignment is for an initiative.
	// May be empty.
	PolicyDefinitionReferenceID *string

	// The subscription ID of the resource.
	SubscriptionID *string

	// The time that the resource was scanned by Azure Policy in the Universal ISO 8601 DateTime format yyyy-MM-ddTHH:mm:ss.fffffffZ.
	Timestamp *time.Time
}

PolicyInsightsPolicyStateChangedEventData - Schema of the Data property of an CloudEvent/EventGridEvent for a Microsoft.PolicyInsights.PolicyStateChanged event.

func (PolicyInsightsPolicyStateChangedEventData) MarshalJSON

MarshalJSON implements the json.Marshaller interface for type PolicyInsightsPolicyStateChangedEventData.

func (*PolicyInsightsPolicyStateChangedEventData) UnmarshalJSON

func (p *PolicyInsightsPolicyStateChangedEventData) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type PolicyInsightsPolicyStateChangedEventData.

type PolicyInsightsPolicyStateCreatedEventData

type PolicyInsightsPolicyStateCreatedEventData struct {
	// The compliance reason code. May be empty.
	ComplianceReasonCode *string

	// The compliance state of the resource with respect to the policy assignment.
	ComplianceState *string

	// The resource ID of the policy assignment.
	PolicyAssignmentID *string

	// The resource ID of the policy definition.
	PolicyDefinitionID *string

	// The reference ID for the policy definition inside the initiative definition, if the policy assignment is for an initiative.
	// May be empty.
	PolicyDefinitionReferenceID *string

	// The subscription ID of the resource.
	SubscriptionID *string

	// The time that the resource was scanned by Azure Policy in the Universal ISO 8601 DateTime format yyyy-MM-ddTHH:mm:ss.fffffffZ.
	Timestamp *time.Time
}

PolicyInsightsPolicyStateCreatedEventData - Schema of the Data property of an CloudEvent/EventGridEvent for a Microsoft.PolicyInsights.PolicyStateCreated event.

func (PolicyInsightsPolicyStateCreatedEventData) MarshalJSON

MarshalJSON implements the json.Marshaller interface for type PolicyInsightsPolicyStateCreatedEventData.

func (*PolicyInsightsPolicyStateCreatedEventData) UnmarshalJSON

func (p *PolicyInsightsPolicyStateCreatedEventData) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type PolicyInsightsPolicyStateCreatedEventData.

type PolicyInsightsPolicyStateDeletedEventData

type PolicyInsightsPolicyStateDeletedEventData struct {
	// The compliance reason code. May be empty.
	ComplianceReasonCode *string

	// The compliance state of the resource with respect to the policy assignment.
	ComplianceState *string

	// The resource ID of the policy assignment.
	PolicyAssignmentID *string

	// The resource ID of the policy definition.
	PolicyDefinitionID *string

	// The reference ID for the policy definition inside the initiative definition, if the policy assignment is for an initiative.
	// May be empty.
	PolicyDefinitionReferenceID *string

	// The subscription ID of the resource.
	SubscriptionID *string

	// The time that the resource was scanned by Azure Policy in the Universal ISO 8601 DateTime format yyyy-MM-ddTHH:mm:ss.fffffffZ.
	Timestamp *time.Time
}

PolicyInsightsPolicyStateDeletedEventData - Schema of the Data property of an CloudEvent/EventGridEvent for a Microsoft.PolicyInsights.PolicyStateDeleted event.

func (PolicyInsightsPolicyStateDeletedEventData) MarshalJSON

MarshalJSON implements the json.Marshaller interface for type PolicyInsightsPolicyStateDeletedEventData.

func (*PolicyInsightsPolicyStateDeletedEventData) UnmarshalJSON

func (p *PolicyInsightsPolicyStateDeletedEventData) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type PolicyInsightsPolicyStateDeletedEventData.

type RecordingChannelKind added in v0.3.0

type RecordingChannelKind string

RecordingChannelKind - The recording channel type - Mixed, Unmixed

const (
	RecordingChannelKindMixed   RecordingChannelKind = "Mixed"
	RecordingChannelKindUnmixed RecordingChannelKind = "Unmixed"
)

func PossibleRecordingChannelKindValues added in v0.3.0

func PossibleRecordingChannelKindValues() []RecordingChannelKind

PossibleRecordingChannelKindValues returns the possible values for the RecordingChannelType const type.

type RecordingContentType

type RecordingContentType string

RecordingContentType - The recording content type- AudioVideo, or Audio

const (
	RecordingContentTypeAudio      RecordingContentType = "Audio"
	RecordingContentTypeAudioVideo RecordingContentType = "AudioVideo"
)

func PossibleRecordingContentTypeValues

func PossibleRecordingContentTypeValues() []RecordingContentType

PossibleRecordingContentTypeValues returns the possible values for the RecordingContentType const type.

type RecordingFormatType

type RecordingFormatType string

RecordingFormatType - The recording format type - Mp4, Mp3, Wav

const (
	RecordingFormatTypeMp3 RecordingFormatType = "Mp3"
	RecordingFormatTypeMp4 RecordingFormatType = "Mp4"
	RecordingFormatTypeWav RecordingFormatType = "Wav"
)

func PossibleRecordingFormatTypeValues

func PossibleRecordingFormatTypeValues() []RecordingFormatType

PossibleRecordingFormatTypeValues returns the possible values for the RecordingFormatType const type.

type RedisExportRDBCompletedEventData

type RedisExportRDBCompletedEventData struct {
	// The name of this event.
	Name *string

	// The status of this event. Failed or succeeded
	Status *string

	// The time at which the event occurred.
	Timestamp *time.Time
}

RedisExportRDBCompletedEventData - Schema of the Data property of an CloudEvent/EventGridEvent for a Microsoft.Cache.ExportRDBCompleted event.

func (RedisExportRDBCompletedEventData) MarshalJSON

func (r RedisExportRDBCompletedEventData) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type RedisExportRDBCompletedEventData.

func (*RedisExportRDBCompletedEventData) UnmarshalJSON

func (r *RedisExportRDBCompletedEventData) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type RedisExportRDBCompletedEventData.

type RedisImportRDBCompletedEventData

type RedisImportRDBCompletedEventData struct {
	// The name of this event.
	Name *string

	// The status of this event. Failed or succeeded
	Status *string

	// The time at which the event occurred.
	Timestamp *time.Time
}

RedisImportRDBCompletedEventData - Schema of the Data property of an CloudEvent/EventGridEvent for a Microsoft.Cache.ImportRDBCompleted event.

func (RedisImportRDBCompletedEventData) MarshalJSON

func (r RedisImportRDBCompletedEventData) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type RedisImportRDBCompletedEventData.

func (*RedisImportRDBCompletedEventData) UnmarshalJSON

func (r *RedisImportRDBCompletedEventData) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type RedisImportRDBCompletedEventData.

type RedisPatchingCompletedEventData

type RedisPatchingCompletedEventData struct {
	// The name of this event.
	Name *string

	// The status of this event. Failed or succeeded
	Status *string

	// The time at which the event occurred.
	Timestamp *time.Time
}

RedisPatchingCompletedEventData - Schema of the Data property of an CloudEvent/EventGridEvent for a Microsoft.Cache.PatchingCompleted event.

func (RedisPatchingCompletedEventData) MarshalJSON

func (r RedisPatchingCompletedEventData) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type RedisPatchingCompletedEventData.

func (*RedisPatchingCompletedEventData) UnmarshalJSON

func (r *RedisPatchingCompletedEventData) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type RedisPatchingCompletedEventData.

type RedisScalingCompletedEventData

type RedisScalingCompletedEventData struct {
	// The name of this event.
	Name *string

	// The status of this event. Failed or succeeded
	Status *string

	// The time at which the event occurred.
	Timestamp *time.Time
}

RedisScalingCompletedEventData - Schema of the Data property of an CloudEvent/EventGridEvent for a Microsoft.Cache.ScalingCompleted event.

func (RedisScalingCompletedEventData) MarshalJSON

func (r RedisScalingCompletedEventData) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type RedisScalingCompletedEventData.

func (*RedisScalingCompletedEventData) UnmarshalJSON

func (r *RedisScalingCompletedEventData) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type RedisScalingCompletedEventData.

type ResourceActionCancelEventData

type ResourceActionCancelEventData struct {
	// The requested authorization for the operation.
	Authorization *ResourceAuthorization

	// The properties of the claims.
	Claims map[string]*string

	// An operation ID used for troubleshooting.
	CorrelationID *string

	// The details of the operation.
	HTTPRequest *ResourceHTTPRequest

	// The operation that was performed.
	OperationName *string

	// The resource group of the resource.
	ResourceGroup *string

	// The resource provider performing the operation.
	ResourceProvider *string

	// The URI of the resource in the operation.
	ResourceURI *string

	// The status of the operation.
	Status *string

	// The subscription ID of the resource.
	SubscriptionID *string

	// The tenant ID of the resource.
	TenantID *string
}

ResourceActionCancelEventData - Schema of the Data property of an CloudEvent/EventGridEvent for a Microsoft.Resources.ResourceActionCancel event. This is raised when a resource action operation is canceled.

func (ResourceActionCancelEventData) MarshalJSON

func (r ResourceActionCancelEventData) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type ResourceActionCancelEventData.

func (*ResourceActionCancelEventData) UnmarshalJSON

func (r *ResourceActionCancelEventData) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type ResourceActionCancelEventData.

type ResourceActionFailureEventData

type ResourceActionFailureEventData struct {
	// The requested authorization for the operation.
	Authorization *ResourceAuthorization

	// The properties of the claims.
	Claims map[string]*string

	// An operation ID used for troubleshooting.
	CorrelationID *string

	// The details of the operation.
	HTTPRequest *ResourceHTTPRequest

	// The operation that was performed.
	OperationName *string

	// The resource group of the resource.
	ResourceGroup *string

	// The resource provider performing the operation.
	ResourceProvider *string

	// The URI of the resource in the operation.
	ResourceURI *string

	// The status of the operation.
	Status *string

	// The subscription ID of the resource.
	SubscriptionID *string

	// The tenant ID of the resource.
	TenantID *string
}

ResourceActionFailureEventData - Schema of the Data property of an CloudEvent/EventGridEvent for a Microsoft.Resources.ResourceActionFailure event. This is raised when a resource action operation fails.

func (ResourceActionFailureEventData) MarshalJSON

func (r ResourceActionFailureEventData) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type ResourceActionFailureEventData.

func (*ResourceActionFailureEventData) UnmarshalJSON

func (r *ResourceActionFailureEventData) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type ResourceActionFailureEventData.

type ResourceActionSuccessEventData

type ResourceActionSuccessEventData struct {
	// The requested authorization for the operation.
	Authorization *ResourceAuthorization

	// The properties of the claims.
	Claims map[string]*string

	// An operation ID used for troubleshooting.
	CorrelationID *string

	// The details of the operation.
	HTTPRequest *ResourceHTTPRequest

	// The operation that was performed.
	OperationName *string

	// The resource group of the resource.
	ResourceGroup *string

	// The resource provider performing the operation.
	ResourceProvider *string

	// The URI of the resource in the operation.
	ResourceURI *string

	// The status of the operation.
	Status *string

	// The subscription ID of the resource.
	SubscriptionID *string

	// The tenant ID of the resource.
	TenantID *string
}

ResourceActionSuccessEventData - Schema of the Data property of an CloudEvent/EventGridEvent for a Microsoft.Resources.ResourceActionSuccess event. This is raised when a resource action operation succeeds.

func (ResourceActionSuccessEventData) MarshalJSON

func (r ResourceActionSuccessEventData) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type ResourceActionSuccessEventData.

func (*ResourceActionSuccessEventData) UnmarshalJSON

func (r *ResourceActionSuccessEventData) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type ResourceActionSuccessEventData.

type ResourceAuthorization

type ResourceAuthorization struct {
	// The action being requested.
	Action *string

	// The evidence for the authorization.
	Evidence map[string]*string

	// The scope of the authorization.
	Scope *string
}

ResourceAuthorization - The details of the authorization for the resource.

func (ResourceAuthorization) MarshalJSON

func (r ResourceAuthorization) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type ResourceAuthorization.

func (*ResourceAuthorization) UnmarshalJSON

func (r *ResourceAuthorization) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type ResourceAuthorization.

type ResourceDeleteCancelEventData

type ResourceDeleteCancelEventData struct {
	// The requested authorization for the operation.
	Authorization *ResourceAuthorization

	// The properties of the claims.
	Claims map[string]*string

	// An operation ID used for troubleshooting.
	CorrelationID *string

	// The details of the operation.
	HTTPRequest *ResourceHTTPRequest

	// The operation that was performed.
	OperationName *string

	// The resource group of the resource.
	ResourceGroup *string

	// The resource provider performing the operation.
	ResourceProvider *string

	// The URI of the resource in the operation.
	ResourceURI *string

	// The status of the operation.
	Status *string

	// The subscription ID of the resource.
	SubscriptionID *string

	// The tenant ID of the resource.
	TenantID *string
}

ResourceDeleteCancelEventData - Schema of the Data property of an CloudEvent/EventGridEvent for a Microsoft.Resources.ResourceDeleteCancel event. This is raised when a resource delete operation is canceled.

func (ResourceDeleteCancelEventData) MarshalJSON

func (r ResourceDeleteCancelEventData) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type ResourceDeleteCancelEventData.

func (*ResourceDeleteCancelEventData) UnmarshalJSON

func (r *ResourceDeleteCancelEventData) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type ResourceDeleteCancelEventData.

type ResourceDeleteFailureEventData

type ResourceDeleteFailureEventData struct {
	// The requested authorization for the operation.
	Authorization *ResourceAuthorization

	// The properties of the claims.
	Claims map[string]*string

	// An operation ID used for troubleshooting.
	CorrelationID *string

	// The details of the operation.
	HTTPRequest *ResourceHTTPRequest

	// The operation that was performed.
	OperationName *string

	// The resource group of the resource.
	ResourceGroup *string

	// The resource provider performing the operation.
	ResourceProvider *string

	// The URI of the resource in the operation.
	ResourceURI *string

	// The status of the operation.
	Status *string

	// The subscription ID of the resource.
	SubscriptionID *string

	// The tenant ID of the resource.
	TenantID *string
}

ResourceDeleteFailureEventData - Schema of the Data property of an CloudEvent/EventGridEvent for a Microsoft.Resources.ResourceDeleteFailure event. This is raised when a resource delete operation fails.

func (ResourceDeleteFailureEventData) MarshalJSON

func (r ResourceDeleteFailureEventData) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type ResourceDeleteFailureEventData.

func (*ResourceDeleteFailureEventData) UnmarshalJSON

func (r *ResourceDeleteFailureEventData) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type ResourceDeleteFailureEventData.

type ResourceDeleteSuccessEventData

type ResourceDeleteSuccessEventData struct {
	// The requested authorization for the operation.
	Authorization *ResourceAuthorization

	// The properties of the claims.
	Claims map[string]*string

	// An operation ID used for troubleshooting.
	CorrelationID *string

	// The details of the operation.
	HTTPRequest *ResourceHTTPRequest

	// The operation that was performed.
	OperationName *string

	// The resource group of the resource.
	ResourceGroup *string

	// The resource provider performing the operation.
	ResourceProvider *string

	// The URI of the resource in the operation.
	ResourceURI *string

	// The status of the operation.
	Status *string

	// The subscription ID of the resource.
	SubscriptionID *string

	// The tenant ID of the resource.
	TenantID *string
}

ResourceDeleteSuccessEventData - Schema of the Data property of an CloudEvent/EventGridEvent for a Microsoft.Resources.ResourceDeleteSuccess event. This is raised when a resource delete operation succeeds.

func (ResourceDeleteSuccessEventData) MarshalJSON

func (r ResourceDeleteSuccessEventData) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type ResourceDeleteSuccessEventData.

func (*ResourceDeleteSuccessEventData) UnmarshalJSON

func (r *ResourceDeleteSuccessEventData) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type ResourceDeleteSuccessEventData.

type ResourceHTTPRequest

type ResourceHTTPRequest struct {
	// The client IP address.
	ClientIPAddress *string

	// The client request ID.
	ClientRequestID *string

	// The request method.
	Method *string

	// The url used in the request.
	URL *string
}

ResourceHTTPRequest - The details of the HTTP request.

func (ResourceHTTPRequest) MarshalJSON

func (r ResourceHTTPRequest) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type ResourceHTTPRequest.

func (*ResourceHTTPRequest) UnmarshalJSON

func (r *ResourceHTTPRequest) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type ResourceHTTPRequest.

type ResourceNotificationsHealthResourcesAnnotatedEventData

type ResourceNotificationsHealthResourcesAnnotatedEventData struct {
	// api version of the resource properties bag
	APIVersion *string

	// details about operational info
	OperationalDetails *ResourceNotificationsOperationalDetails

	// resourceInfo details for update event
	ResourceDetails *ResourceNotificationsResourceUpdatedDetails
}

ResourceNotificationsHealthResourcesAnnotatedEventData - Schema of the Data property of an CloudEvent/EventGridEvent for a Microsoft.ResourceNotifications.HealthResources.ResourceAnnotated event.

func (ResourceNotificationsHealthResourcesAnnotatedEventData) MarshalJSON

MarshalJSON implements the json.Marshaller interface for type ResourceNotificationsHealthResourcesAnnotatedEventData.

func (*ResourceNotificationsHealthResourcesAnnotatedEventData) UnmarshalJSON

UnmarshalJSON implements the json.Unmarshaller interface for type ResourceNotificationsHealthResourcesAnnotatedEventData.

type ResourceNotificationsHealthResourcesAvailabilityStatusChangedEventData

type ResourceNotificationsHealthResourcesAvailabilityStatusChangedEventData struct {
	// api version of the resource properties bag
	APIVersion *string

	// details about operational info
	OperationalDetails *ResourceNotificationsOperationalDetails

	// resourceInfo details for update event
	ResourceDetails *ResourceNotificationsResourceUpdatedDetails
}

ResourceNotificationsHealthResourcesAvailabilityStatusChangedEventData - Schema of the Data property of an CloudEvent/EventGridEvent for a Microsoft.ResourceNotifications.HealthResources.AvailabilityStatusChanged event.

func (ResourceNotificationsHealthResourcesAvailabilityStatusChangedEventData) MarshalJSON

MarshalJSON implements the json.Marshaller interface for type ResourceNotificationsHealthResourcesAvailabilityStatusChangedEventData.

func (*ResourceNotificationsHealthResourcesAvailabilityStatusChangedEventData) UnmarshalJSON

UnmarshalJSON implements the json.Unmarshaller interface for type ResourceNotificationsHealthResourcesAvailabilityStatusChangedEventData.

type ResourceNotificationsOperationalDetails

type ResourceNotificationsOperationalDetails struct {
	// Date and Time when resource was updated
	ResourceEventTime *time.Time
}

ResourceNotificationsOperationalDetails - details of operational info

func (ResourceNotificationsOperationalDetails) MarshalJSON

func (r ResourceNotificationsOperationalDetails) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type ResourceNotificationsOperationalDetails.

func (*ResourceNotificationsOperationalDetails) UnmarshalJSON

func (r *ResourceNotificationsOperationalDetails) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type ResourceNotificationsOperationalDetails.

type ResourceNotificationsResourceDeletedDetails

type ResourceNotificationsResourceDeletedDetails struct {
	// id of the resource for which the event is being emitted
	ID *string

	// name of the resource for which the event is being emitted
	Name *string

	// the type of the resource for which the event is being emitted
	Type *string
}

ResourceNotificationsResourceDeletedDetails - Describes the schema of the properties under resource info which are common across all ARN system topic delete events

func (ResourceNotificationsResourceDeletedDetails) MarshalJSON

MarshalJSON implements the json.Marshaller interface for type ResourceNotificationsResourceDeletedDetails.

func (*ResourceNotificationsResourceDeletedDetails) UnmarshalJSON

func (r *ResourceNotificationsResourceDeletedDetails) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type ResourceNotificationsResourceDeletedDetails.

type ResourceNotificationsResourceDeletedEventData

type ResourceNotificationsResourceDeletedEventData struct {
	// details about operational info
	OperationalDetails *ResourceNotificationsOperationalDetails

	// resourceInfo details for delete event
	ResourceDetails *ResourceNotificationsResourceDeletedDetails
}

ResourceNotificationsResourceDeletedEventData - Describes the schema of the common properties across all ARN system topic delete events

func (ResourceNotificationsResourceDeletedEventData) MarshalJSON

MarshalJSON implements the json.Marshaller interface for type ResourceNotificationsResourceDeletedEventData.

func (*ResourceNotificationsResourceDeletedEventData) UnmarshalJSON

func (r *ResourceNotificationsResourceDeletedEventData) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type ResourceNotificationsResourceDeletedEventData.

type ResourceNotificationsResourceManagementCreatedOrUpdatedEventData

type ResourceNotificationsResourceManagementCreatedOrUpdatedEventData struct {
	// api version of the resource properties bag
	APIVersion *string

	// details about operational info
	OperationalDetails *ResourceNotificationsOperationalDetails

	// resourceInfo details for update event
	ResourceDetails *ResourceNotificationsResourceUpdatedDetails
}

ResourceNotificationsResourceManagementCreatedOrUpdatedEventData - Schema of the Data property of an CloudEvent/EventGridEvent for a Microsoft.ResourceNotifications.Resources.CreatedOrUpdated event.

func (ResourceNotificationsResourceManagementCreatedOrUpdatedEventData) MarshalJSON

MarshalJSON implements the json.Marshaller interface for type ResourceNotificationsResourceManagementCreatedOrUpdatedEventData.

func (*ResourceNotificationsResourceManagementCreatedOrUpdatedEventData) UnmarshalJSON

UnmarshalJSON implements the json.Unmarshaller interface for type ResourceNotificationsResourceManagementCreatedOrUpdatedEventData.

type ResourceNotificationsResourceManagementDeletedEventData

type ResourceNotificationsResourceManagementDeletedEventData struct {
	// details about operational info
	OperationalDetails *ResourceNotificationsOperationalDetails

	// resourceInfo details for delete event
	ResourceDetails *ResourceNotificationsResourceDeletedDetails
}

ResourceNotificationsResourceManagementDeletedEventData - Schema of the Data property of an CloudEvent/EventGridEvent for a Microsoft.ResourceNotifications.Resources.Deleted event.

func (ResourceNotificationsResourceManagementDeletedEventData) MarshalJSON

MarshalJSON implements the json.Marshaller interface for type ResourceNotificationsResourceManagementDeletedEventData.

func (*ResourceNotificationsResourceManagementDeletedEventData) UnmarshalJSON

UnmarshalJSON implements the json.Unmarshaller interface for type ResourceNotificationsResourceManagementDeletedEventData.

type ResourceNotificationsResourceUpdatedDetails

type ResourceNotificationsResourceUpdatedDetails struct {
	// id of the resource for which the event is being emitted
	ID *string

	// the location of the resource for which the event is being emitted
	Location *string

	// name of the resource for which the event is being emitted
	Name *string

	// properties in the payload of the resource for which the event is being emitted
	Properties map[string]any

	// the tags on the resource for which the event is being emitted
	Tags map[string]*string

	// the type of the resource for which the event is being emitted
	Type *string
}

ResourceNotificationsResourceUpdatedDetails - Describes the schema of the properties under resource info which are common across all ARN system topic events

func (ResourceNotificationsResourceUpdatedDetails) MarshalJSON

MarshalJSON implements the json.Marshaller interface for type ResourceNotificationsResourceUpdatedDetails.

func (*ResourceNotificationsResourceUpdatedDetails) UnmarshalJSON

func (r *ResourceNotificationsResourceUpdatedDetails) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type ResourceNotificationsResourceUpdatedDetails.

type ResourceNotificationsResourceUpdatedEventData

type ResourceNotificationsResourceUpdatedEventData struct {
	// api version of the resource properties bag
	APIVersion *string

	// details about operational info
	OperationalDetails *ResourceNotificationsOperationalDetails

	// resourceInfo details for update event
	ResourceDetails *ResourceNotificationsResourceUpdatedDetails
}

ResourceNotificationsResourceUpdatedEventData - Describes the schema of the common properties across all ARN system topic events

func (ResourceNotificationsResourceUpdatedEventData) MarshalJSON

MarshalJSON implements the json.Marshaller interface for type ResourceNotificationsResourceUpdatedEventData.

func (*ResourceNotificationsResourceUpdatedEventData) UnmarshalJSON

func (r *ResourceNotificationsResourceUpdatedEventData) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type ResourceNotificationsResourceUpdatedEventData.

type ResourceWriteCancelEventData

type ResourceWriteCancelEventData struct {
	// The requested authorization for the operation.
	Authorization *ResourceAuthorization

	// The properties of the claims.
	Claims map[string]*string

	// An operation ID used for troubleshooting.
	CorrelationID *string

	// The details of the operation.
	HTTPRequest *ResourceHTTPRequest

	// The operation that was performed.
	OperationName *string

	// The resource group of the resource.
	ResourceGroup *string

	// The resource provider performing the operation.
	ResourceProvider *string

	// The URI of the resource in the operation.
	ResourceURI *string

	// The status of the operation.
	Status *string

	// The subscription ID of the resource.
	SubscriptionID *string

	// The tenant ID of the resource.
	TenantID *string
}

ResourceWriteCancelEventData - Schema of the Data property of an CloudEvent/EventGridEvent for a Microsoft.Resources.ResourceWriteCancel event. This is raised when a resource create or update operation is canceled.

func (ResourceWriteCancelEventData) MarshalJSON

func (r ResourceWriteCancelEventData) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type ResourceWriteCancelEventData.

func (*ResourceWriteCancelEventData) UnmarshalJSON

func (r *ResourceWriteCancelEventData) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type ResourceWriteCancelEventData.

type ResourceWriteFailureEventData

type ResourceWriteFailureEventData struct {
	// The requested authorization for the operation.
	Authorization *ResourceAuthorization

	// The properties of the claims.
	Claims map[string]*string

	// An operation ID used for troubleshooting.
	CorrelationID *string

	// The details of the operation.
	HTTPRequest *ResourceHTTPRequest

	// The operation that was performed.
	OperationName *string

	// The resource group of the resource.
	ResourceGroup *string

	// The resource provider performing the operation.
	ResourceProvider *string

	// The URI of the resource in the operation.
	ResourceURI *string

	// The status of the operation.
	Status *string

	// The subscription ID of the resource.
	SubscriptionID *string

	// The tenant ID of the resource.
	TenantID *string
}

ResourceWriteFailureEventData - Schema of the Data property of an CloudEvent/EventGridEvent for a Microsoft.Resources.ResourceWriteFailure event. This is raised when a resource create or update operation fails.

func (ResourceWriteFailureEventData) MarshalJSON

func (r ResourceWriteFailureEventData) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type ResourceWriteFailureEventData.

func (*ResourceWriteFailureEventData) UnmarshalJSON

func (r *ResourceWriteFailureEventData) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type ResourceWriteFailureEventData.

type ResourceWriteSuccessEventData

type ResourceWriteSuccessEventData struct {
	// The requested authorization for the operation.
	Authorization *ResourceAuthorization

	// The properties of the claims.
	Claims map[string]*string

	// An operation ID used for troubleshooting.
	CorrelationID *string

	// The details of the operation.
	HTTPRequest *ResourceHTTPRequest

	// The operation that was performed.
	OperationName *string

	// The resource group of the resource.
	ResourceGroup *string

	// The resource provider performing the operation.
	ResourceProvider *string

	// The URI of the resource in the operation.
	ResourceURI *string

	// The status of the operation.
	Status *string

	// The subscription ID of the resource.
	SubscriptionID *string

	// The tenant ID of the resource.
	TenantID *string
}

ResourceWriteSuccessEventData - Schema of the Data property of an CloudEvent/EventGridEvent for a Microsoft.Resources.ResourceWriteSuccess event. This is raised when a resource create or update operation succeeds.

func (ResourceWriteSuccessEventData) MarshalJSON

func (r ResourceWriteSuccessEventData) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type ResourceWriteSuccessEventData.

func (*ResourceWriteSuccessEventData) UnmarshalJSON

func (r *ResourceWriteSuccessEventData) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type ResourceWriteSuccessEventData.

type ServiceBusActiveMessagesAvailablePeriodicNotificationsEventData

type ServiceBusActiveMessagesAvailablePeriodicNotificationsEventData struct {
	// The entity type of the Microsoft.ServiceBus resource. Could be one of 'queue' or 'subscriber'.
	EntityType *string

	// The namespace name of the Microsoft.ServiceBus resource.
	NamespaceName *string

	// The name of the Microsoft.ServiceBus queue. If the entity type is of type 'subscriber', then this value will be null.
	QueueName *string

	// The endpoint of the Microsoft.ServiceBus resource.
	RequestURI *string

	// The name of the Microsoft.ServiceBus topic's subscription. If the entity type is of type 'queue', then this value will
	// be null.
	SubscriptionName *string

	// The name of the Microsoft.ServiceBus topic. If the entity type is of type 'queue', then this value will be null.
	TopicName *string
}

ServiceBusActiveMessagesAvailablePeriodicNotificationsEventData - Schema of the Data property of an CloudEvent/EventGridEvent for a Microsoft.ServiceBus.ActiveMessagesAvailablePeriodicNotifications event.

func (ServiceBusActiveMessagesAvailablePeriodicNotificationsEventData) MarshalJSON

MarshalJSON implements the json.Marshaller interface for type ServiceBusActiveMessagesAvailablePeriodicNotificationsEventData.

func (*ServiceBusActiveMessagesAvailablePeriodicNotificationsEventData) UnmarshalJSON

UnmarshalJSON implements the json.Unmarshaller interface for type ServiceBusActiveMessagesAvailablePeriodicNotificationsEventData.

type ServiceBusActiveMessagesAvailableWithNoListenersEventData

type ServiceBusActiveMessagesAvailableWithNoListenersEventData struct {
	// The entity type of the Microsoft.ServiceBus resource. Could be one of 'queue' or 'subscriber'.
	EntityType *string

	// The namespace name of the Microsoft.ServiceBus resource.
	NamespaceName *string

	// The name of the Microsoft.ServiceBus queue. If the entity type is of type 'subscriber', then this value will be null.
	QueueName *string

	// The endpoint of the Microsoft.ServiceBus resource.
	RequestURI *string

	// The name of the Microsoft.ServiceBus topic's subscription. If the entity type is of type 'queue', then this value will
	// be null.
	SubscriptionName *string

	// The name of the Microsoft.ServiceBus topic. If the entity type is of type 'queue', then this value will be null.
	TopicName *string
}

ServiceBusActiveMessagesAvailableWithNoListenersEventData - Schema of the Data property of an CloudEvent/EventGridEvent for a Microsoft.ServiceBus.ActiveMessagesAvailableWithNoListeners event.

func (ServiceBusActiveMessagesAvailableWithNoListenersEventData) MarshalJSON

MarshalJSON implements the json.Marshaller interface for type ServiceBusActiveMessagesAvailableWithNoListenersEventData.

func (*ServiceBusActiveMessagesAvailableWithNoListenersEventData) UnmarshalJSON

UnmarshalJSON implements the json.Unmarshaller interface for type ServiceBusActiveMessagesAvailableWithNoListenersEventData.

type ServiceBusDeadletterMessagesAvailablePeriodicNotificationsEventData

type ServiceBusDeadletterMessagesAvailablePeriodicNotificationsEventData struct {
	// The entity type of the Microsoft.ServiceBus resource. Could be one of 'queue' or 'subscriber'.
	EntityType *string

	// The namespace name of the Microsoft.ServiceBus resource.
	NamespaceName *string

	// The name of the Microsoft.ServiceBus queue. If the entity type is of type 'subscriber', then this value will be null.
	QueueName *string

	// The endpoint of the Microsoft.ServiceBus resource.
	RequestURI *string

	// The name of the Microsoft.ServiceBus topic's subscription. If the entity type is of type 'queue', then this value will
	// be null.
	SubscriptionName *string

	// The name of the Microsoft.ServiceBus topic. If the entity type is of type 'queue', then this value will be null.
	TopicName *string
}

ServiceBusDeadletterMessagesAvailablePeriodicNotificationsEventData - Schema of the Data property of an CloudEvent/EventGridEvent for a Microsoft.ServiceBus.DeadletterMessagesAvailablePeriodicNotifications event.

func (ServiceBusDeadletterMessagesAvailablePeriodicNotificationsEventData) MarshalJSON

MarshalJSON implements the json.Marshaller interface for type ServiceBusDeadletterMessagesAvailablePeriodicNotificationsEventData.

func (*ServiceBusDeadletterMessagesAvailablePeriodicNotificationsEventData) UnmarshalJSON

UnmarshalJSON implements the json.Unmarshaller interface for type ServiceBusDeadletterMessagesAvailablePeriodicNotificationsEventData.

type ServiceBusDeadletterMessagesAvailableWithNoListenersEventData

type ServiceBusDeadletterMessagesAvailableWithNoListenersEventData struct {
	// The entity type of the Microsoft.ServiceBus resource. Could be one of 'queue' or 'subscriber'.
	EntityType *string

	// The namespace name of the Microsoft.ServiceBus resource.
	NamespaceName *string

	// The name of the Microsoft.ServiceBus queue. If the entity type is of type 'subscriber', then this value will be null.
	QueueName *string

	// The endpoint of the Microsoft.ServiceBus resource.
	RequestURI *string

	// The name of the Microsoft.ServiceBus topic's subscription. If the entity type is of type 'queue', then this value will
	// be null.
	SubscriptionName *string

	// The name of the Microsoft.ServiceBus topic. If the entity type is of type 'queue', then this value will be null.
	TopicName *string
}

ServiceBusDeadletterMessagesAvailableWithNoListenersEventData - Schema of the Data property of an CloudEvent/EventGridEvent for a Microsoft.ServiceBus.DeadletterMessagesAvailableWithNoListeners event.

func (ServiceBusDeadletterMessagesAvailableWithNoListenersEventData) MarshalJSON

MarshalJSON implements the json.Marshaller interface for type ServiceBusDeadletterMessagesAvailableWithNoListenersEventData.

func (*ServiceBusDeadletterMessagesAvailableWithNoListenersEventData) UnmarshalJSON

UnmarshalJSON implements the json.Unmarshaller interface for type ServiceBusDeadletterMessagesAvailableWithNoListenersEventData.

type SignalRServiceClientConnectionConnectedEventData

type SignalRServiceClientConnectionConnectedEventData struct {
	// The connection Id of connected client connection.
	ConnectionID *string

	// The hub of connected client connection.
	HubName *string

	// The time at which the event occurred.
	Timestamp *time.Time

	// The user Id of connected client connection.
	UserID *string
}

SignalRServiceClientConnectionConnectedEventData - Schema of the Data property of an CloudEvent/EventGridEvent for a Microsoft.SignalRService.ClientConnectionConnected event.

func (SignalRServiceClientConnectionConnectedEventData) MarshalJSON

MarshalJSON implements the json.Marshaller interface for type SignalRServiceClientConnectionConnectedEventData.

func (*SignalRServiceClientConnectionConnectedEventData) UnmarshalJSON

UnmarshalJSON implements the json.Unmarshaller interface for type SignalRServiceClientConnectionConnectedEventData.

type SignalRServiceClientConnectionDisconnectedEventData

type SignalRServiceClientConnectionDisconnectedEventData struct {
	// The connection Id of connected client connection.
	ConnectionID *string

	// The message of error that cause the client connection disconnected.
	ErrorMessage *string

	// The hub of connected client connection.
	HubName *string

	// The time at which the event occurred.
	Timestamp *time.Time

	// The user Id of connected client connection.
	UserID *string
}

SignalRServiceClientConnectionDisconnectedEventData - Schema of the Data property of an CloudEvent/EventGridEvent for a Microsoft.SignalRService.ClientConnectionDisconnected event.

func (SignalRServiceClientConnectionDisconnectedEventData) MarshalJSON

MarshalJSON implements the json.Marshaller interface for type SignalRServiceClientConnectionDisconnectedEventData.

func (*SignalRServiceClientConnectionDisconnectedEventData) UnmarshalJSON

UnmarshalJSON implements the json.Unmarshaller interface for type SignalRServiceClientConnectionDisconnectedEventData.

type StampKind

type StampKind string

StampKind - Kind of environment where app service plan is.

const (
	// StampKindAseV1 - App Service Plan is running on an App Service Environment V1.
	StampKindAseV1 StampKind = "AseV1"
	// StampKindAseV2 - App Service Plan is running on an App Service Environment V2.
	StampKindAseV2 StampKind = "AseV2"
	// StampKindPublic - App Service Plan is running on a public stamp.
	StampKindPublic StampKind = "Public"
)

func PossibleStampKindValues

func PossibleStampKindValues() []StampKind

PossibleStampKindValues returns the possible values for the StampKind const type.

type StorageAsyncOperationInitiatedEventData

type StorageAsyncOperationInitiatedEventData struct {
	// The name of the API/operation that triggered this event.
	API *string

	// The type of blob.
	BlobType *string

	// A request id provided by the client of the storage API operation that triggered this event.
	ClientRequestID *string

	// The size of the blob in bytes. This is the same as what would be returned in the Content-Length header from the blob.
	ContentLength *int64

	// The content type of the blob. This is the same as what would be returned in the Content-Type header from the blob.
	ContentType *string

	// The identity of the requester that triggered this event.
	Identity *string

	// The request id generated by the Storage service for the storage API operation that triggered this event.
	RequestID *string

	// An opaque string value representing the logical sequence of events for any particular blob name. Users can use standard
	// string comparison to understand the relative sequence of two events on the same
	// blob name.
	Sequencer *string

	// For service use only. Diagnostic data occasionally included by the Azure Storage service. This property should be ignored
	// by event consumers.
	StorageDiagnostics any

	// The path to the blob.
	URL *string
}

StorageAsyncOperationInitiatedEventData - Schema of the Data property of an CloudEvent/EventGridEvent for a Microsoft.Storage.AsyncOperationInitiated event.

func (StorageAsyncOperationInitiatedEventData) MarshalJSON

func (s StorageAsyncOperationInitiatedEventData) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type StorageAsyncOperationInitiatedEventData.

func (*StorageAsyncOperationInitiatedEventData) UnmarshalJSON

func (s *StorageAsyncOperationInitiatedEventData) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type StorageAsyncOperationInitiatedEventData.

type StorageBlobCreatedEventData

type StorageBlobCreatedEventData struct {
	// The name of the API/operation that triggered this event.
	API *string

	// The type of blob.
	BlobType *string

	// A request id provided by the client of the storage API operation that triggered this event.
	ClientRequestID *string

	// The size of the blob in bytes. This is the same as what would be returned in the Content-Length header from the blob.
	ContentLength *int64

	// The offset of the blob in bytes.
	ContentOffset *int64

	// The content type of the blob. This is the same as what would be returned in the Content-Type header from the blob.
	ContentType *string

	// The etag of the blob at the time this event was triggered.
	ETag *string

	// The identity of the requester that triggered this event.
	Identity *string

	// The request id generated by the Storage service for the storage API operation that triggered this event.
	RequestID *string

	// An opaque string value representing the logical sequence of events for any particular blob name. Users can use standard
	// string comparison to understand the relative sequence of two events on the same
	// blob name.
	Sequencer *string

	// For service use only. Diagnostic data occasionally included by the Azure Storage service. This property should be ignored
	// by event consumers.
	StorageDiagnostics any

	// The path to the blob.
	URL *string
}

StorageBlobCreatedEventData - Schema of the Data property of an CloudEvent/EventGridEvent for a Microsoft.Storage.BlobCreated event.

func (StorageBlobCreatedEventData) MarshalJSON

func (s StorageBlobCreatedEventData) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type StorageBlobCreatedEventData.

func (*StorageBlobCreatedEventData) UnmarshalJSON

func (s *StorageBlobCreatedEventData) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type StorageBlobCreatedEventData.

type StorageBlobDeletedEventData

type StorageBlobDeletedEventData struct {
	// The name of the API/operation that triggered this event.
	API *string

	// The type of blob.
	BlobType *string

	// A request id provided by the client of the storage API operation that triggered this event.
	ClientRequestID *string

	// The content type of the blob. This is the same as what would be returned in the Content-Type header from the blob.
	ContentType *string

	// The identity of the requester that triggered this event.
	Identity *string

	// The request id generated by the Storage service for the storage API operation that triggered this event.
	RequestID *string

	// An opaque string value representing the logical sequence of events for any particular blob name. Users can use standard
	// string comparison to understand the relative sequence of two events on the same
	// blob name.
	Sequencer *string

	// For service use only. Diagnostic data occasionally included by the Azure Storage service. This property should be ignored
	// by event consumers.
	StorageDiagnostics any

	// The path to the blob.
	URL *string
}

StorageBlobDeletedEventData - Schema of the Data property of an CloudEvent/EventGridEvent for a Microsoft.Storage.BlobDeleted event.

func (StorageBlobDeletedEventData) MarshalJSON

func (s StorageBlobDeletedEventData) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type StorageBlobDeletedEventData.

func (*StorageBlobDeletedEventData) UnmarshalJSON

func (s *StorageBlobDeletedEventData) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type StorageBlobDeletedEventData.

type StorageBlobInventoryPolicyCompletedEventData

type StorageBlobInventoryPolicyCompletedEventData struct {
	// The account name for which inventory policy is registered.
	AccountName *string

	// The blob URL for manifest file for inventory run.
	ManifestBlobURL *string

	// The policy run id for inventory run.
	PolicyRunID *string

	// The status of inventory run, it can be Succeeded/PartiallySucceeded/Failed.
	PolicyRunStatus *string

	// The status message for inventory run.
	PolicyRunStatusMessage *string

	// The rule name for inventory policy.
	RuleName *string

	// The time at which inventory policy was scheduled.
	ScheduleDateTime *time.Time
}

StorageBlobInventoryPolicyCompletedEventData - Schema of the Data property of an CloudEvent/EventGridEvent for an Microsoft.Storage.BlobInventoryPolicyCompleted event.

func (StorageBlobInventoryPolicyCompletedEventData) MarshalJSON

MarshalJSON implements the json.Marshaller interface for type StorageBlobInventoryPolicyCompletedEventData.

func (*StorageBlobInventoryPolicyCompletedEventData) UnmarshalJSON

func (s *StorageBlobInventoryPolicyCompletedEventData) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type StorageBlobInventoryPolicyCompletedEventData.

type StorageBlobRenamedEventData

type StorageBlobRenamedEventData struct {
	// The name of the API/operation that triggered this event.
	API *string

	// A request id provided by the client of the storage API operation that triggered this event.
	ClientRequestID *string

	// The new path to the blob after the rename operation.
	DestinationURL *string

	// The identity of the requester that triggered this event.
	Identity *string

	// The request id generated by the storage service for the storage API operation that triggered this event.
	RequestID *string

	// An opaque string value representing the logical sequence of events for any particular blob name. Users can use standard
	// string comparison to understand the relative sequence of two events on the same
	// blob name.
	Sequencer *string

	// The path to the blob that was renamed.
	SourceURL *string

	// For service use only. Diagnostic data occasionally included by the Azure Storage service. This property should be ignored
	// by event consumers.
	StorageDiagnostics any
}

StorageBlobRenamedEventData - Schema of the Data property of an CloudEvent/EventGridEvent for a Microsoft.Storage.BlobRenamed event.

func (StorageBlobRenamedEventData) MarshalJSON

func (s StorageBlobRenamedEventData) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type StorageBlobRenamedEventData.

func (*StorageBlobRenamedEventData) UnmarshalJSON

func (s *StorageBlobRenamedEventData) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type StorageBlobRenamedEventData.

type StorageBlobTierChangedEventData

type StorageBlobTierChangedEventData struct {
	// The name of the API/operation that triggered this event.
	API *string

	// The type of blob.
	BlobType *string

	// A request id provided by the client of the storage API operation that triggered this event.
	ClientRequestID *string

	// The size of the blob in bytes. This is the same as what would be returned in the Content-Length header from the blob.
	ContentLength *int64

	// The content type of the blob. This is the same as what would be returned in the Content-Type header from the blob.
	ContentType *string

	// The identity of the requester that triggered this event.
	Identity *string

	// The request id generated by the Storage service for the storage API operation that triggered this event.
	RequestID *string

	// An opaque string value representing the logical sequence of events for any particular blob name. Users can use standard
	// string comparison to understand the relative sequence of two events on the same
	// blob name.
	Sequencer *string

	// For service use only. Diagnostic data occasionally included by the Azure Storage service. This property should be ignored
	// by event consumers.
	StorageDiagnostics any

	// The path to the blob.
	URL *string
}

StorageBlobTierChangedEventData - Schema of the Data property of an CloudEvent/EventGridEvent for a Microsoft.Storage.BlobTierChanged event.

func (StorageBlobTierChangedEventData) MarshalJSON

func (s StorageBlobTierChangedEventData) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type StorageBlobTierChangedEventData.

func (*StorageBlobTierChangedEventData) UnmarshalJSON

func (s *StorageBlobTierChangedEventData) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type StorageBlobTierChangedEventData.

type StorageDirectoryCreatedEventData

type StorageDirectoryCreatedEventData struct {
	// The name of the API/operation that triggered this event.
	API *string

	// A request id provided by the client of the storage API operation that triggered this event.
	ClientRequestID *string

	// The etag of the directory at the time this event was triggered.
	ETag *string

	// The identity of the requester that triggered this event.
	Identity *string

	// The request id generated by the storage service for the storage API operation that triggered this event.
	RequestID *string

	// An opaque string value representing the logical sequence of events for any particular directory name. Users can use standard
	// string comparison to understand the relative sequence of two events on the
	// same directory name.
	Sequencer *string

	// For service use only. Diagnostic data occasionally included by the Azure Storage service. This property should be ignored
	// by event consumers.
	StorageDiagnostics any

	// The path to the directory.
	URL *string
}

StorageDirectoryCreatedEventData - Schema of the Data property of an CloudEvent/EventGridEvent for a Microsoft.Storage.DirectoryCreated event.

func (StorageDirectoryCreatedEventData) MarshalJSON

func (s StorageDirectoryCreatedEventData) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type StorageDirectoryCreatedEventData.

func (*StorageDirectoryCreatedEventData) UnmarshalJSON

func (s *StorageDirectoryCreatedEventData) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type StorageDirectoryCreatedEventData.

type StorageDirectoryDeletedEventData

type StorageDirectoryDeletedEventData struct {
	// The name of the API/operation that triggered this event.
	API *string

	// A request id provided by the client of the storage API operation that triggered this event.
	ClientRequestID *string

	// The identity of the requester that triggered this event.
	Identity *string

	// Is this event for a recursive delete operation.
	Recursive *string

	// The request id generated by the storage service for the storage API operation that triggered this event.
	RequestID *string

	// An opaque string value representing the logical sequence of events for any particular directory name. Users can use standard
	// string comparison to understand the relative sequence of two events on the
	// same directory name.
	Sequencer *string

	// For service use only. Diagnostic data occasionally included by the Azure Storage service. This property should be ignored
	// by event consumers.
	StorageDiagnostics any

	// The path to the deleted directory.
	URL *string
}

StorageDirectoryDeletedEventData - Schema of the Data property of an CloudEvent/EventGridEvent for a Microsoft.Storage.DirectoryDeleted event.

func (StorageDirectoryDeletedEventData) MarshalJSON

func (s StorageDirectoryDeletedEventData) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type StorageDirectoryDeletedEventData.

func (*StorageDirectoryDeletedEventData) UnmarshalJSON

func (s *StorageDirectoryDeletedEventData) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type StorageDirectoryDeletedEventData.

type StorageDirectoryRenamedEventData

type StorageDirectoryRenamedEventData struct {
	// The name of the API/operation that triggered this event.
	API *string

	// A request id provided by the client of the storage API operation that triggered this event.
	ClientRequestID *string

	// The new path to the directory after the rename operation.
	DestinationURL *string

	// The identity of the requester that triggered this event.
	Identity *string

	// The request id generated by the storage service for the storage API operation that triggered this event.
	RequestID *string

	// An opaque string value representing the logical sequence of events for any particular directory name. Users can use standard
	// string comparison to understand the relative sequence of two events on the
	// same directory name.
	Sequencer *string

	// The path to the directory that was renamed.
	SourceURL *string

	// For service use only. Diagnostic data occasionally included by the Azure Storage service. This property should be ignored
	// by event consumers.
	StorageDiagnostics any
}

StorageDirectoryRenamedEventData - Schema of the Data property of an CloudEvent/EventGridEvent for a Microsoft.Storage.DirectoryRenamed event.

func (StorageDirectoryRenamedEventData) MarshalJSON

func (s StorageDirectoryRenamedEventData) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type StorageDirectoryRenamedEventData.

func (*StorageDirectoryRenamedEventData) UnmarshalJSON

func (s *StorageDirectoryRenamedEventData) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type StorageDirectoryRenamedEventData.

type StorageLifecyclePolicyActionSummaryDetail

type StorageLifecyclePolicyActionSummaryDetail struct {
	// Error messages of this action if any.
	ErrorList *string

	// Number of success operations of this action.
	SuccessCount *int64

	// Total number of objects to be acted on by this action.
	TotalObjectsCount *int64
}

StorageLifecyclePolicyActionSummaryDetail - Execution statistics of a specific policy action in a Blob Management cycle.

func (StorageLifecyclePolicyActionSummaryDetail) MarshalJSON

MarshalJSON implements the json.Marshaller interface for type StorageLifecyclePolicyActionSummaryDetail.

func (*StorageLifecyclePolicyActionSummaryDetail) UnmarshalJSON

func (s *StorageLifecyclePolicyActionSummaryDetail) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type StorageLifecyclePolicyActionSummaryDetail.

type StorageLifecyclePolicyCompletedEventData

type StorageLifecyclePolicyCompletedEventData struct {
	// Execution statistics of a specific policy action in a Blob Management cycle.
	DeleteSummary *StorageLifecyclePolicyActionSummaryDetail

	// The time the policy task was scheduled.
	ScheduleTime *string

	// Execution statistics of a specific policy action in a Blob Management cycle.
	TierToArchiveSummary *StorageLifecyclePolicyActionSummaryDetail

	// Execution statistics of a specific policy action in a Blob Management cycle.
	TierToCoolSummary *StorageLifecyclePolicyActionSummaryDetail
}

StorageLifecyclePolicyCompletedEventData - Schema of the Data property of an CloudEvent/EventGridEvent for a Microsoft.Storage.LifecyclePolicyCompleted event.

func (StorageLifecyclePolicyCompletedEventData) MarshalJSON

MarshalJSON implements the json.Marshaller interface for type StorageLifecyclePolicyCompletedEventData.

func (*StorageLifecyclePolicyCompletedEventData) UnmarshalJSON

func (s *StorageLifecyclePolicyCompletedEventData) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type StorageLifecyclePolicyCompletedEventData.

type StorageTaskAssignmentCompletedEventData

type StorageTaskAssignmentCompletedEventData struct {
	// The time at which a storage task was completed.
	CompletedOn *time.Time

	// The status for a storage task.
	Status *StorageTaskAssignmentCompletedStatus

	// The summary report blob url for a storage task
	SummaryReportBlobURI *string

	// The execution id for a storage task.
	TaskExecutionID *string

	// The task name for a storage task.
	TaskName *string
}

StorageTaskAssignmentCompletedEventData - Schema of the Data property of an CloudEvent/EventGridEvent for an Microsoft.Storage.StorageTaskAssignmentCompleted event.

func (StorageTaskAssignmentCompletedEventData) MarshalJSON

func (s StorageTaskAssignmentCompletedEventData) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type StorageTaskAssignmentCompletedEventData.

func (*StorageTaskAssignmentCompletedEventData) UnmarshalJSON

func (s *StorageTaskAssignmentCompletedEventData) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type StorageTaskAssignmentCompletedEventData.

type StorageTaskAssignmentCompletedStatus

type StorageTaskAssignmentCompletedStatus string

StorageTaskAssignmentCompletedStatus - The status for a storage task.

const (
	StorageTaskAssignmentCompletedStatusFailed    StorageTaskAssignmentCompletedStatus = "Failed"
	StorageTaskAssignmentCompletedStatusSucceeded StorageTaskAssignmentCompletedStatus = "Succeeded"
)

func PossibleStorageTaskAssignmentCompletedStatusValues

func PossibleStorageTaskAssignmentCompletedStatusValues() []StorageTaskAssignmentCompletedStatus

PossibleStorageTaskAssignmentCompletedStatusValues returns the possible values for the StorageTaskAssignmentCompletedStatus const type.

type StorageTaskAssignmentQueuedEventData

type StorageTaskAssignmentQueuedEventData struct {
	// The time at which a storage task was queued.
	QueuedOn *time.Time

	// The execution id for a storage task.
	TaskExecutionID *string
}

StorageTaskAssignmentQueuedEventData - Schema of the Data property of an CloudEvent/EventGridEvent for an Microsoft.Storage.StorageTaskAssignmentQueued event.

func (StorageTaskAssignmentQueuedEventData) MarshalJSON

func (s StorageTaskAssignmentQueuedEventData) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type StorageTaskAssignmentQueuedEventData.

func (*StorageTaskAssignmentQueuedEventData) UnmarshalJSON

func (s *StorageTaskAssignmentQueuedEventData) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type StorageTaskAssignmentQueuedEventData.

type StorageTaskCompletedEventData

type StorageTaskCompletedEventData struct {
	// The time at which a storage task was completed.
	CompletedDateTime *time.Time

	// The status for a storage task.
	Status *StorageTaskCompletedStatus

	// The summary report blob url for a storage task
	SummaryReportBlobURL *string

	// The execution id for a storage task.
	TaskExecutionID *string

	// The task name for a storage task.
	TaskName *string
}

StorageTaskCompletedEventData - Schema of the Data property of an CloudEvent/EventGridEvent for an Microsoft.Storage.StorageTaskCompleted event.

func (StorageTaskCompletedEventData) MarshalJSON

func (s StorageTaskCompletedEventData) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type StorageTaskCompletedEventData.

func (*StorageTaskCompletedEventData) UnmarshalJSON

func (s *StorageTaskCompletedEventData) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type StorageTaskCompletedEventData.

type StorageTaskCompletedStatus

type StorageTaskCompletedStatus string

StorageTaskCompletedStatus - The status for a storage task.

const (
	StorageTaskCompletedStatusFailed    StorageTaskCompletedStatus = "Failed"
	StorageTaskCompletedStatusSucceeded StorageTaskCompletedStatus = "Succeeded"
)

func PossibleStorageTaskCompletedStatusValues

func PossibleStorageTaskCompletedStatusValues() []StorageTaskCompletedStatus

PossibleStorageTaskCompletedStatusValues returns the possible values for the StorageTaskCompletedStatus const type.

type StorageTaskQueuedEventData

type StorageTaskQueuedEventData struct {
	// The time at which a storage task was queued.
	QueuedDateTime *time.Time

	// The execution id for a storage task.
	TaskExecutionID *string
}

StorageTaskQueuedEventData - Schema of the Data property of an CloudEvent/EventGridEvent for an Microsoft.Storage.StorageTaskQueued event.

func (StorageTaskQueuedEventData) MarshalJSON

func (s StorageTaskQueuedEventData) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type StorageTaskQueuedEventData.

func (*StorageTaskQueuedEventData) UnmarshalJSON

func (s *StorageTaskQueuedEventData) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type StorageTaskQueuedEventData.

type SubscriptionDeletedEventData

type SubscriptionDeletedEventData struct {
	// READ-ONLY; The Azure resource ID of the deleted event subscription.
	EventSubscriptionID *string
}

SubscriptionDeletedEventData - Schema of the Data property of an CloudEvent/EventGridEvent for a Microsoft.EventGrid.SubscriptionDeletedEvent event.

func (SubscriptionDeletedEventData) MarshalJSON

func (s SubscriptionDeletedEventData) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type SubscriptionDeletedEventData.

func (*SubscriptionDeletedEventData) UnmarshalJSON

func (s *SubscriptionDeletedEventData) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type SubscriptionDeletedEventData.

type SubscriptionValidationEventData

type SubscriptionValidationEventData struct {
	// READ-ONLY; The validation code sent by Azure Event Grid to validate an event subscription. To complete the validation handshake,
	// the subscriber must either respond with this validation code as part of the
	// validation response, or perform a GET request on the validationUrl (available starting version 2018-05-01-preview).
	ValidationCode *string

	// READ-ONLY; The validation URL sent by Azure Event Grid (available starting version 2018-05-01-preview). To complete the
	// validation handshake, the subscriber must either respond with the validationCode as part of
	// the validation response, or perform a GET request on the validationUrl (available starting version 2018-05-01-preview).
	ValidationURL *string
}

SubscriptionValidationEventData - Schema of the Data property of an CloudEvent/EventGridEvent for a Microsoft.EventGrid.SubscriptionValidationEvent event.

func (SubscriptionValidationEventData) MarshalJSON

func (s SubscriptionValidationEventData) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type SubscriptionValidationEventData.

func (*SubscriptionValidationEventData) UnmarshalJSON

func (s *SubscriptionValidationEventData) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type SubscriptionValidationEventData.

type SubscriptionValidationResponse

type SubscriptionValidationResponse struct {
	// The validation response sent by the subscriber to Azure Event Grid to complete the validation of an event subscription.
	ValidationResponse *string
}

SubscriptionValidationResponse - To complete an event subscription validation handshake, a subscriber can use either the validationCode or the validationUrl received in a SubscriptionValidationEvent. When the validationCode is used, the SubscriptionValidationResponse can be used to build the response.

func (SubscriptionValidationResponse) MarshalJSON

func (s SubscriptionValidationResponse) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type SubscriptionValidationResponse.

func (*SubscriptionValidationResponse) UnmarshalJSON

func (s *SubscriptionValidationResponse) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type SubscriptionValidationResponse.

type Type

type Type string

Type represents the value set in EventData.EventType or messaging.CloudEvent.Type for system events.

const (
	TypeAVSClusterCreated                                             Type = "Microsoft.AVS.ClusterCreated"                                              // maps to AVSClusterCreatedEventData
	TypeAVSClusterDeleted                                             Type = "Microsoft.AVS.ClusterDeleted"                                              // maps to AVSClusterDeletedEventData
	TypeAVSClusterFailed                                              Type = "Microsoft.AVS.ClusterFailed"                                               // maps to AVSClusterFailedEventData
	TypeAVSClusterUpdated                                             Type = "Microsoft.AVS.ClusterUpdated"                                              // maps to AVSClusterUpdatedEventData
	TypeAVSClusterUpdating                                            Type = "Microsoft.AVS.ClusterUpdating"                                             // maps to AVSClusterUpdatingEventData
	TypeAVSPrivateCloudFailed                                         Type = "Microsoft.AVS.PrivateCloudFailed"                                          // maps to AVSPrivateCloudFailedEventData
	TypeAVSPrivateCloudUpdated                                        Type = "Microsoft.AVS.PrivateCloudUpdated"                                         // maps to AVSPrivateCloudUpdatedEventData
	TypeAVSPrivateCloudUpdating                                       Type = "Microsoft.AVS.PrivateCloudUpdating"                                        // maps to AVSPrivateCloudUpdatingEventData
	TypeAVSScriptExecutionCancelled                                   Type = "Microsoft.AVS.ScriptExecutionCancelled"                                    // maps to AVSScriptExecutionCancelledEventData
	TypeAVSScriptExecutionFailed                                      Type = "Microsoft.AVS.ScriptExecutionFailed"                                       // maps to AVSScriptExecutionFailedEventData
	TypeAVSScriptExecutionFinished                                    Type = "Microsoft.AVS.ScriptExecutionFinished"                                     // maps to AVSScriptExecutionFinishedEventData
	TypeAVSScriptExecutionStarted                                     Type = "Microsoft.AVS.ScriptExecutionStarted"                                      // maps to AVSScriptExecutionStartedEventData
	TypeAPICenterAPIDefinitionAdded                                   Type = "Microsoft.ApiCenter.ApiDefinitionAdded"                                    // maps to APICenterAPIDefinitionAddedEventData
	TypeAPICenterAPIDefinitionUpdated                                 Type = "Microsoft.ApiCenter.ApiDefinitionUpdated"                                  // maps to APICenterAPIDefinitionUpdatedEventData
	TypeAPIManagementAPICreated                                       Type = "Microsoft.ApiManagement.APICreated"                                        // maps to APIManagementAPICreatedEventData
	TypeAPIManagementAPIDeleted                                       Type = "Microsoft.ApiManagement.APIDeleted"                                        // maps to APIManagementAPIDeletedEventData
	TypeAPIManagementAPIReleaseCreated                                Type = "Microsoft.ApiManagement.APIReleaseCreated"                                 // maps to APIManagementAPIReleaseCreatedEventData
	TypeAPIManagementAPIReleaseDeleted                                Type = "Microsoft.ApiManagement.APIReleaseDeleted"                                 // maps to APIManagementAPIReleaseDeletedEventData
	TypeAPIManagementAPIReleaseUpdated                                Type = "Microsoft.ApiManagement.APIReleaseUpdated"                                 // maps to APIManagementAPIReleaseUpdatedEventData
	TypeAPIManagementAPIUpdated                                       Type = "Microsoft.ApiManagement.APIUpdated"                                        // maps to APIManagementAPIUpdatedEventData
	TypeAPIManagementGatewayAPIAdded                                  Type = "Microsoft.ApiManagement.GatewayAPIAdded"                                   // maps to APIManagementGatewayAPIAddedEventData
	TypeAPIManagementGatewayAPIRemoved                                Type = "Microsoft.ApiManagement.GatewayAPIRemoved"                                 // maps to APIManagementGatewayAPIRemovedEventData
	TypeAPIManagementGatewayCertificateAuthorityCreated               Type = "Microsoft.ApiManagement.GatewayCertificateAuthorityCreated"                // maps to APIManagementGatewayCertificateAuthorityCreatedEventData
	TypeAPIManagementGatewayCertificateAuthorityDeleted               Type = "Microsoft.ApiManagement.GatewayCertificateAuthorityDeleted"                // maps to APIManagementGatewayCertificateAuthorityDeletedEventData
	TypeAPIManagementGatewayCertificateAuthorityUpdated               Type = "Microsoft.ApiManagement.GatewayCertificateAuthorityUpdated"                // maps to APIManagementGatewayCertificateAuthorityUpdatedEventData
	TypeAPIManagementGatewayCreated                                   Type = "Microsoft.ApiManagement.GatewayCreated"                                    // maps to APIManagementGatewayCreatedEventData
	TypeAPIManagementGatewayDeleted                                   Type = "Microsoft.ApiManagement.GatewayDeleted"                                    // maps to APIManagementGatewayDeletedEventData
	TypeAPIManagementGatewayHostnameConfigurationCreated              Type = "Microsoft.ApiManagement.GatewayHostnameConfigurationCreated"               // maps to APIManagementGatewayHostnameConfigurationCreatedEventData
	TypeAPIManagementGatewayHostnameConfigurationDeleted              Type = "Microsoft.ApiManagement.GatewayHostnameConfigurationDeleted"               // maps to APIManagementGatewayHostnameConfigurationDeletedEventData
	TypeAPIManagementGatewayHostnameConfigurationUpdated              Type = "Microsoft.ApiManagement.GatewayHostnameConfigurationUpdated"               // maps to APIManagementGatewayHostnameConfigurationUpdatedEventData
	TypeAPIManagementGatewayUpdated                                   Type = "Microsoft.ApiManagement.GatewayUpdated"                                    // maps to APIManagementGatewayUpdatedEventData
	TypeAPIManagementProductCreated                                   Type = "Microsoft.ApiManagement.ProductCreated"                                    // maps to APIManagementProductCreatedEventData
	TypeAPIManagementProductDeleted                                   Type = "Microsoft.ApiManagement.ProductDeleted"                                    // maps to APIManagementProductDeletedEventData
	TypeAPIManagementProductUpdated                                   Type = "Microsoft.ApiManagement.ProductUpdated"                                    // maps to APIManagementProductUpdatedEventData
	TypeAPIManagementSubscriptionCreated                              Type = "Microsoft.ApiManagement.SubscriptionCreated"                               // maps to APIManagementSubscriptionCreatedEventData
	TypeAPIManagementSubscriptionDeleted                              Type = "Microsoft.ApiManagement.SubscriptionDeleted"                               // maps to APIManagementSubscriptionDeletedEventData
	TypeAPIManagementSubscriptionUpdated                              Type = "Microsoft.ApiManagement.SubscriptionUpdated"                               // maps to APIManagementSubscriptionUpdatedEventData
	TypeAPIManagementUserCreated                                      Type = "Microsoft.ApiManagement.UserCreated"                                       // maps to APIManagementUserCreatedEventData
	TypeAPIManagementUserDeleted                                      Type = "Microsoft.ApiManagement.UserDeleted"                                       // maps to APIManagementUserDeletedEventData
	TypeAPIManagementUserUpdated                                      Type = "Microsoft.ApiManagement.UserUpdated"                                       // maps to APIManagementUserUpdatedEventData
	TypeAppConfigurationKeyValueDeleted                               Type = "Microsoft.AppConfiguration.KeyValueDeleted"                                // maps to AppConfigurationKeyValueDeletedEventData
	TypeAppConfigurationKeyValueModified                              Type = "Microsoft.AppConfiguration.KeyValueModified"                               // maps to AppConfigurationKeyValueModifiedEventData
	TypeAppConfigurationSnapshotCreated                               Type = "Microsoft.AppConfiguration.SnapshotCreated"                                // maps to AppConfigurationSnapshotCreatedEventData
	TypeAppConfigurationSnapshotModified                              Type = "Microsoft.AppConfiguration.SnapshotModified"                               // maps to AppConfigurationSnapshotModifiedEventData
	TypeRedisExportRDBCompleted                                       Type = "Microsoft.Cache.ExportRDBCompleted"                                        // maps to RedisExportRDBCompletedEventData
	TypeRedisImportRDBCompleted                                       Type = "Microsoft.Cache.ImportRDBCompleted"                                        // maps to RedisImportRDBCompletedEventData
	TypeRedisPatchingCompleted                                        Type = "Microsoft.Cache.PatchingCompleted"                                         // maps to RedisPatchingCompletedEventData
	TypeRedisScalingCompleted                                         Type = "Microsoft.Cache.ScalingCompleted"                                          // maps to RedisScalingCompletedEventData
	TypeACSAdvancedMessageDeliveryStatusUpdated                       Type = "Microsoft.Communication.AdvancedMessageDeliveryStatusUpdated"              // maps to ACSAdvancedMessageDeliveryStatusUpdatedEventData
	TypeACSAdvancedMessageReceived                                    Type = "Microsoft.Communication.AdvancedMessageReceived"                           // maps to ACSAdvancedMessageReceivedEventData
	TypeACSChatMessageDeleted                                         Type = "Microsoft.Communication.ChatMessageDeleted"                                // maps to ACSChatMessageDeletedEventData
	TypeACSChatMessageDeletedInThread                                 Type = "Microsoft.Communication.ChatMessageDeletedInThread"                        // maps to ACSChatMessageDeletedInThreadEventData
	TypeACSChatMessageEdited                                          Type = "Microsoft.Communication.ChatMessageEdited"                                 // maps to ACSChatMessageEditedEventData
	TypeACSChatMessageEditedInThread                                  Type = "Microsoft.Communication.ChatMessageEditedInThread"                         // maps to ACSChatMessageEditedInThreadEventData
	TypeACSChatMessageReceived                                        Type = "Microsoft.Communication.ChatMessageReceived"                               // maps to ACSChatMessageReceivedEventData
	TypeACSChatMessageReceivedInThread                                Type = "Microsoft.Communication.ChatMessageReceivedInThread"                       // maps to ACSChatMessageReceivedInThreadEventData
	TypeACSChatParticipantAddedToThreadWithUser                       Type = "Microsoft.Communication.ChatParticipantAddedToThreadWithUser"              // maps to ACSChatParticipantAddedToThreadWithUserEventData
	TypeACSChatParticipantRemovedFromThreadWithUser                   Type = "Microsoft.Communication.ChatParticipantRemovedFromThreadWithUser"          // maps to ACSChatParticipantRemovedFromThreadWithUserEventData
	TypeACSChatThreadCreated                                          Type = "Microsoft.Communication.ChatThreadCreated"                                 // maps to ACSChatThreadCreatedEventData
	TypeACSChatThreadCreatedWithUser                                  Type = "Microsoft.Communication.ChatThreadCreatedWithUser"                         // maps to ACSChatThreadCreatedWithUserEventData
	TypeACSChatThreadDeleted                                          Type = "Microsoft.Communication.ChatThreadDeleted"                                 // maps to ACSChatThreadDeletedEventData
	TypeACSChatParticipantAddedToThread                               Type = "Microsoft.Communication.ChatThreadParticipantAdded"                        // maps to ACSChatParticipantAddedToThreadEventData
	TypeACSChatParticipantRemovedFromThread                           Type = "Microsoft.Communication.ChatThreadParticipantRemoved"                      // maps to ACSChatParticipantRemovedFromThreadEventData
	TypeACSChatThreadPropertiesUpdated                                Type = "Microsoft.Communication.ChatThreadPropertiesUpdated"                       // maps to ACSChatThreadPropertiesUpdatedEventData
	TypeACSChatThreadPropertiesUpdatedPerUser                         Type = "Microsoft.Communication.ChatThreadPropertiesUpdatedPerUser"                // maps to ACSChatThreadPropertiesUpdatedPerUserEventData
	TypeACSChatThreadWithUserDeleted                                  Type = "Microsoft.Communication.ChatThreadWithUserDeleted"                         // maps to ACSChatThreadWithUserDeletedEventData
	TypeACSEmailDeliveryReportReceived                                Type = "Microsoft.Communication.EmailDeliveryReportReceived"                       // maps to ACSEmailDeliveryReportReceivedEventData
	TypeACSEmailEngagementTrackingReportReceived                      Type = "Microsoft.Communication.EmailEngagementTrackingReportReceived"             // maps to ACSEmailEngagementTrackingReportReceivedEventData
	TypeACSIncomingCall                                               Type = "Microsoft.Communication.IncomingCall"                                      // maps to ACSIncomingCallEventData
	TypeACSRecordingFileStatusUpdated                                 Type = "Microsoft.Communication.RecordingFileStatusUpdated"                        // maps to ACSRecordingFileStatusUpdatedEventData
	TypeACSRouterJobCancelled                                         Type = "Microsoft.Communication.RouterJobCancelled"                                // maps to ACSRouterJobCancelledEventData
	TypeACSRouterJobClassificationFailed                              Type = "Microsoft.Communication.RouterJobClassificationFailed"                     // maps to ACSRouterJobClassificationFailedEventData
	TypeACSRouterJobClassified                                        Type = "Microsoft.Communication.RouterJobClassified"                               // maps to ACSRouterJobClassifiedEventData
	TypeACSRouterJobClosed                                            Type = "Microsoft.Communication.RouterJobClosed"                                   // maps to ACSRouterJobClosedEventData
	TypeACSRouterJobCompleted                                         Type = "Microsoft.Communication.RouterJobCompleted"                                // maps to ACSRouterJobCompletedEventData
	TypeACSRouterJobDeleted                                           Type = "Microsoft.Communication.RouterJobDeleted"                                  // maps to ACSRouterJobDeletedEventData
	TypeACSRouterJobExceptionTriggered                                Type = "Microsoft.Communication.RouterJobExceptionTriggered"                       // maps to ACSRouterJobExceptionTriggeredEventData
	TypeACSRouterJobQueued                                            Type = "Microsoft.Communication.RouterJobQueued"                                   // maps to ACSRouterJobQueuedEventData
	TypeACSRouterJobReceived                                          Type = "Microsoft.Communication.RouterJobReceived"                                 // maps to ACSRouterJobReceivedEventData
	TypeACSRouterJobSchedulingFailed                                  Type = "Microsoft.Communication.RouterJobSchedulingFailed"                         // maps to ACSRouterJobSchedulingFailedEventData
	TypeACSRouterJobUnassigned                                        Type = "Microsoft.Communication.RouterJobUnassigned"                               // maps to ACSRouterJobUnassignedEventData
	TypeACSRouterJobWaitingForActivation                              Type = "Microsoft.Communication.RouterJobWaitingForActivation"                     // maps to ACSRouterJobWaitingForActivationEventData
	TypeACSRouterJobWorkerSelectorsExpired                            Type = "Microsoft.Communication.RouterJobWorkerSelectorsExpired"                   // maps to ACSRouterJobWorkerSelectorsExpiredEventData
	TypeACSRouterWorkerDeleted                                        Type = "Microsoft.Communication.RouterWorkerDeleted"                               // maps to ACSRouterWorkerDeletedEventData
	TypeACSRouterWorkerDeregistered                                   Type = "Microsoft.Communication.RouterWorkerDeregistered"                          // maps to ACSRouterWorkerDeregisteredEventData
	TypeACSRouterWorkerOfferAccepted                                  Type = "Microsoft.Communication.RouterWorkerOfferAccepted"                         // maps to ACSRouterWorkerOfferAcceptedEventData
	TypeACSRouterWorkerOfferDeclined                                  Type = "Microsoft.Communication.RouterWorkerOfferDeclined"                         // maps to ACSRouterWorkerOfferDeclinedEventData
	TypeACSRouterWorkerOfferExpired                                   Type = "Microsoft.Communication.RouterWorkerOfferExpired"                          // maps to ACSRouterWorkerOfferExpiredEventData
	TypeACSRouterWorkerOfferIssued                                    Type = "Microsoft.Communication.RouterWorkerOfferIssued"                           // maps to ACSRouterWorkerOfferIssuedEventData
	TypeACSRouterWorkerOfferRevoked                                   Type = "Microsoft.Communication.RouterWorkerOfferRevoked"                          // maps to ACSRouterWorkerOfferRevokedEventData
	TypeACSRouterWorkerRegistered                                     Type = "Microsoft.Communication.RouterWorkerRegistered"                            // maps to ACSRouterWorkerRegisteredEventData
	TypeACSRouterWorkerUpdated                                        Type = "Microsoft.Communication.RouterWorkerUpdated"                               // maps to ACSRouterWorkerUpdatedEventData
	TypeACSSmsDeliveryReportReceived                                  Type = "Microsoft.Communication.SMSDeliveryReportReceived"                         // maps to ACSSmsDeliveryReportReceivedEventData
	TypeACSSmsReceived                                                Type = "Microsoft.Communication.SMSReceived"                                       // maps to ACSSmsReceivedEventData
	TypeACSUserDisconnected                                           Type = "Microsoft.Communication.UserDisconnected"                                  // maps to ACSUserDisconnectedEventData
	TypeContainerRegistryChartDeleted                                 Type = "Microsoft.ContainerRegistry.ChartDeleted"                                  // maps to ContainerRegistryChartDeletedEventData
	TypeContainerRegistryChartPushed                                  Type = "Microsoft.ContainerRegistry.ChartPushed"                                   // maps to ContainerRegistryChartPushedEventData
	TypeContainerRegistryImageDeleted                                 Type = "Microsoft.ContainerRegistry.ImageDeleted"                                  // maps to ContainerRegistryImageDeletedEventData
	TypeContainerRegistryImagePushed                                  Type = "Microsoft.ContainerRegistry.ImagePushed"                                   // maps to ContainerRegistryImagePushedEventData
	TypeContainerServiceClusterSupportEnded                           Type = "Microsoft.ContainerService.ClusterSupportEnded"                            // maps to ContainerServiceClusterSupportEndedEventData
	TypeContainerServiceClusterSupportEnding                          Type = "Microsoft.ContainerService.ClusterSupportEnding"                           // maps to ContainerServiceClusterSupportEndingEventData
	TypeContainerServiceNewKubernetesVersionAvailable                 Type = "Microsoft.ContainerService.NewKubernetesVersionAvailable"                  // maps to ContainerServiceNewKubernetesVersionAvailableEventData
	TypeContainerServiceNodePoolRollingFailed                         Type = "Microsoft.ContainerService.NodePoolRollingFailed"                          // maps to ContainerServiceNodePoolRollingFailedEventData
	TypeContainerServiceNodePoolRollingStarted                        Type = "Microsoft.ContainerService.NodePoolRollingStarted"                         // maps to ContainerServiceNodePoolRollingStartedEventData
	TypeContainerServiceNodePoolRollingSucceeded                      Type = "Microsoft.ContainerService.NodePoolRollingSucceeded"                       // maps to ContainerServiceNodePoolRollingSucceededEventData
	TypeDataBoxCopyCompleted                                          Type = "Microsoft.DataBox.CopyCompleted"                                           // maps to DataBoxCopyCompletedEventData
	TypeDataBoxCopyStarted                                            Type = "Microsoft.DataBox.CopyStarted"                                             // maps to DataBoxCopyStartedEventData
	TypeDataBoxOrderCompleted                                         Type = "Microsoft.DataBox.OrderCompleted"                                          // maps to DataBoxOrderCompletedEventData
	TypeIOTHubDeviceConnected                                         Type = "Microsoft.Devices.DeviceConnected"                                         // maps to IOTHubDeviceConnectedEventData
	TypeIOTHubDeviceCreated                                           Type = "Microsoft.Devices.DeviceCreated"                                           // maps to IOTHubDeviceCreatedEventData
	TypeIOTHubDeviceDeleted                                           Type = "Microsoft.Devices.DeviceDeleted"                                           // maps to IOTHubDeviceDeletedEventData
	TypeIOTHubDeviceDisconnected                                      Type = "Microsoft.Devices.DeviceDisconnected"                                      // maps to IOTHubDeviceDisconnectedEventData
	TypeIOTHubDeviceTelemetry                                         Type = "Microsoft.Devices.DeviceTelemetry"                                         // maps to IOTHubDeviceTelemetryEventData
	TypeEventGridMQTTClientCreatedOrUpdated                           Type = "Microsoft.EventGrid.MQTTClientCreatedOrUpdated"                            // maps to EventGridMQTTClientCreatedOrUpdatedEventData
	TypeEventGridMQTTClientDeleted                                    Type = "Microsoft.EventGrid.MQTTClientDeleted"                                     // maps to EventGridMQTTClientDeletedEventData
	TypeEventGridMQTTClientSessionConnected                           Type = "Microsoft.EventGrid.MQTTClientSessionConnected"                            // maps to EventGridMQTTClientSessionConnectedEventData
	TypeEventGridMQTTClientSessionDisconnected                        Type = "Microsoft.EventGrid.MQTTClientSessionDisconnected"                         // maps to EventGridMQTTClientSessionDisconnectedEventData
	TypeSubscriptionDeleted                                           Type = "Microsoft.EventGrid.SubscriptionDeletedEvent"                              // maps to SubscriptionDeletedEventData
	TypeSubscriptionValidation                                        Type = "Microsoft.EventGrid.SubscriptionValidationEvent"                           // maps to SubscriptionValidationEventData
	TypeEventHubCaptureFileCreated                                    Type = "Microsoft.EventHub.CaptureFileCreated"                                     // maps to EventHubCaptureFileCreatedEventData
	TypeHealthcareDicomImageCreated                                   Type = "Microsoft.HealthcareApis.DicomImageCreated"                                // maps to HealthcareDicomImageCreatedEventData
	TypeHealthcareDicomImageDeleted                                   Type = "Microsoft.HealthcareApis.DicomImageDeleted"                                // maps to HealthcareDicomImageDeletedEventData
	TypeHealthcareDicomImageUpdated                                   Type = "Microsoft.HealthcareApis.DicomImageUpdated"                                // maps to HealthcareDicomImageUpdatedEventData
	TypeHealthcareFhirResourceCreated                                 Type = "Microsoft.HealthcareApis.FhirResourceCreated"                              // maps to HealthcareFhirResourceCreatedEventData
	TypeHealthcareFhirResourceDeleted                                 Type = "Microsoft.HealthcareApis.FhirResourceDeleted"                              // maps to HealthcareFhirResourceDeletedEventData
	TypeHealthcareFhirResourceUpdated                                 Type = "Microsoft.HealthcareApis.FhirResourceUpdated"                              // maps to HealthcareFhirResourceUpdatedEventData
	TypeKeyVaultCertificateExpired                                    Type = "Microsoft.KeyVault.CertificateExpired"                                     // maps to KeyVaultCertificateExpiredEventData
	TypeKeyVaultCertificateNearExpiry                                 Type = "Microsoft.KeyVault.CertificateNearExpiry"                                  // maps to KeyVaultCertificateNearExpiryEventData
	TypeKeyVaultCertificateNewVersionCreated                          Type = "Microsoft.KeyVault.CertificateNewVersionCreated"                           // maps to KeyVaultCertificateNewVersionCreatedEventData
	TypeKeyVaultKeyExpired                                            Type = "Microsoft.KeyVault.KeyExpired"                                             // maps to KeyVaultKeyExpiredEventData
	TypeKeyVaultKeyNearExpiry                                         Type = "Microsoft.KeyVault.KeyNearExpiry"                                          // maps to KeyVaultKeyNearExpiryEventData
	TypeKeyVaultKeyNewVersionCreated                                  Type = "Microsoft.KeyVault.KeyNewVersionCreated"                                   // maps to KeyVaultKeyNewVersionCreatedEventData
	TypeKeyVaultSecretExpired                                         Type = "Microsoft.KeyVault.SecretExpired"                                          // maps to KeyVaultSecretExpiredEventData
	TypeKeyVaultSecretNearExpiry                                      Type = "Microsoft.KeyVault.SecretNearExpiry"                                       // maps to KeyVaultSecretNearExpiryEventData
	TypeKeyVaultSecretNewVersionCreated                               Type = "Microsoft.KeyVault.SecretNewVersionCreated"                                // maps to KeyVaultSecretNewVersionCreatedEventData
	TypeKeyVaultAccessPolicyChanged                                   Type = "Microsoft.KeyVault.VaultAccessPolicyChanged"                               // maps to KeyVaultAccessPolicyChangedEventData
	TypeMachineLearningServicesDatasetDriftDetected                   Type = "Microsoft.MachineLearningServices.DatasetDriftDetected"                    // maps to MachineLearningServicesDatasetDriftDetectedEventData
	TypeMachineLearningServicesModelDeployed                          Type = "Microsoft.MachineLearningServices.ModelDeployed"                           // maps to MachineLearningServicesModelDeployedEventData
	TypeMachineLearningServicesModelRegistered                        Type = "Microsoft.MachineLearningServices.ModelRegistered"                         // maps to MachineLearningServicesModelRegisteredEventData
	TypeMachineLearningServicesRunCompleted                           Type = "Microsoft.MachineLearningServices.RunCompleted"                            // maps to MachineLearningServicesRunCompletedEventData
	TypeMachineLearningServicesRunStatusChanged                       Type = "Microsoft.MachineLearningServices.RunStatusChanged"                        // maps to MachineLearningServicesRunStatusChangedEventData
	TypeMapsGeofenceEntered                                           Type = "Microsoft.Maps.GeofenceEntered"                                            // maps to MapsGeofenceEnteredEventData
	TypeMapsGeofenceExited                                            Type = "Microsoft.Maps.GeofenceExited"                                             // maps to MapsGeofenceExitedEventData
	TypeMapsGeofenceResult                                            Type = "Microsoft.Maps.GeofenceResult"                                             // maps to MapsGeofenceResultEventData
	TypeMediaJobCanceled                                              Type = "Microsoft.Media.JobCanceled"                                               // maps to MediaJobCanceledEventData
	TypeMediaJobCanceling                                             Type = "Microsoft.Media.JobCanceling"                                              // maps to MediaJobCancelingEventData
	TypeMediaJobErrored                                               Type = "Microsoft.Media.JobErrored"                                                // maps to MediaJobErroredEventData
	TypeMediaJobFinished                                              Type = "Microsoft.Media.JobFinished"                                               // maps to MediaJobFinishedEventData
	TypeMediaJobOutputCanceled                                        Type = "Microsoft.Media.JobOutputCanceled"                                         // maps to MediaJobOutputCanceledEventData
	TypeMediaJobOutputCanceling                                       Type = "Microsoft.Media.JobOutputCanceling"                                        // maps to MediaJobOutputCancelingEventData
	TypeMediaJobOutputErrored                                         Type = "Microsoft.Media.JobOutputErrored"                                          // maps to MediaJobOutputErroredEventData
	TypeMediaJobOutputFinished                                        Type = "Microsoft.Media.JobOutputFinished"                                         // maps to MediaJobOutputFinishedEventData
	TypeMediaJobOutputProcessing                                      Type = "Microsoft.Media.JobOutputProcessing"                                       // maps to MediaJobOutputProcessingEventData
	TypeMediaJobOutputProgress                                        Type = "Microsoft.Media.JobOutputProgress"                                         // maps to MediaJobOutputProgressEventData
	TypeMediaJobOutputScheduled                                       Type = "Microsoft.Media.JobOutputScheduled"                                        // maps to MediaJobOutputScheduledEventData
	TypeMediaJobOutputStateChange                                     Type = "Microsoft.Media.JobOutputStateChange"                                      // maps to MediaJobOutputStateChangeEventData
	TypeMediaJobProcessing                                            Type = "Microsoft.Media.JobProcessing"                                             // maps to MediaJobProcessingEventData
	TypeMediaJobScheduled                                             Type = "Microsoft.Media.JobScheduled"                                              // maps to MediaJobScheduledEventData
	TypeMediaJobStateChange                                           Type = "Microsoft.Media.JobStateChange"                                            // maps to MediaJobStateChangeEventData
	TypeMediaLiveEventChannelArchiveHeartbeat                         Type = "Microsoft.Media.LiveEventChannelArchiveHeartbeat"                          // maps to MediaLiveEventChannelArchiveHeartbeatEventData
	TypeMediaLiveEventConnectionRejected                              Type = "Microsoft.Media.LiveEventConnectionRejected"                               // maps to MediaLiveEventConnectionRejectedEventData
	TypeMediaLiveEventEncoderConnected                                Type = "Microsoft.Media.LiveEventEncoderConnected"                                 // maps to MediaLiveEventEncoderConnectedEventData
	TypeMediaLiveEventEncoderDisconnected                             Type = "Microsoft.Media.LiveEventEncoderDisconnected"                              // maps to MediaLiveEventEncoderDisconnectedEventData
	TypeMediaLiveEventIncomingDataChunkDropped                        Type = "Microsoft.Media.LiveEventIncomingDataChunkDropped"                         // maps to MediaLiveEventIncomingDataChunkDroppedEventData
	TypeMediaLiveEventIncomingStreamReceived                          Type = "Microsoft.Media.LiveEventIncomingStreamReceived"                           // maps to MediaLiveEventIncomingStreamReceivedEventData
	TypeMediaLiveEventIncomingStreamsOutOfSync                        Type = "Microsoft.Media.LiveEventIncomingStreamsOutOfSync"                         // maps to MediaLiveEventIncomingStreamsOutOfSyncEventData
	TypeMediaLiveEventIncomingVideoStreamsOutOfSync                   Type = "Microsoft.Media.LiveEventIncomingVideoStreamsOutOfSync"                    // maps to MediaLiveEventIncomingVideoStreamsOutOfSyncEventData
	TypeMediaLiveEventIngestHeartbeat                                 Type = "Microsoft.Media.LiveEventIngestHeartbeat"                                  // maps to MediaLiveEventIngestHeartbeatEventData
	TypeMediaLiveEventTrackDiscontinuityDetected                      Type = "Microsoft.Media.LiveEventTrackDiscontinuityDetected"                       // maps to MediaLiveEventTrackDiscontinuityDetectedEventData
	TypePolicyInsightsPolicyStateChanged                              Type = "Microsoft.PolicyInsights.PolicyStateChanged"                               // maps to PolicyInsightsPolicyStateChangedEventData
	TypePolicyInsightsPolicyStateCreated                              Type = "Microsoft.PolicyInsights.PolicyStateCreated"                               // maps to PolicyInsightsPolicyStateCreatedEventData
	TypePolicyInsightsPolicyStateDeleted                              Type = "Microsoft.PolicyInsights.PolicyStateDeleted"                               // maps to PolicyInsightsPolicyStateDeletedEventData
	TypeResourceNotificationsHealthResourcesAvailabilityStatusChanged Type = "Microsoft.ResourceNotifications.HealthResources.AvailabilityStatusChanged" // maps to ResourceNotificationsHealthResourcesAvailabilityStatusChangedEventData
	TypeResourceNotificationsHealthResourcesAnnotated                 Type = "Microsoft.ResourceNotifications.HealthResources.ResourceAnnotated"         // maps to ResourceNotificationsHealthResourcesAnnotatedEventData
	TypeResourceNotificationsResourceManagementCreatedOrUpdated       Type = "Microsoft.ResourceNotifications.Resources.CreatedOrUpdated"                // maps to ResourceNotificationsResourceManagementCreatedOrUpdatedEventData
	TypeResourceNotificationsResourceManagementDeleted                Type = "Microsoft.ResourceNotifications.Resources.Deleted"                         // maps to ResourceNotificationsResourceManagementDeletedEventData
	TypeResourceActionCancel                                          Type = "Microsoft.Resources.ResourceActionCancel"                                  // maps to ResourceActionCancelEventData
	TypeResourceActionFailure                                         Type = "Microsoft.Resources.ResourceActionFailure"                                 // maps to ResourceActionFailureEventData
	TypeResourceActionSuccess                                         Type = "Microsoft.Resources.ResourceActionSuccess"                                 // maps to ResourceActionSuccessEventData
	TypeResourceDeleteCancel                                          Type = "Microsoft.Resources.ResourceDeleteCancel"                                  // maps to ResourceDeleteCancelEventData
	TypeResourceDeleteFailure                                         Type = "Microsoft.Resources.ResourceDeleteFailure"                                 // maps to ResourceDeleteFailureEventData
	TypeResourceDeleteSuccess                                         Type = "Microsoft.Resources.ResourceDeleteSuccess"                                 // maps to ResourceDeleteSuccessEventData
	TypeResourceWriteCancel                                           Type = "Microsoft.Resources.ResourceWriteCancel"                                   // maps to ResourceWriteCancelEventData
	TypeResourceWriteFailure                                          Type = "Microsoft.Resources.ResourceWriteFailure"                                  // maps to ResourceWriteFailureEventData
	TypeResourceWriteSuccess                                          Type = "Microsoft.Resources.ResourceWriteSuccess"                                  // maps to ResourceWriteSuccessEventData
	TypeServiceBusActiveMessagesAvailablePeriodicNotifications        Type = "Microsoft.ServiceBus.ActiveMessagesAvailablePeriodicNotifications"         // maps to ServiceBusActiveMessagesAvailablePeriodicNotificationsEventData
	TypeServiceBusActiveMessagesAvailableWithNoListeners              Type = "Microsoft.ServiceBus.ActiveMessagesAvailableWithNoListeners"               // maps to ServiceBusActiveMessagesAvailableWithNoListenersEventData
	TypeServiceBusDeadletterMessagesAvailablePeriodicNotifications    Type = "Microsoft.ServiceBus.DeadletterMessagesAvailablePeriodicNotifications"     // maps to ServiceBusDeadletterMessagesAvailablePeriodicNotificationsEventData
	TypeServiceBusDeadletterMessagesAvailableWithNoListeners          Type = "Microsoft.ServiceBus.DeadletterMessagesAvailableWithNoListeners"           // maps to ServiceBusDeadletterMessagesAvailableWithNoListenersEventData
	TypeSignalRServiceClientConnectionConnected                       Type = "Microsoft.SignalRService.ClientConnectionConnected"                        // maps to SignalRServiceClientConnectionConnectedEventData
	TypeSignalRServiceClientConnectionDisconnected                    Type = "Microsoft.SignalRService.ClientConnectionDisconnected"                     // maps to SignalRServiceClientConnectionDisconnectedEventData
	TypeStorageAsyncOperationInitiated                                Type = "Microsoft.Storage.AsyncOperationInitiated"                                 // maps to StorageAsyncOperationInitiatedEventData
	TypeStorageBlobCreated                                            Type = "Microsoft.Storage.BlobCreated"                                             // maps to StorageBlobCreatedEventData
	TypeStorageBlobDeleted                                            Type = "Microsoft.Storage.BlobDeleted"                                             // maps to StorageBlobDeletedEventData
	TypeStorageBlobInventoryPolicyCompleted                           Type = "Microsoft.Storage.BlobInventoryPolicyCompleted"                            // maps to StorageBlobInventoryPolicyCompletedEventData
	TypeStorageBlobRenamed                                            Type = "Microsoft.Storage.BlobRenamed"                                             // maps to StorageBlobRenamedEventData
	TypeStorageBlobTierChanged                                        Type = "Microsoft.Storage.BlobTierChanged"                                         // maps to StorageBlobTierChangedEventData
	TypeStorageDirectoryCreated                                       Type = "Microsoft.Storage.DirectoryCreated"                                        // maps to StorageDirectoryCreatedEventData
	TypeStorageDirectoryDeleted                                       Type = "Microsoft.Storage.DirectoryDeleted"                                        // maps to StorageDirectoryDeletedEventData
	TypeStorageDirectoryRenamed                                       Type = "Microsoft.Storage.DirectoryRenamed"                                        // maps to StorageDirectoryRenamedEventData
	TypeStorageLifecyclePolicyCompleted                               Type = "Microsoft.Storage.LifecyclePolicyCompleted"                                // maps to StorageLifecyclePolicyCompletedEventData
	TypeStorageTaskAssignmentCompleted                                Type = "Microsoft.Storage.StorageTaskAssignmentCompleted"                          // maps to StorageTaskAssignmentCompletedEventData
	TypeStorageTaskAssignmentQueued                                   Type = "Microsoft.Storage.StorageTaskAssignmentQueued"                             // maps to StorageTaskAssignmentQueuedEventData
	TypeStorageTaskCompleted                                          Type = "Microsoft.Storage.StorageTaskCompleted"                                    // maps to StorageTaskCompletedEventData
	TypeStorageTaskQueued                                             Type = "Microsoft.Storage.StorageTaskQueued"                                       // maps to StorageTaskQueuedEventData
	TypeWebAppServicePlanUpdated                                      Type = "Microsoft.Web.AppServicePlanUpdated"                                       // maps to WebAppServicePlanUpdatedEventData
	TypeWebAppUpdated                                                 Type = "Microsoft.Web.AppUpdated"                                                  // maps to WebAppUpdatedEventData
	TypeWebBackupOperationCompleted                                   Type = "Microsoft.Web.BackupOperationCompleted"                                    // maps to WebBackupOperationCompletedEventData
	TypeWebBackupOperationFailed                                      Type = "Microsoft.Web.BackupOperationFailed"                                       // maps to WebBackupOperationFailedEventData
	TypeWebBackupOperationStarted                                     Type = "Microsoft.Web.BackupOperationStarted"                                      // maps to WebBackupOperationStartedEventData
	TypeWebRestoreOperationCompleted                                  Type = "Microsoft.Web.RestoreOperationCompleted"                                   // maps to WebRestoreOperationCompletedEventData
	TypeWebRestoreOperationFailed                                     Type = "Microsoft.Web.RestoreOperationFailed"                                      // maps to WebRestoreOperationFailedEventData
	TypeWebRestoreOperationStarted                                    Type = "Microsoft.Web.RestoreOperationStarted"                                     // maps to WebRestoreOperationStartedEventData
	TypeWebSlotSwapCompleted                                          Type = "Microsoft.Web.SlotSwapCompleted"                                           // maps to WebSlotSwapCompletedEventData
	TypeWebSlotSwapFailed                                             Type = "Microsoft.Web.SlotSwapFailed"                                              // maps to WebSlotSwapFailedEventData
	TypeWebSlotSwapStarted                                            Type = "Microsoft.Web.SlotSwapStarted"                                             // maps to WebSlotSwapStartedEventData
	TypeWebSlotSwapWithPreviewCancelled                               Type = "Microsoft.Web.SlotSwapWithPreviewCancelled"                                // maps to WebSlotSwapWithPreviewCancelledEventData
	TypeWebSlotSwapWithPreviewStarted                                 Type = "Microsoft.Web.SlotSwapWithPreviewStarted"                                  // maps to WebSlotSwapWithPreviewStartedEventData
)

type WebAppServicePlanUpdatedEventData

type WebAppServicePlanUpdatedEventData struct {
	// HTTP request URL of this operation.
	Address *string

	// Detail of action on the app service plan.
	AppServicePlanEventTypeDetail *AppServicePlanEventTypeDetail

	// The client request id generated by the app service for the app service plan API operation that triggered this event.
	ClientRequestID *string

	// The correlation request id generated by the app service for the app service plan API operation that triggered this event.
	CorrelationRequestID *string

	// name of the app service plan that had this event.
	Name *string

	// The request id generated by the app service for the app service plan API operation that triggered this event.
	RequestID *string

	// sku of app service plan.
	SKU *WebAppServicePlanUpdatedEventDataSKU

	// HTTP verb of this operation.
	Verb *string
}

WebAppServicePlanUpdatedEventData - Schema of the Data property of an CloudEvent/EventGridEvent for a Microsoft.Web.AppServicePlanUpdated event.

func (WebAppServicePlanUpdatedEventData) MarshalJSON

func (w WebAppServicePlanUpdatedEventData) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type WebAppServicePlanUpdatedEventData.

func (*WebAppServicePlanUpdatedEventData) UnmarshalJSON

func (w *WebAppServicePlanUpdatedEventData) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type WebAppServicePlanUpdatedEventData.

type WebAppServicePlanUpdatedEventDataSKU

type WebAppServicePlanUpdatedEventDataSKU struct {
	// capacity of app service plan sku.
	Capacity *string

	// family of app service plan sku.
	Family *string

	// name of app service plan sku.
	Name *string

	// size of app service plan sku.
	Size *string

	// tier of app service plan sku.
	Tier *string
}

WebAppServicePlanUpdatedEventDataSKU - sku of app service plan.

func (WebAppServicePlanUpdatedEventDataSKU) MarshalJSON

func (w WebAppServicePlanUpdatedEventDataSKU) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type WebAppServicePlanUpdatedEventDataSKU.

func (*WebAppServicePlanUpdatedEventDataSKU) UnmarshalJSON

func (w *WebAppServicePlanUpdatedEventDataSKU) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type WebAppServicePlanUpdatedEventDataSKU.

type WebAppUpdatedEventData

type WebAppUpdatedEventData struct {
	// HTTP request URL of this operation.
	Address *string

	// Detail of action on the app.
	AppEventTypeDetail *AppEventTypeDetail

	// The client request id generated by the app service for the site API operation that triggered this event.
	ClientRequestID *string

	// The correlation request id generated by the app service for the site API operation that triggered this event.
	CorrelationRequestID *string

	// name of the web site that had this event.
	Name *string

	// The request id generated by the app service for the site API operation that triggered this event.
	RequestID *string

	// HTTP verb of this operation.
	Verb *string
}

WebAppUpdatedEventData - Schema of the Data property of an CloudEvent/EventGridEvent for a Microsoft.Web.AppUpdated event.

func (WebAppUpdatedEventData) MarshalJSON

func (w WebAppUpdatedEventData) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type WebAppUpdatedEventData.

func (*WebAppUpdatedEventData) UnmarshalJSON

func (w *WebAppUpdatedEventData) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type WebAppUpdatedEventData.

type WebBackupOperationCompletedEventData

type WebBackupOperationCompletedEventData struct {
	// HTTP request URL of this operation.
	Address *string

	// Detail of action on the app.
	AppEventTypeDetail *AppEventTypeDetail

	// The client request id generated by the app service for the site API operation that triggered this event.
	ClientRequestID *string

	// The correlation request id generated by the app service for the site API operation that triggered this event.
	CorrelationRequestID *string

	// name of the web site that had this event.
	Name *string

	// The request id generated by the app service for the site API operation that triggered this event.
	RequestID *string

	// HTTP verb of this operation.
	Verb *string
}

WebBackupOperationCompletedEventData - Schema of the Data property of an CloudEvent/EventGridEvent for a Microsoft.Web.BackupOperationCompleted event.

func (WebBackupOperationCompletedEventData) MarshalJSON

func (w WebBackupOperationCompletedEventData) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type WebBackupOperationCompletedEventData.

func (*WebBackupOperationCompletedEventData) UnmarshalJSON

func (w *WebBackupOperationCompletedEventData) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type WebBackupOperationCompletedEventData.

type WebBackupOperationFailedEventData

type WebBackupOperationFailedEventData struct {
	// HTTP request URL of this operation.
	Address *string

	// Detail of action on the app.
	AppEventTypeDetail *AppEventTypeDetail

	// The client request id generated by the app service for the site API operation that triggered this event.
	ClientRequestID *string

	// The correlation request id generated by the app service for the site API operation that triggered this event.
	CorrelationRequestID *string

	// name of the web site that had this event.
	Name *string

	// The request id generated by the app service for the site API operation that triggered this event.
	RequestID *string

	// HTTP verb of this operation.
	Verb *string
}

WebBackupOperationFailedEventData - Schema of the Data property of an CloudEvent/EventGridEvent for a Microsoft.Web.BackupOperationFailed event.

func (WebBackupOperationFailedEventData) MarshalJSON

func (w WebBackupOperationFailedEventData) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type WebBackupOperationFailedEventData.

func (*WebBackupOperationFailedEventData) UnmarshalJSON

func (w *WebBackupOperationFailedEventData) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type WebBackupOperationFailedEventData.

type WebBackupOperationStartedEventData

type WebBackupOperationStartedEventData struct {
	// HTTP request URL of this operation.
	Address *string

	// Detail of action on the app.
	AppEventTypeDetail *AppEventTypeDetail

	// The client request id generated by the app service for the site API operation that triggered this event.
	ClientRequestID *string

	// The correlation request id generated by the app service for the site API operation that triggered this event.
	CorrelationRequestID *string

	// name of the web site that had this event.
	Name *string

	// The request id generated by the app service for the site API operation that triggered this event.
	RequestID *string

	// HTTP verb of this operation.
	Verb *string
}

WebBackupOperationStartedEventData - Schema of the Data property of an CloudEvent/EventGridEvent for a Microsoft.Web.BackupOperationStarted event.

func (WebBackupOperationStartedEventData) MarshalJSON

func (w WebBackupOperationStartedEventData) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type WebBackupOperationStartedEventData.

func (*WebBackupOperationStartedEventData) UnmarshalJSON

func (w *WebBackupOperationStartedEventData) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type WebBackupOperationStartedEventData.

type WebRestoreOperationCompletedEventData

type WebRestoreOperationCompletedEventData struct {
	// HTTP request URL of this operation.
	Address *string

	// Detail of action on the app.
	AppEventTypeDetail *AppEventTypeDetail

	// The client request id generated by the app service for the site API operation that triggered this event.
	ClientRequestID *string

	// The correlation request id generated by the app service for the site API operation that triggered this event.
	CorrelationRequestID *string

	// name of the web site that had this event.
	Name *string

	// The request id generated by the app service for the site API operation that triggered this event.
	RequestID *string

	// HTTP verb of this operation.
	Verb *string
}

WebRestoreOperationCompletedEventData - Schema of the Data property of an CloudEvent/EventGridEvent for a Microsoft.Web.RestoreOperationCompleted event.

func (WebRestoreOperationCompletedEventData) MarshalJSON

func (w WebRestoreOperationCompletedEventData) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type WebRestoreOperationCompletedEventData.

func (*WebRestoreOperationCompletedEventData) UnmarshalJSON

func (w *WebRestoreOperationCompletedEventData) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type WebRestoreOperationCompletedEventData.

type WebRestoreOperationFailedEventData

type WebRestoreOperationFailedEventData struct {
	// HTTP request URL of this operation.
	Address *string

	// Detail of action on the app.
	AppEventTypeDetail *AppEventTypeDetail

	// The client request id generated by the app service for the site API operation that triggered this event.
	ClientRequestID *string

	// The correlation request id generated by the app service for the site API operation that triggered this event.
	CorrelationRequestID *string

	// name of the web site that had this event.
	Name *string

	// The request id generated by the app service for the site API operation that triggered this event.
	RequestID *string

	// HTTP verb of this operation.
	Verb *string
}

WebRestoreOperationFailedEventData - Schema of the Data property of an CloudEvent/EventGridEvent for a Microsoft.Web.RestoreOperationFailed event.

func (WebRestoreOperationFailedEventData) MarshalJSON

func (w WebRestoreOperationFailedEventData) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type WebRestoreOperationFailedEventData.

func (*WebRestoreOperationFailedEventData) UnmarshalJSON

func (w *WebRestoreOperationFailedEventData) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type WebRestoreOperationFailedEventData.

type WebRestoreOperationStartedEventData

type WebRestoreOperationStartedEventData struct {
	// HTTP request URL of this operation.
	Address *string

	// Detail of action on the app.
	AppEventTypeDetail *AppEventTypeDetail

	// The client request id generated by the app service for the site API operation that triggered this event.
	ClientRequestID *string

	// The correlation request id generated by the app service for the site API operation that triggered this event.
	CorrelationRequestID *string

	// name of the web site that had this event.
	Name *string

	// The request id generated by the app service for the site API operation that triggered this event.
	RequestID *string

	// HTTP verb of this operation.
	Verb *string
}

WebRestoreOperationStartedEventData - Schema of the Data property of an CloudEvent/EventGridEvent for a Microsoft.Web.RestoreOperationStarted event.

func (WebRestoreOperationStartedEventData) MarshalJSON

func (w WebRestoreOperationStartedEventData) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type WebRestoreOperationStartedEventData.

func (*WebRestoreOperationStartedEventData) UnmarshalJSON

func (w *WebRestoreOperationStartedEventData) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type WebRestoreOperationStartedEventData.

type WebSlotSwapCompletedEventData

type WebSlotSwapCompletedEventData struct {
	// HTTP request URL of this operation.
	Address *string

	// Detail of action on the app.
	AppEventTypeDetail *AppEventTypeDetail

	// The client request id generated by the app service for the site API operation that triggered this event.
	ClientRequestID *string

	// The correlation request id generated by the app service for the site API operation that triggered this event.
	CorrelationRequestID *string

	// name of the web site that had this event.
	Name *string

	// The request id generated by the app service for the site API operation that triggered this event.
	RequestID *string

	// HTTP verb of this operation.
	Verb *string
}

WebSlotSwapCompletedEventData - Schema of the Data property of an CloudEvent/EventGridEvent for a Microsoft.Web.SlotSwapCompleted event.

func (WebSlotSwapCompletedEventData) MarshalJSON

func (w WebSlotSwapCompletedEventData) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type WebSlotSwapCompletedEventData.

func (*WebSlotSwapCompletedEventData) UnmarshalJSON

func (w *WebSlotSwapCompletedEventData) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type WebSlotSwapCompletedEventData.

type WebSlotSwapFailedEventData

type WebSlotSwapFailedEventData struct {
	// HTTP request URL of this operation.
	Address *string

	// Detail of action on the app.
	AppEventTypeDetail *AppEventTypeDetail

	// The client request id generated by the app service for the site API operation that triggered this event.
	ClientRequestID *string

	// The correlation request id generated by the app service for the site API operation that triggered this event.
	CorrelationRequestID *string

	// name of the web site that had this event.
	Name *string

	// The request id generated by the app service for the site API operation that triggered this event.
	RequestID *string

	// HTTP verb of this operation.
	Verb *string
}

WebSlotSwapFailedEventData - Schema of the Data property of an CloudEvent/EventGridEvent for a Microsoft.Web.SlotSwapFailed event.

func (WebSlotSwapFailedEventData) MarshalJSON

func (w WebSlotSwapFailedEventData) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type WebSlotSwapFailedEventData.

func (*WebSlotSwapFailedEventData) UnmarshalJSON

func (w *WebSlotSwapFailedEventData) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type WebSlotSwapFailedEventData.

type WebSlotSwapStartedEventData

type WebSlotSwapStartedEventData struct {
	// HTTP request URL of this operation.
	Address *string

	// Detail of action on the app.
	AppEventTypeDetail *AppEventTypeDetail

	// The client request id generated by the app service for the site API operation that triggered this event.
	ClientRequestID *string

	// The correlation request id generated by the app service for the site API operation that triggered this event.
	CorrelationRequestID *string

	// name of the web site that had this event.
	Name *string

	// The request id generated by the app service for the site API operation that triggered this event.
	RequestID *string

	// HTTP verb of this operation.
	Verb *string
}

WebSlotSwapStartedEventData - Schema of the Data property of an CloudEvent/EventGridEvent for a Microsoft.Web.SlotSwapStarted event.

func (WebSlotSwapStartedEventData) MarshalJSON

func (w WebSlotSwapStartedEventData) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type WebSlotSwapStartedEventData.

func (*WebSlotSwapStartedEventData) UnmarshalJSON

func (w *WebSlotSwapStartedEventData) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type WebSlotSwapStartedEventData.

type WebSlotSwapWithPreviewCancelledEventData

type WebSlotSwapWithPreviewCancelledEventData struct {
	// HTTP request URL of this operation.
	Address *string

	// Detail of action on the app.
	AppEventTypeDetail *AppEventTypeDetail

	// The client request id generated by the app service for the site API operation that triggered this event.
	ClientRequestID *string

	// The correlation request id generated by the app service for the site API operation that triggered this event.
	CorrelationRequestID *string

	// name of the web site that had this event.
	Name *string

	// The request id generated by the app service for the site API operation that triggered this event.
	RequestID *string

	// HTTP verb of this operation.
	Verb *string
}

WebSlotSwapWithPreviewCancelledEventData - Schema of the Data property of an CloudEvent/EventGridEvent for a Microsoft.Web.SlotSwapWithPreviewCancelled event.

func (WebSlotSwapWithPreviewCancelledEventData) MarshalJSON

MarshalJSON implements the json.Marshaller interface for type WebSlotSwapWithPreviewCancelledEventData.

func (*WebSlotSwapWithPreviewCancelledEventData) UnmarshalJSON

func (w *WebSlotSwapWithPreviewCancelledEventData) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type WebSlotSwapWithPreviewCancelledEventData.

type WebSlotSwapWithPreviewStartedEventData

type WebSlotSwapWithPreviewStartedEventData struct {
	// HTTP request URL of this operation.
	Address *string

	// Detail of action on the app.
	AppEventTypeDetail *AppEventTypeDetail

	// The client request id generated by the app service for the site API operation that triggered this event.
	ClientRequestID *string

	// The correlation request id generated by the app service for the site API operation that triggered this event.
	CorrelationRequestID *string

	// name of the web site that had this event.
	Name *string

	// The request id generated by the app service for the site API operation that triggered this event.
	RequestID *string

	// HTTP verb of this operation.
	Verb *string
}

WebSlotSwapWithPreviewStartedEventData - Schema of the Data property of an CloudEvent/EventGridEvent for a Microsoft.Web.SlotSwapWithPreviewStarted event.

func (WebSlotSwapWithPreviewStartedEventData) MarshalJSON

func (w WebSlotSwapWithPreviewStartedEventData) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type WebSlotSwapWithPreviewStartedEventData.

func (*WebSlotSwapWithPreviewStartedEventData) UnmarshalJSON

func (w *WebSlotSwapWithPreviewStartedEventData) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type WebSlotSwapWithPreviewStartedEventData.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL