azsystemevents

package module
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Nov 19, 2024 License: MIT Imports: 7 Imported by: 1

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 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

View Source
const (
	TypeAVSClusterCreated                                             = "Microsoft.AVS.ClusterCreated"                                                         // maps to AVSClusterCreatedEventData
	TypeAVSClusterDeleted                                             = "Microsoft.AVS.ClusterDeleted"                                                         // maps to AVSClusterDeletedEventData
	TypeAVSClusterFailed                                              = "Microsoft.AVS.ClusterFailed"                                                          // maps to AVSClusterFailedEventData
	TypeAVSClusterUpdated                                             = "Microsoft.AVS.ClusterUpdated"                                                         // maps to AVSClusterUpdatedEventData
	TypeAVSClusterUpdating                                            = "Microsoft.AVS.ClusterUpdating"                                                        // maps to AVSClusterUpdatingEventData
	TypeAVSPrivateCloudFailed                                         = "Microsoft.AVS.PrivateCloudFailed"                                                     // maps to AVSPrivateCloudFailedEventData
	TypeAVSPrivateCloudUpdated                                        = "Microsoft.AVS.PrivateCloudUpdated"                                                    // maps to AVSPrivateCloudUpdatedEventData
	TypeAVSPrivateCloudUpdating                                       = "Microsoft.AVS.PrivateCloudUpdating"                                                   // maps to AVSPrivateCloudUpdatingEventData
	TypeAVSScriptExecutionCancelled                                   = "Microsoft.AVS.ScriptExecutionCancelled"                                               // maps to AVSScriptExecutionCancelledEventData
	TypeAVSScriptExecutionFailed                                      = "Microsoft.AVS.ScriptExecutionFailed"                                                  // maps to AVSScriptExecutionFailedEventData
	TypeAVSScriptExecutionFinished                                    = "Microsoft.AVS.ScriptExecutionFinished"                                                // maps to AVSScriptExecutionFinishedEventData
	TypeAVSScriptExecutionStarted                                     = "Microsoft.AVS.ScriptExecutionStarted"                                                 // maps to AVSScriptExecutionStartedEventData
	TypeAPICenterAPIDefinitionAdded                                   = "Microsoft.ApiCenter.ApiDefinitionAdded"                                               // maps to APICenterAPIDefinitionAddedEventData
	TypeAPICenterAPIDefinitionUpdated                                 = "Microsoft.ApiCenter.ApiDefinitionUpdated"                                             // maps to APICenterAPIDefinitionUpdatedEventData
	TypeAPIManagementAPICreated                                       = "Microsoft.ApiManagement.APICreated"                                                   // maps to APIManagementAPICreatedEventData
	TypeAPIManagementAPIDeleted                                       = "Microsoft.ApiManagement.APIDeleted"                                                   // maps to APIManagementAPIDeletedEventData
	TypeAPIManagementAPIReleaseCreated                                = "Microsoft.ApiManagement.APIReleaseCreated"                                            // maps to APIManagementAPIReleaseCreatedEventData
	TypeAPIManagementAPIReleaseDeleted                                = "Microsoft.ApiManagement.APIReleaseDeleted"                                            // maps to APIManagementAPIReleaseDeletedEventData
	TypeAPIManagementAPIReleaseUpdated                                = "Microsoft.ApiManagement.APIReleaseUpdated"                                            // maps to APIManagementAPIReleaseUpdatedEventData
	TypeAPIManagementAPIUpdated                                       = "Microsoft.ApiManagement.APIUpdated"                                                   // maps to APIManagementAPIUpdatedEventData
	TypeAPIManagementGatewayAPIAdded                                  = "Microsoft.ApiManagement.GatewayAPIAdded"                                              // maps to APIManagementGatewayAPIAddedEventData
	TypeAPIManagementGatewayAPIRemoved                                = "Microsoft.ApiManagement.GatewayAPIRemoved"                                            // maps to APIManagementGatewayAPIRemovedEventData
	TypeAPIManagementGatewayCertificateAuthorityCreated               = "Microsoft.ApiManagement.GatewayCertificateAuthorityCreated"                           // maps to APIManagementGatewayCertificateAuthorityCreatedEventData
	TypeAPIManagementGatewayCertificateAuthorityDeleted               = "Microsoft.ApiManagement.GatewayCertificateAuthorityDeleted"                           // maps to APIManagementGatewayCertificateAuthorityDeletedEventData
	TypeAPIManagementGatewayCertificateAuthorityUpdated               = "Microsoft.ApiManagement.GatewayCertificateAuthorityUpdated"                           // maps to APIManagementGatewayCertificateAuthorityUpdatedEventData
	TypeAPIManagementGatewayCreated                                   = "Microsoft.ApiManagement.GatewayCreated"                                               // maps to APIManagementGatewayCreatedEventData
	TypeAPIManagementGatewayDeleted                                   = "Microsoft.ApiManagement.GatewayDeleted"                                               // maps to APIManagementGatewayDeletedEventData
	TypeAPIManagementGatewayHostnameConfigurationCreated              = "Microsoft.ApiManagement.GatewayHostnameConfigurationCreated"                          // maps to APIManagementGatewayHostnameConfigurationCreatedEventData
	TypeAPIManagementGatewayHostnameConfigurationDeleted              = "Microsoft.ApiManagement.GatewayHostnameConfigurationDeleted"                          // maps to APIManagementGatewayHostnameConfigurationDeletedEventData
	TypeAPIManagementGatewayHostnameConfigurationUpdated              = "Microsoft.ApiManagement.GatewayHostnameConfigurationUpdated"                          // maps to APIManagementGatewayHostnameConfigurationUpdatedEventData
	TypeAPIManagementGatewayUpdated                                   = "Microsoft.ApiManagement.GatewayUpdated"                                               // maps to APIManagementGatewayUpdatedEventData
	TypeAPIManagementProductCreated                                   = "Microsoft.ApiManagement.ProductCreated"                                               // maps to APIManagementProductCreatedEventData
	TypeAPIManagementProductDeleted                                   = "Microsoft.ApiManagement.ProductDeleted"                                               // maps to APIManagementProductDeletedEventData
	TypeAPIManagementProductUpdated                                   = "Microsoft.ApiManagement.ProductUpdated"                                               // maps to APIManagementProductUpdatedEventData
	TypeAPIManagementSubscriptionCreated                              = "Microsoft.ApiManagement.SubscriptionCreated"                                          // maps to APIManagementSubscriptionCreatedEventData
	TypeAPIManagementSubscriptionDeleted                              = "Microsoft.ApiManagement.SubscriptionDeleted"                                          // maps to APIManagementSubscriptionDeletedEventData
	TypeAPIManagementSubscriptionUpdated                              = "Microsoft.ApiManagement.SubscriptionUpdated"                                          // maps to APIManagementSubscriptionUpdatedEventData
	TypeAPIManagementUserCreated                                      = "Microsoft.ApiManagement.UserCreated"                                                  // maps to APIManagementUserCreatedEventData
	TypeAPIManagementUserDeleted                                      = "Microsoft.ApiManagement.UserDeleted"                                                  // maps to APIManagementUserDeletedEventData
	TypeAPIManagementUserUpdated                                      = "Microsoft.ApiManagement.UserUpdated"                                                  // maps to APIManagementUserUpdatedEventData
	TypeAppConfigurationKeyValueDeleted                               = "Microsoft.AppConfiguration.KeyValueDeleted"                                           // maps to AppConfigurationKeyValueDeletedEventData
	TypeAppConfigurationKeyValueModified                              = "Microsoft.AppConfiguration.KeyValueModified"                                          // maps to AppConfigurationKeyValueModifiedEventData
	TypeAppConfigurationSnapshotCreated                               = "Microsoft.AppConfiguration.SnapshotCreated"                                           // maps to AppConfigurationSnapshotCreatedEventData
	TypeAppConfigurationSnapshotModified                              = "Microsoft.AppConfiguration.SnapshotModified"                                          // maps to AppConfigurationSnapshotModifiedEventData
	TypeRedisExportRDBCompleted                                       = "Microsoft.Cache.ExportRDBCompleted"                                                   // maps to RedisExportRDBCompletedEventData
	TypeRedisImportRDBCompleted                                       = "Microsoft.Cache.ImportRDBCompleted"                                                   // maps to RedisImportRDBCompletedEventData
	TypeRedisPatchingCompleted                                        = "Microsoft.Cache.PatchingCompleted"                                                    // maps to RedisPatchingCompletedEventData
	TypeRedisScalingCompleted                                         = "Microsoft.Cache.ScalingCompleted"                                                     // maps to RedisScalingCompletedEventData
	TypeACSMessageDeliveryStatusUpdated                               = "Microsoft.Communication.AdvancedMessageDeliveryStatusUpdated"                         // maps to ACSMessageDeliveryStatusUpdatedEventData
	TypeACSMessageReceived                                            = "Microsoft.Communication.AdvancedMessageReceived"                                      // maps to ACSMessageReceivedEventData
	TypeACSChatMessageDeleted                                         = "Microsoft.Communication.ChatMessageDeleted"                                           // maps to ACSChatMessageDeletedEventData
	TypeACSChatMessageDeletedInThread                                 = "Microsoft.Communication.ChatMessageDeletedInThread"                                   // maps to ACSChatMessageDeletedInThreadEventData
	TypeACSChatMessageEdited                                          = "Microsoft.Communication.ChatMessageEdited"                                            // maps to ACSChatMessageEditedEventData
	TypeACSChatMessageEditedInThread                                  = "Microsoft.Communication.ChatMessageEditedInThread"                                    // maps to ACSChatMessageEditedInThreadEventData
	TypeACSChatMessageReceived                                        = "Microsoft.Communication.ChatMessageReceived"                                          // maps to ACSChatMessageReceivedEventData
	TypeACSChatMessageReceivedInThread                                = "Microsoft.Communication.ChatMessageReceivedInThread"                                  // maps to ACSChatMessageReceivedInThreadEventData
	TypeACSChatParticipantAddedToThreadWithUser                       = "Microsoft.Communication.ChatParticipantAddedToThreadWithUser"                         // maps to ACSChatParticipantAddedToThreadWithUserEventData
	TypeACSChatParticipantRemovedFromThreadWithUser                   = "Microsoft.Communication.ChatParticipantRemovedFromThreadWithUser"                     // maps to ACSChatParticipantRemovedFromThreadWithUserEventData
	TypeACSChatThreadCreated                                          = "Microsoft.Communication.ChatThreadCreated"                                            // maps to ACSChatThreadCreatedEventData
	TypeACSChatThreadCreatedWithUser                                  = "Microsoft.Communication.ChatThreadCreatedWithUser"                                    // maps to ACSChatThreadCreatedWithUserEventData
	TypeACSChatThreadDeleted                                          = "Microsoft.Communication.ChatThreadDeleted"                                            // maps to ACSChatThreadDeletedEventData
	TypeACSChatParticipantAddedToThread                               = "Microsoft.Communication.ChatThreadParticipantAdded"                                   // maps to ACSChatParticipantAddedToThreadEventData
	TypeACSChatParticipantRemovedFromThread                           = "Microsoft.Communication.ChatThreadParticipantRemoved"                                 // maps to ACSChatParticipantRemovedFromThreadEventData
	TypeACSChatThreadPropertiesUpdated                                = "Microsoft.Communication.ChatThreadPropertiesUpdated"                                  // maps to ACSChatThreadPropertiesUpdatedEventData
	TypeACSChatThreadPropertiesUpdatedPerUser                         = "Microsoft.Communication.ChatThreadPropertiesUpdatedPerUser"                           // maps to ACSChatThreadPropertiesUpdatedPerUserEventData
	TypeACSChatThreadWithUserDeleted                                  = "Microsoft.Communication.ChatThreadWithUserDeleted"                                    // maps to ACSChatThreadWithUserDeletedEventData
	TypeACSEmailDeliveryReportReceived                                = "Microsoft.Communication.EmailDeliveryReportReceived"                                  // maps to ACSEmailDeliveryReportReceivedEventData
	TypeACSEmailEngagementTrackingReportReceived                      = "Microsoft.Communication.EmailEngagementTrackingReportReceived"                        // maps to ACSEmailEngagementTrackingReportReceivedEventData
	TypeACSIncomingCall                                               = "Microsoft.Communication.IncomingCall"                                                 // maps to ACSIncomingCallEventData
	TypeACSRecordingFileStatusUpdated                                 = "Microsoft.Communication.RecordingFileStatusUpdated"                                   // maps to ACSRecordingFileStatusUpdatedEventData
	TypeACSRouterJobCancelled                                         = "Microsoft.Communication.RouterJobCancelled"                                           // maps to ACSRouterJobCancelledEventData
	TypeACSRouterJobClassificationFailed                              = "Microsoft.Communication.RouterJobClassificationFailed"                                // maps to ACSRouterJobClassificationFailedEventData
	TypeACSRouterJobClassified                                        = "Microsoft.Communication.RouterJobClassified"                                          // maps to ACSRouterJobClassifiedEventData
	TypeACSRouterJobClosed                                            = "Microsoft.Communication.RouterJobClosed"                                              // maps to ACSRouterJobClosedEventData
	TypeACSRouterJobCompleted                                         = "Microsoft.Communication.RouterJobCompleted"                                           // maps to ACSRouterJobCompletedEventData
	TypeACSRouterJobDeleted                                           = "Microsoft.Communication.RouterJobDeleted"                                             // maps to ACSRouterJobDeletedEventData
	TypeACSRouterJobExceptionTriggered                                = "Microsoft.Communication.RouterJobExceptionTriggered"                                  // maps to ACSRouterJobExceptionTriggeredEventData
	TypeACSRouterJobQueued                                            = "Microsoft.Communication.RouterJobQueued"                                              // maps to ACSRouterJobQueuedEventData
	TypeACSRouterJobReceived                                          = "Microsoft.Communication.RouterJobReceived"                                            // maps to ACSRouterJobReceivedEventData
	TypeACSRouterJobSchedulingFailed                                  = "Microsoft.Communication.RouterJobSchedulingFailed"                                    // maps to ACSRouterJobSchedulingFailedEventData
	TypeACSRouterJobUnassigned                                        = "Microsoft.Communication.RouterJobUnassigned"                                          // maps to ACSRouterJobUnassignedEventData
	TypeACSRouterJobWaitingForActivation                              = "Microsoft.Communication.RouterJobWaitingForActivation"                                // maps to ACSRouterJobWaitingForActivationEventData
	TypeACSRouterJobWorkerSelectorsExpired                            = "Microsoft.Communication.RouterJobWorkerSelectorsExpired"                              // maps to ACSRouterJobWorkerSelectorsExpiredEventData
	TypeACSRouterWorkerDeleted                                        = "Microsoft.Communication.RouterWorkerDeleted"                                          // maps to ACSRouterWorkerDeletedEventData
	TypeACSRouterWorkerDeregistered                                   = "Microsoft.Communication.RouterWorkerDeregistered"                                     // maps to ACSRouterWorkerDeregisteredEventData
	TypeACSRouterWorkerOfferAccepted                                  = "Microsoft.Communication.RouterWorkerOfferAccepted"                                    // maps to ACSRouterWorkerOfferAcceptedEventData
	TypeACSRouterWorkerOfferDeclined                                  = "Microsoft.Communication.RouterWorkerOfferDeclined"                                    // maps to ACSRouterWorkerOfferDeclinedEventData
	TypeACSRouterWorkerOfferExpired                                   = "Microsoft.Communication.RouterWorkerOfferExpired"                                     // maps to ACSRouterWorkerOfferExpiredEventData
	TypeACSRouterWorkerOfferIssued                                    = "Microsoft.Communication.RouterWorkerOfferIssued"                                      // maps to ACSRouterWorkerOfferIssuedEventData
	TypeACSRouterWorkerOfferRevoked                                   = "Microsoft.Communication.RouterWorkerOfferRevoked"                                     // maps to ACSRouterWorkerOfferRevokedEventData
	TypeACSRouterWorkerRegistered                                     = "Microsoft.Communication.RouterWorkerRegistered"                                       // maps to ACSRouterWorkerRegisteredEventData
	TypeACSRouterWorkerUpdated                                        = "Microsoft.Communication.RouterWorkerUpdated"                                          // maps to ACSRouterWorkerUpdatedEventData
	TypeACSSmsDeliveryReportReceived                                  = "Microsoft.Communication.SMSDeliveryReportReceived"                                    // maps to ACSSmsDeliveryReportReceivedEventData
	TypeACSSmsReceived                                                = "Microsoft.Communication.SMSReceived"                                                  // maps to ACSSmsReceivedEventData
	TypeACSUserDisconnected                                           = "Microsoft.Communication.UserDisconnected"                                             // maps to ACSUserDisconnectedEventData
	TypeContainerRegistryChartDeleted                                 = "Microsoft.ContainerRegistry.ChartDeleted"                                             // maps to ContainerRegistryChartDeletedEventData
	TypeContainerRegistryChartPushed                                  = "Microsoft.ContainerRegistry.ChartPushed"                                              // maps to ContainerRegistryChartPushedEventData
	TypeContainerRegistryImageDeleted                                 = "Microsoft.ContainerRegistry.ImageDeleted"                                             // maps to ContainerRegistryImageDeletedEventData
	TypeContainerRegistryImagePushed                                  = "Microsoft.ContainerRegistry.ImagePushed"                                              // maps to ContainerRegistryImagePushedEventData
	TypeContainerServiceClusterSupportEnded                           = "Microsoft.ContainerService.ClusterSupportEnded"                                       // maps to ContainerServiceClusterSupportEndedEventData
	TypeContainerServiceClusterSupportEnding                          = "Microsoft.ContainerService.ClusterSupportEnding"                                      // maps to ContainerServiceClusterSupportEndingEventData
	TypeContainerServiceNewKubernetesVersionAvailable                 = "Microsoft.ContainerService.NewKubernetesVersionAvailable"                             // maps to ContainerServiceNewKubernetesVersionAvailableEventData
	TypeContainerServiceNodePoolRollingFailed                         = "Microsoft.ContainerService.NodePoolRollingFailed"                                     // maps to ContainerServiceNodePoolRollingFailedEventData
	TypeContainerServiceNodePoolRollingStarted                        = "Microsoft.ContainerService.NodePoolRollingStarted"                                    // maps to ContainerServiceNodePoolRollingStartedEventData
	TypeContainerServiceNodePoolRollingSucceeded                      = "Microsoft.ContainerService.NodePoolRollingSucceeded"                                  // maps to ContainerServiceNodePoolRollingSucceededEventData
	TypeDataBoxCopyCompleted                                          = "Microsoft.DataBox.CopyCompleted"                                                      // maps to DataBoxCopyCompletedEventData
	TypeDataBoxCopyStarted                                            = "Microsoft.DataBox.CopyStarted"                                                        // maps to DataBoxCopyStartedEventData
	TypeDataBoxOrderCompleted                                         = "Microsoft.DataBox.OrderCompleted"                                                     // maps to DataBoxOrderCompletedEventData
	TypeIOTHubDeviceConnected                                         = "Microsoft.Devices.DeviceConnected"                                                    // maps to IOTHubDeviceConnectedEventData
	TypeIOTHubDeviceCreated                                           = "Microsoft.Devices.DeviceCreated"                                                      // maps to IOTHubDeviceCreatedEventData
	TypeIOTHubDeviceDeleted                                           = "Microsoft.Devices.DeviceDeleted"                                                      // maps to IOTHubDeviceDeletedEventData
	TypeIOTHubDeviceDisconnected                                      = "Microsoft.Devices.DeviceDisconnected"                                                 // maps to IOTHubDeviceDisconnectedEventData
	TypeIOTHubDeviceTelemetry                                         = "Microsoft.Devices.DeviceTelemetry"                                                    // maps to IOTHubDeviceTelemetryEventData
	TypeEventGridMQTTClientCreatedOrUpdated                           = "Microsoft.EventGrid.MQTTClientCreatedOrUpdated"                                       // maps to EventGridMQTTClientCreatedOrUpdatedEventData
	TypeEventGridMQTTClientDeleted                                    = "Microsoft.EventGrid.MQTTClientDeleted"                                                // maps to EventGridMQTTClientDeletedEventData
	TypeEventGridMQTTClientSessionConnected                           = "Microsoft.EventGrid.MQTTClientSessionConnected"                                       // maps to EventGridMQTTClientSessionConnectedEventData
	TypeEventGridMQTTClientSessionDisconnected                        = "Microsoft.EventGrid.MQTTClientSessionDisconnected"                                    // maps to EventGridMQTTClientSessionDisconnectedEventData
	TypeSubscriptionDeleted                                           = "Microsoft.EventGrid.SubscriptionDeletedEvent"                                         // maps to SubscriptionDeletedEventData
	TypeSubscriptionValidation                                        = "Microsoft.EventGrid.SubscriptionValidationEvent"                                      // maps to SubscriptionValidationEventData
	TypeEventHubCaptureFileCreated                                    = "Microsoft.EventHub.CaptureFileCreated"                                                // maps to EventHubCaptureFileCreatedEventData
	TypeHealthcareDicomImageCreated                                   = "Microsoft.HealthcareApis.DicomImageCreated"                                           // maps to HealthcareDicomImageCreatedEventData
	TypeHealthcareDicomImageDeleted                                   = "Microsoft.HealthcareApis.DicomImageDeleted"                                           // maps to HealthcareDicomImageDeletedEventData
	TypeHealthcareDicomImageUpdated                                   = "Microsoft.HealthcareApis.DicomImageUpdated"                                           // maps to HealthcareDicomImageUpdatedEventData
	TypeHealthcareFHIRResourceCreated                                 = "Microsoft.HealthcareApis.FhirResourceCreated"                                         // maps to HealthcareFHIRResourceCreatedEventData
	TypeHealthcareFHIRResourceDeleted                                 = "Microsoft.HealthcareApis.FhirResourceDeleted"                                         // maps to HealthcareFHIRResourceDeletedEventData
	TypeHealthcareFHIRResourceUpdated                                 = "Microsoft.HealthcareApis.FhirResourceUpdated"                                         // maps to HealthcareFHIRResourceUpdatedEventData
	TypeKeyVaultCertificateExpired                                    = "Microsoft.KeyVault.CertificateExpired"                                                // maps to KeyVaultCertificateExpiredEventData
	TypeKeyVaultCertificateNearExpiry                                 = "Microsoft.KeyVault.CertificateNearExpiry"                                             // maps to KeyVaultCertificateNearExpiryEventData
	TypeKeyVaultCertificateNewVersionCreated                          = "Microsoft.KeyVault.CertificateNewVersionCreated"                                      // maps to KeyVaultCertificateNewVersionCreatedEventData
	TypeKeyVaultKeyExpired                                            = "Microsoft.KeyVault.KeyExpired"                                                        // maps to KeyVaultKeyExpiredEventData
	TypeKeyVaultKeyNearExpiry                                         = "Microsoft.KeyVault.KeyNearExpiry"                                                     // maps to KeyVaultKeyNearExpiryEventData
	TypeKeyVaultKeyNewVersionCreated                                  = "Microsoft.KeyVault.KeyNewVersionCreated"                                              // maps to KeyVaultKeyNewVersionCreatedEventData
	TypeKeyVaultSecretExpired                                         = "Microsoft.KeyVault.SecretExpired"                                                     // maps to KeyVaultSecretExpiredEventData
	TypeKeyVaultSecretNearExpiry                                      = "Microsoft.KeyVault.SecretNearExpiry"                                                  // maps to KeyVaultSecretNearExpiryEventData
	TypeKeyVaultSecretNewVersionCreated                               = "Microsoft.KeyVault.SecretNewVersionCreated"                                           // maps to KeyVaultSecretNewVersionCreatedEventData
	TypeKeyVaultAccessPolicyChanged                                   = "Microsoft.KeyVault.VaultAccessPolicyChanged"                                          // maps to KeyVaultAccessPolicyChangedEventData
	TypeMachineLearningServicesDatasetDriftDetected                   = "Microsoft.MachineLearningServices.DatasetDriftDetected"                               // maps to MachineLearningServicesDatasetDriftDetectedEventData
	TypeMachineLearningServicesModelDeployed                          = "Microsoft.MachineLearningServices.ModelDeployed"                                      // maps to MachineLearningServicesModelDeployedEventData
	TypeMachineLearningServicesModelRegistered                        = "Microsoft.MachineLearningServices.ModelRegistered"                                    // maps to MachineLearningServicesModelRegisteredEventData
	TypeMachineLearningServicesRunCompleted                           = "Microsoft.MachineLearningServices.RunCompleted"                                       // maps to MachineLearningServicesRunCompletedEventData
	TypeMachineLearningServicesRunStatusChanged                       = "Microsoft.MachineLearningServices.RunStatusChanged"                                   // maps to MachineLearningServicesRunStatusChangedEventData
	TypeMapsGeofenceEntered                                           = "Microsoft.Maps.GeofenceEntered"                                                       // maps to MapsGeofenceEnteredEventData
	TypeMapsGeofenceExited                                            = "Microsoft.Maps.GeofenceExited"                                                        // maps to MapsGeofenceExitedEventData
	TypeMapsGeofenceResult                                            = "Microsoft.Maps.GeofenceResult"                                                        // maps to MapsGeofenceResultEventData
	TypeMediaJobCanceled                                              = "Microsoft.Media.JobCanceled"                                                          // maps to MediaJobCanceledEventData
	TypeMediaJobCanceling                                             = "Microsoft.Media.JobCanceling"                                                         // maps to MediaJobCancelingEventData
	TypeMediaJobErrored                                               = "Microsoft.Media.JobErrored"                                                           // maps to MediaJobErroredEventData
	TypeMediaJobFinished                                              = "Microsoft.Media.JobFinished"                                                          // maps to MediaJobFinishedEventData
	TypeMediaJobOutputCanceled                                        = "Microsoft.Media.JobOutputCanceled"                                                    // maps to MediaJobOutputCanceledEventData
	TypeMediaJobOutputCanceling                                       = "Microsoft.Media.JobOutputCanceling"                                                   // maps to MediaJobOutputCancelingEventData
	TypeMediaJobOutputErrored                                         = "Microsoft.Media.JobOutputErrored"                                                     // maps to MediaJobOutputErroredEventData
	TypeMediaJobOutputFinished                                        = "Microsoft.Media.JobOutputFinished"                                                    // maps to MediaJobOutputFinishedEventData
	TypeMediaJobOutputProcessing                                      = "Microsoft.Media.JobOutputProcessing"                                                  // maps to MediaJobOutputProcessingEventData
	TypeMediaJobOutputProgress                                        = "Microsoft.Media.JobOutputProgress"                                                    // maps to MediaJobOutputProgressEventData
	TypeMediaJobOutputScheduled                                       = "Microsoft.Media.JobOutputScheduled"                                                   // maps to MediaJobOutputScheduledEventData
	TypeMediaJobProcessing                                            = "Microsoft.Media.JobProcessing"                                                        // maps to MediaJobProcessingEventData
	TypeMediaJobScheduled                                             = "Microsoft.Media.JobScheduled"                                                         // maps to MediaJobScheduledEventData
	TypeMediaLiveEventChannelArchiveHeartbeat                         = "Microsoft.Media.LiveEventChannelArchiveHeartbeat"                                     // maps to MediaLiveEventChannelArchiveHeartbeatEventData
	TypeMediaLiveEventConnectionRejected                              = "Microsoft.Media.LiveEventConnectionRejected"                                          // maps to MediaLiveEventConnectionRejectedEventData
	TypeMediaLiveEventEncoderConnected                                = "Microsoft.Media.LiveEventEncoderConnected"                                            // maps to MediaLiveEventEncoderConnectedEventData
	TypeMediaLiveEventEncoderDisconnected                             = "Microsoft.Media.LiveEventEncoderDisconnected"                                         // maps to MediaLiveEventEncoderDisconnectedEventData
	TypeMediaLiveEventIncomingDataChunkDropped                        = "Microsoft.Media.LiveEventIncomingDataChunkDropped"                                    // maps to MediaLiveEventIncomingDataChunkDroppedEventData
	TypeMediaLiveEventIncomingStreamReceived                          = "Microsoft.Media.LiveEventIncomingStreamReceived"                                      // maps to MediaLiveEventIncomingStreamReceivedEventData
	TypeMediaLiveEventIncomingStreamsOutOfSync                        = "Microsoft.Media.LiveEventIncomingStreamsOutOfSync"                                    // maps to MediaLiveEventIncomingStreamsOutOfSyncEventData
	TypeMediaLiveEventIncomingVideoStreamsOutOfSync                   = "Microsoft.Media.LiveEventIncomingVideoStreamsOutOfSync"                               // maps to MediaLiveEventIncomingVideoStreamsOutOfSyncEventData
	TypeMediaLiveEventIngestHeartbeat                                 = "Microsoft.Media.LiveEventIngestHeartbeat"                                             // maps to MediaLiveEventIngestHeartbeatEventData
	TypeMediaLiveEventTrackDiscontinuityDetected                      = "Microsoft.Media.LiveEventTrackDiscontinuityDetected"                                  // maps to MediaLiveEventTrackDiscontinuityDetectedEventData
	TypePolicyInsightsPolicyStateChanged                              = "Microsoft.PolicyInsights.PolicyStateChanged"                                          // maps to PolicyInsightsPolicyStateChangedEventData
	TypePolicyInsightsPolicyStateCreated                              = "Microsoft.PolicyInsights.PolicyStateCreated"                                          // maps to PolicyInsightsPolicyStateCreatedEventData
	TypePolicyInsightsPolicyStateDeleted                              = "Microsoft.PolicyInsights.PolicyStateDeleted"                                          // maps to PolicyInsightsPolicyStateDeletedEventData
	TypeResourceNotificationsContainerServiceEventResourcesScheduled  = "Microsoft.ResourceNotifications.ContainerServiceEventResources.ScheduledEventEmitted" // maps to ResourceNotificationsContainerServiceEventResourcesScheduledEventData
	TypeResourceNotificationsHealthResourcesAvailabilityStatusChanged = "Microsoft.ResourceNotifications.HealthResources.AvailabilityStatusChanged"            // maps to ResourceNotificationsHealthResourcesAvailabilityStatusChangedEventData
	TypeResourceNotificationsHealthResourcesAnnotated                 = "Microsoft.ResourceNotifications.HealthResources.ResourceAnnotated"                    // maps to ResourceNotificationsHealthResourcesAnnotatedEventData
	TypeResourceNotificationsResourceManagementCreatedOrUpdated       = "Microsoft.ResourceNotifications.Resources.CreatedOrUpdated"                           // maps to ResourceNotificationsResourceManagementCreatedOrUpdatedEventData
	TypeResourceNotificationsResourceManagementDeleted                = "Microsoft.ResourceNotifications.Resources.Deleted"                                    // maps to ResourceNotificationsResourceManagementDeletedEventData
	TypeResourceActionCancel                                          = "Microsoft.Resources.ResourceActionCancel"                                             // maps to ResourceActionCancelEventData
	TypeResourceActionFailure                                         = "Microsoft.Resources.ResourceActionFailure"                                            // maps to ResourceActionFailureEventData
	TypeResourceActionSuccess                                         = "Microsoft.Resources.ResourceActionSuccess"                                            // maps to ResourceActionSuccessEventData
	TypeResourceDeleteCancel                                          = "Microsoft.Resources.ResourceDeleteCancel"                                             // maps to ResourceDeleteCancelEventData
	TypeResourceDeleteFailure                                         = "Microsoft.Resources.ResourceDeleteFailure"                                            // maps to ResourceDeleteFailureEventData
	TypeResourceDeleteSuccess                                         = "Microsoft.Resources.ResourceDeleteSuccess"                                            // maps to ResourceDeleteSuccessEventData
	TypeResourceWriteCancel                                           = "Microsoft.Resources.ResourceWriteCancel"                                              // maps to ResourceWriteCancelEventData
	TypeResourceWriteFailure                                          = "Microsoft.Resources.ResourceWriteFailure"                                             // maps to ResourceWriteFailureEventData
	TypeResourceWriteSuccess                                          = "Microsoft.Resources.ResourceWriteSuccess"                                             // maps to ResourceWriteSuccessEventData
	TypeServiceBusActiveMessagesAvailablePeriodicNotifications        = "Microsoft.ServiceBus.ActiveMessagesAvailablePeriodicNotifications"                    // maps to ServiceBusActiveMessagesAvailablePeriodicNotificationsEventData
	TypeServiceBusActiveMessagesAvailableWithNoListeners              = "Microsoft.ServiceBus.ActiveMessagesAvailableWithNoListeners"                          // maps to ServiceBusActiveMessagesAvailableWithNoListenersEventData
	TypeServiceBusDeadletterMessagesAvailablePeriodicNotifications    = "Microsoft.ServiceBus.DeadletterMessagesAvailablePeriodicNotifications"                // maps to ServiceBusDeadletterMessagesAvailablePeriodicNotificationsEventData
	TypeServiceBusDeadletterMessagesAvailableWithNoListeners          = "Microsoft.ServiceBus.DeadletterMessagesAvailableWithNoListeners"                      // maps to ServiceBusDeadletterMessagesAvailableWithNoListenersEventData
	TypeSignalRServiceClientConnectionConnected                       = "Microsoft.SignalRService.ClientConnectionConnected"                                   // maps to SignalRServiceClientConnectionConnectedEventData
	TypeSignalRServiceClientConnectionDisconnected                    = "Microsoft.SignalRService.ClientConnectionDisconnected"                                // maps to SignalRServiceClientConnectionDisconnectedEventData
	TypeStorageAsyncOperationInitiated                                = "Microsoft.Storage.AsyncOperationInitiated"                                            // maps to StorageAsyncOperationInitiatedEventData
	TypeStorageBlobCreated                                            = "Microsoft.Storage.BlobCreated"                                                        // maps to StorageBlobCreatedEventData
	TypeStorageBlobDeleted                                            = "Microsoft.Storage.BlobDeleted"                                                        // maps to StorageBlobDeletedEventData
	TypeStorageBlobInventoryPolicyCompleted                           = "Microsoft.Storage.BlobInventoryPolicyCompleted"                                       // maps to StorageBlobInventoryPolicyCompletedEventData
	TypeStorageBlobRenamed                                            = "Microsoft.Storage.BlobRenamed"                                                        // maps to StorageBlobRenamedEventData
	TypeStorageBlobTierChanged                                        = "Microsoft.Storage.BlobTierChanged"                                                    // maps to StorageBlobTierChangedEventData
	TypeStorageDirectoryCreated                                       = "Microsoft.Storage.DirectoryCreated"                                                   // maps to StorageDirectoryCreatedEventData
	TypeStorageDirectoryDeleted                                       = "Microsoft.Storage.DirectoryDeleted"                                                   // maps to StorageDirectoryDeletedEventData
	TypeStorageDirectoryRenamed                                       = "Microsoft.Storage.DirectoryRenamed"                                                   // maps to StorageDirectoryRenamedEventData
	TypeStorageLifecyclePolicyCompleted                               = "Microsoft.Storage.LifecyclePolicyCompleted"                                           // maps to StorageLifecyclePolicyCompletedEventData
	TypeStorageTaskAssignmentCompleted                                = "Microsoft.Storage.StorageTaskAssignmentCompleted"                                     // maps to StorageTaskAssignmentCompletedEventData
	TypeStorageTaskAssignmentQueued                                   = "Microsoft.Storage.StorageTaskAssignmentQueued"                                        // maps to StorageTaskAssignmentQueuedEventData
	TypeStorageTaskCompleted                                          = "Microsoft.Storage.StorageTaskCompleted"                                               // maps to StorageTaskCompletedEventData
	TypeStorageTaskQueued                                             = "Microsoft.Storage.StorageTaskQueued"                                                  // maps to StorageTaskQueuedEventData
	TypeWebAppServicePlanUpdated                                      = "Microsoft.Web.AppServicePlanUpdated"                                                  // maps to WebAppServicePlanUpdatedEventData
	TypeWebAppUpdated                                                 = "Microsoft.Web.AppUpdated"                                                             // maps to WebAppUpdatedEventData
	TypeWebBackupOperationCompleted                                   = "Microsoft.Web.BackupOperationCompleted"                                               // maps to WebBackupOperationCompletedEventData
	TypeWebBackupOperationFailed                                      = "Microsoft.Web.BackupOperationFailed"                                                  // maps to WebBackupOperationFailedEventData
	TypeWebBackupOperationStarted                                     = "Microsoft.Web.BackupOperationStarted"                                                 // maps to WebBackupOperationStartedEventData
	TypeWebRestoreOperationCompleted                                  = "Microsoft.Web.RestoreOperationCompleted"                                              // maps to WebRestoreOperationCompletedEventData
	TypeWebRestoreOperationFailed                                     = "Microsoft.Web.RestoreOperationFailed"                                                 // maps to WebRestoreOperationFailedEventData
	TypeWebRestoreOperationStarted                                    = "Microsoft.Web.RestoreOperationStarted"                                                // maps to WebRestoreOperationStartedEventData
	TypeWebSlotSwapCompleted                                          = "Microsoft.Web.SlotSwapCompleted"                                                      // maps to WebSlotSwapCompletedEventData
	TypeWebSlotSwapFailed                                             = "Microsoft.Web.SlotSwapFailed"                                                         // maps to WebSlotSwapFailedEventData
	TypeWebSlotSwapStarted                                            = "Microsoft.Web.SlotSwapStarted"                                                        // maps to WebSlotSwapStartedEventData
	TypeWebSlotSwapWithPreviewCancelled                               = "Microsoft.Web.SlotSwapWithPreviewCancelled"                                           // maps to WebSlotSwapWithPreviewCancelledEventData
	TypeWebSlotSwapWithPreviewStarted                                 = "Microsoft.Web.SlotSwapWithPreviewStarted"                                             // maps to WebSlotSwapWithPreviewStartedEventData
)
View Source
const (
	TypeMediaJobOutputStateChange = "Microsoft.Media.JobOutputStateChange" // maps to MediaJobOutputStateChangeEventData
	TypeMediaJobStateChange       = "Microsoft.Media.JobStateChange"       // maps to MediaJobStateChangeEventData
)

Variables

This section is empty.

Functions

This section is empty.

Types

type ACSChatMessageDeletedEventData

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

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

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

	// REQUIRED; The communication identifier of the sender
	SenderCommunicationIdentifier *CommunicationIdentifierModel

	// The chat message id
	MessageID *string

	// 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 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 {
	// REQUIRED; The original compose time of the message
	ComposeTime *time.Time

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

	// REQUIRED; The communication identifier of the sender
	SenderCommunicationIdentifier *CommunicationIdentifierModel

	// The chat message id
	MessageID *string

	// 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 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 {
	// REQUIRED; The original compose time of the message
	ComposeTime *time.Time

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

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

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

	// REQUIRED; The communication identifier of the sender
	SenderCommunicationIdentifier *CommunicationIdentifierModel

	// The body of the chat message
	MessageBody *string

	// The chat message id
	MessageID *string

	// 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 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 {
	// REQUIRED; The original compose time of the message
	ComposeTime *time.Time

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

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

	// REQUIRED; The communication identifier of the sender
	SenderCommunicationIdentifier *CommunicationIdentifierModel

	// The body of the chat message
	MessageBody *string

	// The chat message id
	MessageID *string

	// 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 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 ACSChatMessageReceivedEventData

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

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

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

	// REQUIRED; The communication identifier of the sender
	SenderCommunicationIdentifier *CommunicationIdentifierModel

	// The body of the chat message
	MessageBody *string

	// The chat message id
	MessageID *string

	// 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 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 {
	// REQUIRED; The original compose time of the message
	ComposeTime *time.Time

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

	// REQUIRED; The communication identifier of the sender
	SenderCommunicationIdentifier *CommunicationIdentifierModel

	// The body of the chat message
	MessageBody *string

	// The chat message id
	MessageID *string

	// 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 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 {
	// REQUIRED; The communication identifier of the user who added the user
	AddedByCommunicationIdentifier *CommunicationIdentifierModel

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

	// REQUIRED; The time at which the user was added to the thread
	Time *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
}

ACSChatParticipantAddedToThreadEventData - Schema of the Data property of an 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 {
	// REQUIRED; The communication identifier of the user who added the user
	AddedByCommunicationIdentifier *CommunicationIdentifierModel

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

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

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

	// REQUIRED; The time at which the user was added to the thread
	Time *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
}

ACSChatParticipantAddedToThreadWithUserEventData - Schema of the Data property of an 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 {
	// REQUIRED; The details of the user who was removed
	ParticipantRemoved *ACSChatThreadParticipantProperties

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

	// REQUIRED; The time at which the user was removed to the thread
	Time *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
}

ACSChatParticipantRemovedFromThreadEventData - Schema of the Data property of an 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 {
	// REQUIRED; The original creation time of the thread
	CreateTime *time.Time

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

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

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

	// REQUIRED; The time at which the user was removed to the thread
	Time *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
}

ACSChatParticipantRemovedFromThreadWithUserEventData - Schema of the Data property of an 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 {
	// REQUIRED; The original creation time of the thread
	CreateTime *time.Time

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

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

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

	// REQUIRED; 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 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 {
	// REQUIRED; The original creation time of the thread
	CreateTime *time.Time

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

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

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

	// REQUIRED; The thread properties
	Properties map[string]any

	// REQUIRED; 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 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 {
	// REQUIRED; The original creation time of the thread
	CreateTime *time.Time

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

	// REQUIRED; 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 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 ACSChatThreadParticipantProperties

type ACSChatThreadParticipantProperties struct {
	// REQUIRED; The metadata of the user
	Metadata map[string]*string

	// REQUIRED; The communication identifier of the user
	ParticipantCommunicationIdentifier *CommunicationIdentifierModel

	// The name of the user
	DisplayName *string
}

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 {
	// REQUIRED; The original creation time of the thread
	CreateTime *time.Time

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

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

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

	// REQUIRED; 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 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 {
	// REQUIRED; The original creation time of the thread
	CreateTime *time.Time

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

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

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

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

	// REQUIRED; 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 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 {
	// REQUIRED; The original creation time of the thread
	CreateTime *time.Time

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

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

	// REQUIRED; 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 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 {
	// REQUIRED; The time at which the email delivery report received timestamp
	DeliveryAttemptTimestamp *time.Time

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

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

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

	// The recipient Email Address
	Recipient *string

	// The Sender Email Address
	Sender *string
}

ACSEmailDeliveryReportReceivedEventData - Schema of the Data property of an 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 as 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 {
	// REQUIRED; The type of engagement user have with email
	Engagement *ACSUserEngagement

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

	// 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 user agent interacting with the email
	UserAgent *string
}

ACSEmailEngagementTrackingReportReceivedEventData - Schema of the Data property of an 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 {
	// REQUIRED; Sip Headers for incoming call
	SipHeaders map[string]*string

	// REQUIRED; 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 {
	// REQUIRED; Custom Context of Incoming Call
	CustomContext *ACSIncomingCallCustomContext

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

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

	// Display name of caller.
	CallerDisplayName *string

	// CorrelationId (CallId).
	CorrelationID *string

	// Signed incoming call context.
	IncomingCallContext *string

	// The communication identifier of the user on behalf of whom the call is made.
	OnBehalfOfCallee *CommunicationIdentifierModel

	// The Id of the server call
	ServerCallID *string
}

ACSIncomingCallEventData - Schema of the Data property of an 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 - Interactive reply kind

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 ACSMessageButtonContent added in v0.4.0

type ACSMessageButtonContent 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
}

ACSMessageButtonContent - Message Button Content

func (ACSMessageButtonContent) MarshalJSON added in v0.4.0

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

MarshalJSON implements the json.Marshaller interface for type ACSMessageButtonContent.

func (*ACSMessageButtonContent) UnmarshalJSON added in v0.4.0

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

UnmarshalJSON implements the json.Unmarshaller interface for type ACSMessageButtonContent.

type ACSMessageChannelKind added in v0.3.0

type ACSMessageChannelKind string

ACSMessageChannelKind - Message channel kind

const (
	// ACSMessageChannelKindWhatsapp - Updated message 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 ACSMessageContext added in v0.4.0

type ACSMessageContext 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
}

ACSMessageContext - Message Context

func (ACSMessageContext) MarshalJSON added in v0.4.0

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

MarshalJSON implements the json.Marshaller interface for type ACSMessageContext.

func (*ACSMessageContext) UnmarshalJSON added in v0.4.0

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

UnmarshalJSON implements the json.Unmarshaller interface for type ACSMessageContext.

type ACSMessageDeliveryStatus added in v0.4.0

type ACSMessageDeliveryStatus string

ACSMessageDeliveryStatus - Message delivery status

const (
	// ACSMessageDeliveryStatusDelivered - Delivered
	ACSMessageDeliveryStatusDelivered ACSMessageDeliveryStatus = "delivered"
	// ACSMessageDeliveryStatusFailed - Failed
	ACSMessageDeliveryStatusFailed ACSMessageDeliveryStatus = "failed"
	// ACSMessageDeliveryStatusRead - Read
	ACSMessageDeliveryStatusRead ACSMessageDeliveryStatus = "read"
	// ACSMessageDeliveryStatusSent - Sent
	ACSMessageDeliveryStatusSent ACSMessageDeliveryStatus = "sent"
	// ACSMessageDeliveryStatusUnknown - Unknown
	ACSMessageDeliveryStatusUnknown ACSMessageDeliveryStatus = "unknown"
	// ACSMessageDeliveryStatusWarning - Warning
	ACSMessageDeliveryStatusWarning ACSMessageDeliveryStatus = "warning"
)

func PossibleACSMessageDeliveryStatusValues added in v0.4.0

func PossibleACSMessageDeliveryStatusValues() []ACSMessageDeliveryStatus

PossibleACSMessageDeliveryStatusValues returns the possible values for the ACSMessageDeliveryStatus const type.

type ACSMessageDeliveryStatusUpdatedEventData added in v0.4.0

type ACSMessageDeliveryStatusUpdatedEventData struct {
	// REQUIRED; The updated message channel type
	ChannelKind *ACSMessageChannelKind

	// REQUIRED; The channel event error
	Error *Error

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

	// REQUIRED; The updated message status
	Status *ACSMessageDeliveryStatus

	// The message sender
	From *string

	// The message id
	MessageID *string

	// The message recipient
	To *string
}

ACSMessageDeliveryStatusUpdatedEventData - Schema of the Data property of an EventGridEvent for a Microsoft.Communication.AdvancedMessageDeliveryStatusUpdated event.

func (ACSMessageDeliveryStatusUpdatedEventData) MarshalJSON added in v0.4.0

MarshalJSON implements the json.Marshaller interface for type ACSMessageDeliveryStatusUpdatedEventData.

func (*ACSMessageDeliveryStatusUpdatedEventData) UnmarshalJSON added in v0.4.0

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

UnmarshalJSON implements the json.Unmarshaller interface for type ACSMessageDeliveryStatusUpdatedEventData.

type ACSMessageInteractiveButtonReplyContent added in v0.4.0

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

	// The title of the button
	Title *string
}

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

func (ACSMessageInteractiveButtonReplyContent) MarshalJSON added in v0.4.0

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

MarshalJSON implements the json.Marshaller interface for type ACSMessageInteractiveButtonReplyContent.

func (*ACSMessageInteractiveButtonReplyContent) UnmarshalJSON added in v0.4.0

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

UnmarshalJSON implements the json.Unmarshaller interface for type ACSMessageInteractiveButtonReplyContent.

type ACSMessageInteractiveContent added in v0.4.0

type ACSMessageInteractiveContent struct {
	// REQUIRED; The Message Sent when a customer clicks a button
	ButtonReply *ACSMessageInteractiveButtonReplyContent

	// REQUIRED; The Message Sent when a customer selects an item from a list
	ListReply *ACSMessageInteractiveListReplyContent

	// REQUIRED; The Message interactive reply type
	ReplyKind *ACSInteractiveReplyKind
}

ACSMessageInteractiveContent - Message Interactive Content

func (ACSMessageInteractiveContent) MarshalJSON added in v0.4.0

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

MarshalJSON implements the json.Marshaller interface for type ACSMessageInteractiveContent.

func (*ACSMessageInteractiveContent) UnmarshalJSON added in v0.4.0

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

UnmarshalJSON implements the json.Unmarshaller interface for type ACSMessageInteractiveContent.

type ACSMessageInteractiveListReplyContent added in v0.4.0

type ACSMessageInteractiveListReplyContent struct {
	// The description of the selected row
	Description *string

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

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

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

func (ACSMessageInteractiveListReplyContent) MarshalJSON added in v0.4.0

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

MarshalJSON implements the json.Marshaller interface for type ACSMessageInteractiveListReplyContent.

func (*ACSMessageInteractiveListReplyContent) UnmarshalJSON added in v0.4.0

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

UnmarshalJSON implements the json.Unmarshaller interface for type ACSMessageInteractiveListReplyContent.

type ACSMessageMediaContent added in v0.4.0

type ACSMessageMediaContent 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
}

ACSMessageMediaContent - Message Media Content

func (ACSMessageMediaContent) MarshalJSON added in v0.4.0

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

MarshalJSON implements the json.Marshaller interface for type ACSMessageMediaContent.

func (*ACSMessageMediaContent) UnmarshalJSON added in v0.4.0

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

UnmarshalJSON implements the json.Unmarshaller interface for type ACSMessageMediaContent.

type ACSMessageReceivedEventData added in v0.4.0

type ACSMessageReceivedEventData struct {
	// REQUIRED; The received message button content
	Button *ACSMessageButtonContent

	// REQUIRED; The message channel type
	ChannelKind *ACSMessageChannelKind

	// REQUIRED; The received message context
	Context *ACSMessageContext

	// REQUIRED; The channel event error
	Error *Error

	// REQUIRED; The received message interactive content
	InteractiveContent *ACSMessageInteractiveContent

	// REQUIRED; The received message media content
	MediaContent *ACSMessageMediaContent

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

	// The message content
	Content *string

	// The message sender
	From *string

	// The message recipient
	To *string
}

ACSMessageReceivedEventData - Schema of the Data property of an EventGridEvent for a Microsoft.Communication.AdvancedMessageReceived event.

func (ACSMessageReceivedEventData) MarshalJSON added in v0.4.0

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

MarshalJSON implements the json.Marshaller interface for type ACSMessageReceivedEventData.

func (*ACSMessageReceivedEventData) UnmarshalJSON added in v0.4.0

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

UnmarshalJSON implements the json.Unmarshaller interface for type ACSMessageReceivedEventData.

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 {
	// REQUIRED; The recording channel type - Mixed, Unmixed
	RecordingChannelKind *RecordingChannelKind

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

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

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

	// REQUIRED; The details of recording storage information
	RecordingStorageInfo *ACSRecordingStorageInfoProperties

	// The recording duration in milliseconds
	RecordingDurationMS *int64

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

ACSRecordingFileStatusUpdatedEventData - Schema of the Data property of an 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 {
	// REQUIRED; 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 ACSRouterJobCancelledEventData

type ACSRouterJobCancelledEventData struct {
	// REQUIRED; Router Job events Labels
	Labels map[string]*string

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

	// 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 Note
	Note *string

	// Router Job events Queue Id
	QueueID *string
}

ACSRouterJobCancelledEventData - Schema of the Data property of an 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 {
	// REQUIRED; Router Job Classification Failed Errors
	Errors []*Error

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

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

	// 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 Queue Id
	QueueID *string
}

ACSRouterJobClassificationFailedEventData - Schema of the Data property of an 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 {
	// REQUIRED; Router Job Attached Worker Selector
	AttachedWorkerSelectors []ACSRouterWorkerSelector

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

	// REQUIRED; Router Job Queue Info
	QueueDetails *ACSRouterQueueDetails

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

	// 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 Priority
	Priority *int32

	// Router Job events Queue Id
	QueueID *string
}

ACSRouterJobClassifiedEventData - Schema of the Data property of an 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 {
	// REQUIRED; Router Job events Labels
	Labels map[string]*string

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

	// 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 Queue Id
	QueueID *string

	// Router Job Closed Worker Id
	WorkerID *string
}

ACSRouterJobClosedEventData - Schema of the Data property of an 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 {
	// REQUIRED; Router Job events Labels
	Labels map[string]*string

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

	// 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 Queue Id
	QueueID *string

	// Router Job Completed Worker Id
	WorkerID *string
}

ACSRouterJobCompletedEventData - Schema of the Data property of an 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 {
	// REQUIRED; Router Job events Labels
	Labels map[string]*string

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

	// Router Event Channel ID
	ChannelID *string

	// Router Event Channel Reference
	ChannelReference *string

	// Router Event Job ID
	JobID *string

	// Router Job events Queue Id
	QueueID *string
}

ACSRouterJobDeletedEventData - Schema of the Data property of an 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 ACSRouterJobExceptionTriggeredEventData

type ACSRouterJobExceptionTriggeredEventData struct {
	// REQUIRED; Router Job events Labels
	Labels map[string]*string

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

	// 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 Queue Id
	QueueID *string

	// Router Job Exception Triggered Rule Key
	RuleKey *string
}

ACSRouterJobExceptionTriggeredEventData - Schema of the Data property of an 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 {
	// REQUIRED; Router Job Queued Attached Worker Selector
	AttachedWorkerSelectors []ACSRouterWorkerSelector

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

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

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

	// Router Event Channel ID
	ChannelID *string

	// Router Event Channel Reference
	ChannelReference *string

	// Router Event Job ID
	JobID *string

	// Router Job Priority
	Priority *int32

	// Router Job events Queue Id
	QueueID *string
}

ACSRouterJobQueuedEventData - Schema of the Data property of an 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; Router Job Received Job Status
	JobStatus *ACSRouterJobStatus

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

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

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

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

	// 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 Priority
	Priority *int32

	// Router Job events Queue Id
	QueueID *string
}

ACSRouterJobReceivedEventData - Schema of the Data property of an 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 {
	// REQUIRED; Router Job Scheduling Failed Attached Worker Selector Expired
	ExpiredAttachedWorkerSelectors []ACSRouterWorkerSelector

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

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

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

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

	// Router Event Channel ID
	ChannelID *string

	// Router Event Channel Reference
	ChannelReference *string

	// Router Job Scheduling Failed Reason
	FailureReason *string

	// Router Event Job ID
	JobID *string

	// Router Job Priority
	Priority *int32

	// Router Job events Queue Id
	QueueID *string
}

ACSRouterJobSchedulingFailedEventData - Schema of the Data property of an 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 - Acs Router Job Status

const (
	// ACSRouterJobStatusAssigned - Router Job Status Assigned
	ACSRouterJobStatusAssigned ACSRouterJobStatus = "Assigned"
	// ACSRouterJobStatusCancelled - Router Job Status Cancelled
	ACSRouterJobStatusCancelled ACSRouterJobStatus = "Cancelled"
	// ACSRouterJobStatusClassificationFailed - Router Job Status Classification Failed
	ACSRouterJobStatusClassificationFailed ACSRouterJobStatus = "ClassificationFailed"
	// ACSRouterJobStatusClosed - Router Job Status Closed
	ACSRouterJobStatusClosed ACSRouterJobStatus = "Closed"
	// ACSRouterJobStatusCompleted - Router Job Status Completed
	ACSRouterJobStatusCompleted ACSRouterJobStatus = "Completed"
	// ACSRouterJobStatusCreated - Router Job Status Created
	ACSRouterJobStatusCreated ACSRouterJobStatus = "Created"
	// ACSRouterJobStatusPendingClassification - Router Job Status Pending Classification
	ACSRouterJobStatusPendingClassification ACSRouterJobStatus = "PendingClassification"
	// ACSRouterJobStatusPendingSchedule - Router Job Status Pending Schedule
	ACSRouterJobStatusPendingSchedule ACSRouterJobStatus = "PendingSchedule"
	// ACSRouterJobStatusQueued - Router Job Status Queued
	ACSRouterJobStatusQueued ACSRouterJobStatus = "Queued"
	// ACSRouterJobStatusScheduleFailed - Router Job Status Schedule Failed
	ACSRouterJobStatusScheduleFailed ACSRouterJobStatus = "ScheduleFailed"
	// ACSRouterJobStatusScheduled - Router Job Status Scheduled
	ACSRouterJobStatusScheduled ACSRouterJobStatus = "Scheduled"
	// ACSRouterJobStatusWaitingForActivation - Router Job Status Waiting For Activation
	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 {
	// REQUIRED; Router Job events Labels
	Labels map[string]*string

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

	// 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 Queue Id
	QueueID *string

	// Router Job Unassigned Worker Id
	WorkerID *string
}

ACSRouterJobUnassignedEventData - Schema of the Data property of an 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 Worker Selector Expired
	ExpiredAttachedWorkerSelectors []ACSRouterWorkerSelector

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

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

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

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

	// REQUIRED; Router Job Waiting For Activation Unavailable For Matching
	UnavailableForMatching *bool

	// Router Event Channel ID
	ChannelID *string

	// Router Event Channel Reference
	ChannelReference *string

	// Router Event Job ID
	JobID *string

	// Router Job Waiting For Activation Priority
	Priority *int32

	// Router Job events Queue Id
	QueueID *string
}

ACSRouterJobWaitingForActivationEventData - Schema of the Data property of an 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 {
	// REQUIRED; Router Job Worker Selectors Expired Attached Worker Selectors
	ExpiredAttachedWorkerSelectors []ACSRouterWorkerSelector

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

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

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

	// Router Event Channel ID
	ChannelID *string

	// Router Event Channel Reference
	ChannelReference *string

	// Router Event Job ID
	JobID *string

	// Router Job events Queue Id
	QueueID *string
}

ACSRouterJobWorkerSelectorsExpiredEventData - Schema of the Data property of an 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 - Router Label Operator Equal
	ACSRouterLabelOperatorEqual ACSRouterLabelOperator = "Equal"
	// ACSRouterLabelOperatorGreater - Router Label Operator Greater
	ACSRouterLabelOperatorGreater ACSRouterLabelOperator = "Greater"
	// ACSRouterLabelOperatorGreaterThanOrEqual - Router Label Operator Greater than or equal
	ACSRouterLabelOperatorGreaterThanOrEqual ACSRouterLabelOperator = "GreaterThanOrEqual"
	// ACSRouterLabelOperatorLess - Router Label Operator Less
	ACSRouterLabelOperatorLess ACSRouterLabelOperator = "Less"
	// ACSRouterLabelOperatorLessThanOrEqual - Router Label Operator Less than or equal
	ACSRouterLabelOperatorLessThanOrEqual ACSRouterLabelOperator = "LessThanOrEqual"
	// ACSRouterLabelOperatorNotEqual - Router Label Operator Not Equal
	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 {
	// REQUIRED; Router Queue Labels
	Labels map[string]*string

	// Router Queue Id
	ID *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 - Worker properties that can be updated

const (
	// ACSRouterUpdatedWorkerPropertyAvailableForOffers - AvailableForOffers
	ACSRouterUpdatedWorkerPropertyAvailableForOffers ACSRouterUpdatedWorkerProperty = "AvailableForOffers"
	// ACSRouterUpdatedWorkerPropertyChannelConfigurations - ChannelConfigurations
	ACSRouterUpdatedWorkerPropertyChannelConfigurations ACSRouterUpdatedWorkerProperty = "ChannelConfigurations"
	// ACSRouterUpdatedWorkerPropertyLabels - Labels
	ACSRouterUpdatedWorkerPropertyLabels ACSRouterUpdatedWorkerProperty = "Labels"
	// ACSRouterUpdatedWorkerPropertyQueueAssignments - QueueAssignments
	ACSRouterUpdatedWorkerPropertyQueueAssignments ACSRouterUpdatedWorkerProperty = "QueueAssignments"
	// ACSRouterUpdatedWorkerPropertyTags - Tags
	ACSRouterUpdatedWorkerPropertyTags ACSRouterUpdatedWorkerProperty = "Tags"
	// ACSRouterUpdatedWorkerPropertyTotalCapacity - TotalCapacity
	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 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 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 ACSRouterWorkerOfferAcceptedEventData

type ACSRouterWorkerOfferAcceptedEventData struct {
	// REQUIRED; Router Worker Offer Accepted Job Labels
	JobLabels map[string]*string

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

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

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

	// 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 Priority
	JobPriority *int32

	// Router Worker Offer Accepted Offer Id
	OfferID *string

	// Router Worker Offer Accepted Queue Id
	QueueID *string

	// Router Worker events Worker Id
	WorkerID *string
}

ACSRouterWorkerOfferAcceptedEventData - Schema of the Data property of an 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 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 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 {
	// REQUIRED; Router Worker Offer Issued Expiration Time in UTC
	ExpiresOn *time.Time

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

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

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

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

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

	// Router Event Channel ID
	ChannelID *string

	// Router Event Channel Reference
	ChannelReference *string

	// Router Event Job ID
	JobID *string

	// Router Worker Offer Issued Job Priority
	JobPriority *int32

	// Router Worker Offer Issued Offer Id
	OfferID *string

	// Router Worker Offer Issued Queue Id
	QueueID *string

	// Router Worker events Worker Id
	WorkerID *string
}

ACSRouterWorkerOfferIssuedEventData - Schema of the Data property of an 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 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 {
	// REQUIRED; Router Worker Registered Channel Configuration
	ChannelConfigurations []ACSRouterChannelConfiguration

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

	// REQUIRED; Router Worker Registered Queue Info
	QueueAssignments []ACSRouterQueueDetails

	// REQUIRED; 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 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 {
	// REQUIRED; Router Job Worker Selector Expiration Time
	ExpirationTime *time.Time

	// REQUIRED; Router Job Worker Selector Value
	LabelValue any

	// REQUIRED; Router Job Worker Selector Label Operator
	Operator *ACSRouterLabelOperator

	// REQUIRED; Router Job Worker Selector State
	SelectorState *ACSRouterWorkerSelectorState

	// REQUIRED; Router Job Worker Selector Time to Live in Seconds
	TimeToLive *float64

	// Router Job Worker Selector Key
	Key *string
}

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 Worker Selector State

const (
	// ACSRouterWorkerSelectorStateActive - Router Worker Selector State Active
	ACSRouterWorkerSelectorStateActive ACSRouterWorkerSelectorState = "active"
	// ACSRouterWorkerSelectorStateExpired - Router Worker Selector State Expired
	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 {
	// REQUIRED; Router Worker Updated Channel Configuration
	ChannelConfigurations []ACSRouterChannelConfiguration

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

	// REQUIRED; Router Worker Updated Queue Info
	QueueAssignments []ACSRouterQueueDetails

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

	// REQUIRED; Router Worker Properties Updated
	UpdatedWorkerProperties []ACSRouterUpdatedWorkerProperty

	// Router Worker Updated Total Capacity
	TotalCapacity *int32

	// Router Worker Updated Worker Id
	WorkerID *string
}

ACSRouterWorkerUpdatedEventData - Schema of the Data property of an 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 {
	// REQUIRED; TimeStamp when delivery was attempted
	Timestamp *time.Time

	// Number of segments whose delivery failed
	SegmentsFailed *int32

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

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 {
	// REQUIRED; List of details of delivery attempts made
	DeliveryAttempts []ACSSmsDeliveryAttemptProperties

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

	// 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

	// Customer Content
	Tag *string

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

ACSSmsDeliveryReportReceivedEventData - Schema of the Data property of an 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 ACSSmsReceivedEventData

type ACSSmsReceivedEventData struct {
	// REQUIRED; The time at which the SMS was received
	ReceivedTimestamp *time.Time

	// The identity of SMS message sender
	From *string

	// The SMS content
	Message *string

	// The identity of the SMS message
	MessageID *string

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

ACSSmsReceivedEventData - Schema of the Data property of an 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 {
	// REQUIRED; The communication identifier of the user who was disconnected
	UserCommunicationIdentifier *CommunicationIdentifierModel
}

ACSUserDisconnectedEventData - Schema of the Data property of an 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 - Click
	ACSUserEngagementClick ACSUserEngagement = "click"
	// ACSUserEngagementView - View
	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 {
	// REQUIRED; API definition specification.
	Specification *APICenterAPISpecification

	// API definition description.
	Description *string

	// 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 {
	// REQUIRED; API definition specification.
	Specification *APICenterAPISpecification

	// API definition description.
	Description *string

	// 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 {
	// REQUIRED; Id of the operation that caused this event.
	OperationID *string

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

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

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

AVSClusterCreatedEventData - Schema of the Data property of an 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 {
	// REQUIRED; Id of the operation that caused this event.
	OperationID *string

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

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

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

AVSClusterDeletedEventData - Schema of the Data property of an 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 {
	// REQUIRED; Id of the operation that caused this event.
	OperationID *string

	// 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

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

AVSClusterFailedEventData - Schema of the Data property of an 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 {
	// REQUIRED; Id of the operation that caused this event.
	OperationID *string

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

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

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

AVSClusterUpdatedEventData - Schema of the Data property of an 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 {
	// REQUIRED; Id of the operation that caused this event.
	OperationID *string

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

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

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

AVSClusterUpdatingEventData - Schema of the Data property of an 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 {
	// REQUIRED; Id of the operation that caused this event.
	OperationID *string

	// Failure reason of an event.
	FailureMessage *string
}

AVSPrivateCloudFailedEventData - Schema of the Data property of an 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 {
	// REQUIRED; Id of the operation that caused this event.
	OperationID *string
}

AVSPrivateCloudUpdatedEventData - Schema of the Data property of an 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 {
	// REQUIRED; Id of the operation that caused this event.
	OperationID *string
}

AVSPrivateCloudUpdatingEventData - Schema of the Data property of an 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 {
	// REQUIRED; Cmdlet referenced in the execution that caused this event.
	CmdletID *string

	// REQUIRED; 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 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 {
	// REQUIRED; Cmdlet referenced in the execution that caused this event.
	CmdletID *string

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

	// Failure reason of an event.
	FailureMessage *string

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

AVSScriptExecutionFailedEventData - Schema of the Data property of an 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 {
	// REQUIRED; Cmdlet referenced in the execution that caused this event.
	CmdletID *string

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

	// REQUIRED; 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 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 {
	// REQUIRED; Cmdlet referenced in the execution that caused this event.
	CmdletID *string

	// REQUIRED; 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 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 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 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 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 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 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 {
	// REQUIRED; 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 {
	// REQUIRED; Type of action on the app service plan.
	Action *AppServicePlanAction

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

	// REQUIRED; 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 - Communication cloud environment model.

const (
	// CommunicationCloudEnvironmentModelDod - Dod
	CommunicationCloudEnvironmentModelDod CommunicationCloudEnvironmentModel = "dod"
	// CommunicationCloudEnvironmentModelGcch - Gcch
	CommunicationCloudEnvironmentModelGcch CommunicationCloudEnvironmentModel = "gcch"
	// CommunicationCloudEnvironmentModelPublic - Public
	CommunicationCloudEnvironmentModelPublic CommunicationCloudEnvironmentModel = "public"
)

func PossibleCommunicationCloudEnvironmentModelValues

func PossibleCommunicationCloudEnvironmentModelValues() []CommunicationCloudEnvironmentModel

PossibleCommunicationCloudEnvironmentModelValues returns the possible values for the CommunicationCloudEnvironmentModel const type.

type CommunicationIdentifierModel

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

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

	// REQUIRED; The Microsoft Teams application.
	MicrosoftTeamsApp *MicrosoftTeamsAppIdentifierModel

	// REQUIRED; The Microsoft Teams user.
	MicrosoftTeamsUser *MicrosoftTeamsUserIdentifierModel

	// REQUIRED; 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 must be interpreted as a union: Apart from rawId, at most one further property may be set.

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 - Communication model identifier kind

const (
	// CommunicationIdentifierModelKindCommunicationUser - Communication User
	CommunicationIdentifierModelKindCommunicationUser CommunicationIdentifierModelKind = "communicationUser"
	// CommunicationIdentifierModelKindMicrosoftTeamsUser - Microsoft Teams User
	CommunicationIdentifierModelKindMicrosoftTeamsUser CommunicationIdentifierModelKind = "microsoftTeamsUser"
	// CommunicationIdentifierModelKindPhoneNumber - Phone Number
	CommunicationIdentifierModelKindPhoneNumber CommunicationIdentifierModelKind = "phoneNumber"
	// CommunicationIdentifierModelKindUnknown - Unknown
	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 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 {
	// REQUIRED; The connected registry information if the event is generated by a connected registry.
	ConnectedRegistry *ContainerRegistryEventConnectedRegistry

	// REQUIRED; The target of the event.
	Target *ContainerRegistryArtifactEventTarget

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

	// The action that encompasses the provided event.
	Action *string

	// The event ID.
	ID *string

	// The location of the event.
	Location *string
}

ContainerRegistryChartDeletedEventData - Schema of the Data property of an 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 {
	// REQUIRED; The connected registry information if the event is generated by a connected registry.
	ConnectedRegistry *ContainerRegistryEventConnectedRegistry

	// REQUIRED; The target of the event.
	Target *ContainerRegistryArtifactEventTarget

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

	// The action that encompasses the provided event.
	Action *string

	// The event ID.
	ID *string

	// The location of the event.
	Location *string
}

ContainerRegistryChartPushedEventData - Schema of the Data property of an 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 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 {
	// REQUIRED; The agent that initiated the event. For most situations, this could be from the authorization context of the
	// request.
	Actor *ContainerRegistryEventActor

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

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

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

	// REQUIRED; The target of the event.
	Target *ContainerRegistryEventTarget

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

	// The action that encompasses the provided event.
	Action *string

	// The event ID.
	ID *string

	// The location of the event.
	Location *string
}

ContainerRegistryImageDeletedEventData - Schema of the Data property of an 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 {
	// REQUIRED; The agent that initiated the event. For most situations, this could be from the authorization context of the
	// request.
	Actor *ContainerRegistryEventActor

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

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

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

	// REQUIRED; The target of the event.
	Target *ContainerRegistryEventTarget

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

	// The action that encompasses the provided event.
	Action *string

	// The event ID.
	ID *string

	// The location of the event.
	Location *string
}

ContainerRegistryImagePushedEventData - Schema of the Data property of an 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 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 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 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 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 ContainerServiceNodePoolRollingFailedEventData

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

ContainerServiceNodePoolRollingFailedEventData - Schema of the Data property of an 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 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 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 {
	// REQUIRED; Name of the current Stage
	StageName *DataBoxStageName

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

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

DataBoxCopyCompletedEventData - Schema of the Data property of an 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 {
	// REQUIRED; Name of the current Stage
	StageName *DataBoxStageName

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

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

DataBoxCopyStartedEventData - Schema of the Data property of an 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 {
	// REQUIRED; Name of the current Stage
	StageName *DataBoxStageName

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

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

DataBoxOrderCompletedEventData - Schema of the Data property of an 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 DeviceTwinInfo

type DeviceTwinInfo struct {
	// REQUIRED; Properties JSON element.
	Properties *DeviceTwinInfoProperties

	// REQUIRED; 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

	// 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

	// 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
}

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 {
	// REQUIRED; A portion of the properties that can be written only by the application back-end, and read by the device.
	Desired *DeviceTwinProperties

	// REQUIRED; 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 {
	// REQUIRED; 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 {
	// REQUIRED; The key-value attributes that are assigned to the client resource.
	Attributes map[string]*string

	// REQUIRED; Time the client resource is created based on the provider's UTC time.
	CreatedOn *time.Time

	// REQUIRED; Configured state of the client. The value could be Enabled or Disabled
	State *EventGridMQTTClientState

	// REQUIRED; 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

	// 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
}

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 - EventGrid MQTT Client Disconnection Reason

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 initiated 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 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 {
	// REQUIRED; 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

	// 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
}

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 added in v0.4.0

type EventGridMQTTClientState string

EventGridMQTTClientState - EventGrid MQTT Client State

const (
	// EventGridMQTTClientStateDisabled - Disabled
	EventGridMQTTClientStateDisabled EventGridMQTTClientState = "Disabled"
	// EventGridMQTTClientStateEnabled - Enabled
	EventGridMQTTClientStateEnabled EventGridMQTTClientState = "Enabled"
)

func PossibleEventGridMQTTClientStateValues added in v0.4.0

func PossibleEventGridMQTTClientStateValues() []EventGridMQTTClientState

PossibleEventGridMQTTClientStateValues returns the possible values for the EventGridMQTTClientState const type.

type EventHubCaptureFileCreatedEventData

type EventHubCaptureFileCreatedEventData struct {
	// REQUIRED; The first time from the queue.
	FirstEnqueueTime *time.Time

	// REQUIRED; The last time from the queue.
	LastEnqueueTime *time.Time

	// 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 smallest sequence number from the queue.
	FirstSequenceNumber *int32

	// 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 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 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 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 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 added in v0.4.0

type HealthcareFHIRResourceCreatedEventData struct {
	// REQUIRED; Type of HL7 FHIR resource.
	FHIRResourceType *HealthcareFhirResourceType

	// Id of HL7 FHIR resource.
	FHIRResourceID *string

	// 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 EventGridEvent for a Microsoft.HealthcareApis.FhirResourceCreated event.

func (HealthcareFHIRResourceCreatedEventData) MarshalJSON added in v0.4.0

func (h HealthcareFHIRResourceCreatedEventData) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type HealthcareFHIRResourceCreatedEventData.

func (*HealthcareFHIRResourceCreatedEventData) UnmarshalJSON added in v0.4.0

func (h *HealthcareFHIRResourceCreatedEventData) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type HealthcareFHIRResourceCreatedEventData.

type HealthcareFHIRResourceDeletedEventData added in v0.4.0

type HealthcareFHIRResourceDeletedEventData struct {
	// REQUIRED; Type of HL7 FHIR resource.
	FHIRResourceType *HealthcareFhirResourceType

	// Id of HL7 FHIR resource.
	FHIRResourceID *string

	// 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 EventGridEvent for a Microsoft.HealthcareApis.FhirResourceDeleted event.

func (HealthcareFHIRResourceDeletedEventData) MarshalJSON added in v0.4.0

func (h HealthcareFHIRResourceDeletedEventData) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type HealthcareFHIRResourceDeletedEventData.

func (*HealthcareFHIRResourceDeletedEventData) UnmarshalJSON added in v0.4.0

func (h *HealthcareFHIRResourceDeletedEventData) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type HealthcareFHIRResourceDeletedEventData.

type HealthcareFHIRResourceUpdatedEventData added in v0.4.0

type HealthcareFHIRResourceUpdatedEventData struct {
	// REQUIRED; Type of HL7 FHIR resource.
	FHIRResourceType *HealthcareFhirResourceType

	// Id of HL7 FHIR resource.
	FHIRResourceID *string

	// 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 EventGridEvent for a Microsoft.HealthcareApis.FhirResourceUpdated event.

func (HealthcareFHIRResourceUpdatedEventData) MarshalJSON added in v0.4.0

func (h HealthcareFHIRResourceUpdatedEventData) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type HealthcareFHIRResourceUpdatedEventData.

func (*HealthcareFHIRResourceUpdatedEventData) UnmarshalJSON added in v0.4.0

func (h *HealthcareFHIRResourceUpdatedEventData) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type HealthcareFHIRResourceUpdatedEventData.

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 IOTHubDeviceConnectedEventData

type IOTHubDeviceConnectedEventData struct {
	// REQUIRED; 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: - : . + % _ &#35; * ? ! ( ) , = `@` ; $ '.
	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: - : . + % _ &#35; * ? ! ( ) , = `@` ; $ '.
	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 {
	// REQUIRED; Information about the device twin, which is the cloud representation of application device metadata.
	Twin *DeviceTwinInfo

	// 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: - : . + % _ &#35; * ? ! ( ) , = `@` ; $ '.
	DeviceID *string

	// Name of the IoT Hub where the device was created or deleted.
	HubName *string
}

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 {
	// REQUIRED; Information about the device twin, which is the cloud representation of application device metadata.
	Twin *DeviceTwinInfo

	// 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: - : . + % _ &#35; * ? ! ( ) , = `@` ; $ '.
	DeviceID *string

	// Name of the IoT Hub where the device was created or deleted.
	HubName *string
}

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 {
	// REQUIRED; 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: - : . + % _ &#35; * ? ! ( ) , = `@` ; $ '.
	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: - : . + % _ &#35; * ? ! ( ) , = `@` ; $ '.
	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 {
	// REQUIRED; The content of the message from the device.
	Body map[string]any

	// REQUIRED; Application properties are user-defined strings that can be added to the message. These fields are optional.
	Properties map[string]*string

	// REQUIRED; 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 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 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 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 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 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 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 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 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 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 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 {
	// REQUIRED; The end time of the target dataset time series that resulted in drift detection.
	EndTime *time.Time

	// REQUIRED; The start time of the target dataset time series that resulted in drift detection.
	StartTime *time.Time

	// 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 ID of the Run that detected data drift.
	RunID *string

	// The ID of the target Dataset used to detect drift.
	TargetDatasetID *string
}

MachineLearningServicesDatasetDriftDetectedEventData - Schema of the Data property of an 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 {
	// REQUIRED; The properties of the deployed service.
	ServiceProperties map[string]any

	// REQUIRED; The tags of the deployed service.
	ServiceTags map[string]any

	// 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
}

MachineLearningServicesModelDeployedEventData - Schema of the Data property of an 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 {
	// REQUIRED; The properties of the model that was registered.
	ModelProperties map[string]any

	// REQUIRED; The tags of the model that was registered.
	ModelTags map[string]any

	// The name of the model that was registered.
	ModelName *string

	// The version of the model that was registered.
	ModelVersion *string
}

MachineLearningServicesModelRegisteredEventData - Schema of the Data property of an 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 {
	// REQUIRED; The properties of the completed Run.
	RunProperties map[string]any

	// REQUIRED; The tags of the completed Run.
	RunTags map[string]any

	// 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 Run Type of the completed Run.
	RunType *string
}

MachineLearningServicesRunCompletedEventData - Schema of the Data property of an 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 {
	// REQUIRED; The properties of the Machine Learning Run.
	RunProperties map[string]any

	// REQUIRED; The tags of the Machine Learning Run.
	RunTags map[string]any

	// 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 status of the Machine Learning Run.
	RunStatus *string

	// The Run Type of the Machine Learning Run.
	RunType *string
}

MachineLearningServicesRunStatusChangedEventData - Schema of the Data property of an 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 {
	// REQUIRED; 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 expired relative to the user time in the request.
	ExpiredGeofenceGeometryID []string

	// 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 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 MapsGeofenceExitedEventData

type MapsGeofenceExitedEventData struct {
	// REQUIRED; 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 expired relative to the user time in the request.
	ExpiredGeofenceGeometryID []string

	// 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 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 {
	// REQUIRED; 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 expired relative to the user time in the request.
	ExpiredGeofenceGeometryID []string

	// 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 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 {
	// REQUIRED; Gets the Job correlation data.
	CorrelationData map[string]*string

	// REQUIRED; Gets the Job outputs.
	Outputs []MediaJobOutputClassification

	// REQUIRED; The previous state of the Job.
	PreviousState *MediaJobState

	// REQUIRED; 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 {
	// REQUIRED; Gets the Job correlation data.
	CorrelationData map[string]*string

	// REQUIRED; The previous state of the Job.
	PreviousState *MediaJobState

	// REQUIRED; 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 {
	// REQUIRED; Helps with categorization of errors.
	Category *MediaJobErrorCategory

	// REQUIRED; Error code describing the error.
	Code *MediaJobErrorCode

	// REQUIRED; An array of details about specific errors that led to this reported error.
	Details []MediaJobErrorDetail

	// REQUIRED; Indicates that it may be possible to retry the Job. If retry is unsuccessful, please contact Azure support via
	// Azure Portal.
	Retry *MediaJobRetry

	// A human-readable language-dependent representation of the error.
	Message *string
}

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 - Error categories for Media Job 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 - Media Job Error Codes.

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 {
	// Code describing the error detail.
	Code *string

	// 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 {
	// REQUIRED; Gets the Job correlation data.
	CorrelationData map[string]*string

	// REQUIRED; Gets the Job outputs.
	Outputs []MediaJobOutputClassification

	// REQUIRED; The previous state of the Job.
	PreviousState *MediaJobState

	// REQUIRED; 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 {
	// REQUIRED; Gets the Job correlation data.
	CorrelationData map[string]*string

	// REQUIRED; Gets the Job outputs.
	Outputs []MediaJobOutputClassification

	// REQUIRED; The previous state of the Job.
	PreviousState *MediaJobState

	// REQUIRED; 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; Gets the Job output error.
	Error *MediaJobError

	// 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 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; Gets the Job output error.
	Error *MediaJobError

	// 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 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 {
	// REQUIRED; Gets the Job correlation data.
	JobCorrelationData map[string]*string

	// REQUIRED; Gets the output.
	Output MediaJobOutputClassification

	// REQUIRED; 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 {
	// REQUIRED; Gets the Job correlation data.
	JobCorrelationData map[string]*string

	// REQUIRED; Gets the output.
	Output MediaJobOutputClassification

	// REQUIRED; 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 {
	// REQUIRED; Gets the Job correlation data.
	JobCorrelationData map[string]*string

	// REQUIRED; Gets the output.
	Output MediaJobOutputClassification

	// REQUIRED; 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 {
	// REQUIRED; Gets the Job correlation data.
	JobCorrelationData map[string]*string

	// REQUIRED; Gets the output.
	Output MediaJobOutputClassification

	// REQUIRED; 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 {
	// REQUIRED; Gets the Job correlation data.
	JobCorrelationData map[string]*string

	// REQUIRED; Gets the output.
	Output MediaJobOutputClassification

	// REQUIRED; 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 {
	// REQUIRED; 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 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 {
	// REQUIRED; Gets the Job correlation data.
	JobCorrelationData map[string]*string

	// REQUIRED; Gets the output.
	Output MediaJobOutputClassification

	// REQUIRED; 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 {
	// REQUIRED; Gets the Job correlation data.
	JobCorrelationData map[string]*string

	// REQUIRED; Gets the output.
	Output MediaJobOutputClassification

	// REQUIRED; The previous state of the Job.
	PreviousState *MediaJobState
}

MediaJobOutputStateChangeEventData - Schema of the Data property of an 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 {
	// REQUIRED; Gets the Job correlation data.
	CorrelationData map[string]*string

	// REQUIRED; The previous state of the Job.
	PreviousState *MediaJobState

	// REQUIRED; 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 - Media Job Retry Options.

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 {
	// REQUIRED; Gets the Job correlation data.
	CorrelationData map[string]*string

	// REQUIRED; The previous state of the Job.
	PreviousState *MediaJobState

	// REQUIRED; 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 - State of a Media 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 {
	// REQUIRED; Gets the Job correlation data.
	CorrelationData map[string]*string

	// REQUIRED; The previous state of the Job.
	PreviousState *MediaJobState

	// REQUIRED; The new state of the Job.
	State *MediaJobState
}

MediaJobStateChangeEventData - Schema of the Data property of an 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 {
	// REQUIRED; Gets the channel latency in ms.
	ChannelLatencyMS *string

	// REQUIRED; 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 {
	// Gets the remote IP.
	EncoderIP *string

	// Gets the remote port.
	EncoderPort *string

	// Gets the ingest URL provided by the live event.
	IngestURL *string

	// Gets the result code.
	ResultCode *string

	// 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 {
	// Gets the remote IP.
	EncoderIP *string

	// Gets the remote port.
	EncoderPort *string

	// Gets the ingest URL provided by the live event.
	IngestURL *string

	// 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 {
	// Gets the remote IP.
	EncoderIP *string

	// Gets the remote port.
	EncoderPort *string

	// Gets the ingest URL provided by the live event.
	IngestURL *string

	// Gets the result code.
	ResultCode *string

	// Gets the stream Id.
	StreamID *string
}

MediaLiveEventEncoderDisconnectedEventData - Encoder disconnected event data. Schema of the Data property of an 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 {
	// Gets the bitrate of the track.
	Bitrate *int64

	// Gets the result code for fragment drop operation.
	ResultCode *string

	// Gets the timescale of the Timestamp.
	Timescale *string

	// Gets the timestamp of the data chunk dropped.
	Timestamp *string

	// Gets the name of the track for which fragment is dropped.
	TrackName *string

	// 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 {
	// Gets the bitrate of the track.
	Bitrate *int64

	// Gets the duration of the first data chunk.
	Duration *string

	// Gets the remote IP.
	EncoderIP *string

	// Gets the remote port.
	EncoderPort *string

	// Gets the ingest URL provided by the live event.
	IngestURL *string

	// Gets the timescale in which timestamp is represented.
	Timescale *string

	// Gets the first timestamp of the data chunk received.
	Timestamp *string

	// Gets the track name.
	TrackName *string

	// 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 {
	// Gets the maximum timestamp among all the tracks (audio or video).
	MaxLastTimestamp *string

	// Gets the minimum last timestamp received.
	MinLastTimestamp *string

	// Gets the timescale in which \"MaxLastTimestamp\" is represented.
	TimescaleOfMaxLastTimestamp *string

	// Gets the timescale in which \"MinLastTimestamp\" is represented.
	TimescaleOfMinLastTimestamp *string

	// Gets the type of stream with maximum last timestamp.
	TypeOfStreamWithMaxLastTimestamp *string

	// 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 {
	// Gets the duration of the data chunk with first timestamp.
	FirstDuration *string

	// Gets the first timestamp received for one of the quality levels.
	FirstTimestamp *string

	// Gets the duration of the data chunk with second timestamp.
	SecondDuration *string

	// Gets the timestamp received for some other quality levels.
	SecondTimestamp *string

	// 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 {
	// Gets the bitrate of the track.
	Bitrate *int64

	// Gets the fragment Discontinuity count.
	DiscontinuityCount *int64

	// Gets a value indicating whether preview is healthy or not.
	Healthy *bool

	// Gets the incoming bitrate.
	IncomingBitrate *int64

	// Gets the track ingest drift value.
	IngestDriftValue *string

	// Gets the arrival UTC time of the last fragment.
	LastFragmentArrivalTime *string

	// Gets the last timestamp.
	LastTimestamp *string

	// Gets Non increasing count.
	NonincreasingCount *int64

	// Gets the fragment Overlap count.
	OverlapCount *int64

	// Gets the state of the live event.
	State *string

	// Gets the timescale of the last timestamp.
	Timescale *string

	// Gets the track name.
	TrackName *string

	// Gets the type of the track (Audio / Video).
	TrackType *string

	// Gets the Live Transcription language.
	TranscriptionLanguage *string

	// Gets the Live Transcription state.
	TranscriptionState *string

	// 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 {
	// Gets the bitrate.
	Bitrate *int64

	// Gets the discontinuity gap between PreviousTimestamp and NewTimestamp.
	DiscontinuityGap *string

	// Gets the timestamp of the current fragment.
	NewTimestamp *string

	// Gets the timestamp of the previous fragment.
	PreviousTimestamp *string

	// Gets the timescale in which both timestamps and discontinuity gap are represented.
	Timescale *string

	// Gets the track name.
	TrackName *string

	// 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

	// REQUIRED; 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 cloud that the Microsoft Teams user belongs to. By default 'public' if missing.
	Cloud *CommunicationCloudEnvironmentModel

	// REQUIRED; The Id of the Microsoft Teams user. If not anonymous, this is the AAD object Id of the user.
	UserID *string

	// 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 {
	// REQUIRED; 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

	// 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
}

PolicyInsightsPolicyStateChangedEventData - Schema of the Data property of an 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 {
	// REQUIRED; 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

	// 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
}

PolicyInsightsPolicyStateCreatedEventData - Schema of the Data property of an 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 {
	// REQUIRED; 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

	// 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
}

PolicyInsightsPolicyStateDeletedEventData - Schema of the Data property of an 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 - Recording channel type

const (
	// RecordingChannelKindMixed - Mixed channel type
	RecordingChannelKindMixed RecordingChannelKind = "Mixed"
	// RecordingChannelKindUnmixed - Unmixed channel type
	RecordingChannelKindUnmixed RecordingChannelKind = "Unmixed"
)

func PossibleRecordingChannelKindValues added in v0.3.0

func PossibleRecordingChannelKindValues() []RecordingChannelKind

PossibleRecordingChannelKindValues returns the possible values for the RecordingChannelKind const type.

type RecordingContentType

type RecordingContentType string

RecordingContentType - Recording content type

const (
	// RecordingContentTypeAudio - Audio content type
	RecordingContentTypeAudio RecordingContentType = "Audio"
	// RecordingContentTypeAudioVideo - AudioVideo content type
	RecordingContentTypeAudioVideo RecordingContentType = "AudioVideo"
)

func PossibleRecordingContentTypeValues

func PossibleRecordingContentTypeValues() []RecordingContentType

PossibleRecordingContentTypeValues returns the possible values for the RecordingContentType const type.

type RecordingFormatType

type RecordingFormatType string

RecordingFormatType - Recording format type

const (
	// RecordingFormatTypeMp3 - MP3 format
	RecordingFormatTypeMp3 RecordingFormatType = "Mp3"
	// RecordingFormatTypeMp4 - MP4 format
	RecordingFormatTypeMp4 RecordingFormatType = "Mp4"
	// RecordingFormatTypeWav - WAV format
	RecordingFormatTypeWav RecordingFormatType = "Wav"
)

func PossibleRecordingFormatTypeValues

func PossibleRecordingFormatTypeValues() []RecordingFormatType

PossibleRecordingFormatTypeValues returns the possible values for the RecordingFormatType const type.

type RedisExportRDBCompletedEventData

type RedisExportRDBCompletedEventData struct {
	// REQUIRED; The time at which the event occurred.
	Timestamp *time.Time

	// The name of this event.
	Name *string

	// The status of this event. Failed or succeeded
	Status *string
}

RedisExportRDBCompletedEventData - Schema of the Data property of an 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 {
	// REQUIRED; The time at which the event occurred.
	Timestamp *time.Time

	// The name of this event.
	Name *string

	// The status of this event. Failed or succeeded
	Status *string
}

RedisImportRDBCompletedEventData - Schema of the Data property of an 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 {
	// REQUIRED; The time at which the event occurred.
	Timestamp *time.Time

	// The name of this event.
	Name *string

	// The status of this event. Failed or succeeded
	Status *string
}

RedisPatchingCompletedEventData - Schema of the Data property of an 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 {
	// REQUIRED; The time at which the event occurred.
	Timestamp *time.Time

	// The name of this event.
	Name *string

	// The status of this event. Failed or succeeded
	Status *string
}

RedisScalingCompletedEventData - Schema of the Data property of an 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 {
	// REQUIRED; The requested authorization for the operation.
	Authorization *ResourceAuthorization

	// REQUIRED; The properties of the claims.
	Claims map[string]*string

	// REQUIRED; The details of the operation.
	HTTPRequest *ResourceHTTPRequest

	// An operation ID used for troubleshooting.
	CorrelationID *string

	// 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 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 {
	// REQUIRED; The requested authorization for the operation.
	Authorization *ResourceAuthorization

	// REQUIRED; The properties of the claims.
	Claims map[string]*string

	// REQUIRED; The details of the operation.
	HTTPRequest *ResourceHTTPRequest

	// An operation ID used for troubleshooting.
	CorrelationID *string

	// 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 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 {
	// REQUIRED; The requested authorization for the operation.
	Authorization *ResourceAuthorization

	// REQUIRED; The properties of the claims.
	Claims map[string]*string

	// REQUIRED; The details of the operation.
	HTTPRequest *ResourceHTTPRequest

	// An operation ID used for troubleshooting.
	CorrelationID *string

	// 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 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 {
	// REQUIRED; The evidence for the authorization.
	Evidence map[string]*string

	// The action being requested.
	Action *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 {
	// REQUIRED; The requested authorization for the operation.
	Authorization *ResourceAuthorization

	// REQUIRED; The properties of the claims.
	Claims map[string]*string

	// REQUIRED; The details of the operation.
	HTTPRequest *ResourceHTTPRequest

	// An operation ID used for troubleshooting.
	CorrelationID *string

	// 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 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 {
	// REQUIRED; The requested authorization for the operation.
	Authorization *ResourceAuthorization

	// REQUIRED; The properties of the claims.
	Claims map[string]*string

	// REQUIRED; The details of the operation.
	HTTPRequest *ResourceHTTPRequest

	// An operation ID used for troubleshooting.
	CorrelationID *string

	// 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 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 {
	// REQUIRED; The requested authorization for the operation.
	Authorization *ResourceAuthorization

	// REQUIRED; The properties of the claims.
	Claims map[string]*string

	// REQUIRED; The details of the operation.
	HTTPRequest *ResourceHTTPRequest

	// An operation ID used for troubleshooting.
	CorrelationID *string

	// 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 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 ResourceNotificationsContainerServiceEventResourcesScheduledEventData added in v0.5.0

type ResourceNotificationsContainerServiceEventResourcesScheduledEventData struct {
	// REQUIRED; details about operational info
	OperationalDetails *ResourceNotificationsOperationalDetails

	// REQUIRED; resourceInfo details for update event
	ResourceDetails *ResourceNotificationsResourceUpdatedDetails

	// api version of the resource properties bag
	APIVersion *string
}

ResourceNotificationsContainerServiceEventResourcesScheduledEventData - Schema of the Data property of an event grid event for a Microsoft.ResourceNotifications.ContainerServiceEventResources.ScheduledEventEmitted preview event.

func (ResourceNotificationsContainerServiceEventResourcesScheduledEventData) MarshalJSON added in v0.5.0

MarshalJSON implements the json.Marshaller interface for type ResourceNotificationsContainerServiceEventResourcesScheduledEventData.

func (*ResourceNotificationsContainerServiceEventResourcesScheduledEventData) UnmarshalJSON added in v0.5.0

UnmarshalJSON implements the json.Unmarshaller interface for type ResourceNotificationsContainerServiceEventResourcesScheduledEventData.

type ResourceNotificationsHealthResourcesAnnotatedEventData

type ResourceNotificationsHealthResourcesAnnotatedEventData struct {
	// REQUIRED; details about operational info
	OperationalDetails *ResourceNotificationsOperationalDetails

	// REQUIRED; resourceInfo details for update event
	ResourceDetails *ResourceNotificationsResourceUpdatedDetails

	// api version of the resource properties bag
	APIVersion *string
}

ResourceNotificationsHealthResourcesAnnotatedEventData - Schema of the Data property of an 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 {
	// REQUIRED; details about operational info
	OperationalDetails *ResourceNotificationsOperationalDetails

	// REQUIRED; resourceInfo details for update event
	ResourceDetails *ResourceNotificationsResourceUpdatedDetails

	// api version of the resource properties bag
	APIVersion *string
}

ResourceNotificationsHealthResourcesAvailabilityStatusChangedEventData - Schema of the Data property of an 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 {
	// REQUIRED; 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 ResourceNotificationsResourceManagementCreatedOrUpdatedEventData

type ResourceNotificationsResourceManagementCreatedOrUpdatedEventData struct {
	// REQUIRED; details about operational info
	OperationalDetails *ResourceNotificationsOperationalDetails

	// REQUIRED; resourceInfo details for update event
	ResourceDetails *ResourceNotificationsResourceUpdatedDetails

	// api version of the resource properties bag
	APIVersion *string
}

ResourceNotificationsResourceManagementCreatedOrUpdatedEventData - Schema of the Data property of an 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 {
	// REQUIRED; details about operational info
	OperationalDetails *ResourceNotificationsOperationalDetails

	// REQUIRED; resourceInfo details for delete event
	ResourceDetails *ResourceNotificationsResourceDeletedDetails
}

ResourceNotificationsResourceManagementDeletedEventData - Schema of the Data property of an 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 {
	// REQUIRED; properties in the payload of the resource for which the event is being emitted
	Properties map[string]any

	// REQUIRED; the tags on the resource for which the event is being emitted
	Tags map[string]*string

	// 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

	// 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 ResourceWriteCancelEventData

type ResourceWriteCancelEventData struct {
	// REQUIRED; The requested authorization for the operation.
	Authorization *ResourceAuthorization

	// REQUIRED; The properties of the claims.
	Claims map[string]*string

	// REQUIRED; The details of the operation.
	HTTPRequest *ResourceHTTPRequest

	// An operation ID used for troubleshooting.
	CorrelationID *string

	// 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 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 {
	// REQUIRED; The requested authorization for the operation.
	Authorization *ResourceAuthorization

	// REQUIRED; The properties of the claims.
	Claims map[string]*string

	// REQUIRED; The details of the operation.
	HTTPRequest *ResourceHTTPRequest

	// An operation ID used for troubleshooting.
	CorrelationID *string

	// 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 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 {
	// REQUIRED; The requested authorization for the operation.
	Authorization *ResourceAuthorization

	// REQUIRED; The properties of the claims.
	Claims map[string]*string

	// REQUIRED; The details of the operation.
	HTTPRequest *ResourceHTTPRequest

	// An operation ID used for troubleshooting.
	CorrelationID *string

	// 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 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 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 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 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 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 {
	// REQUIRED; The time at which the event occurred.
	Timestamp *time.Time

	// The connection Id of connected client connection.
	ConnectionID *string

	// The hub of connected client connection.
	HubName *string

	// The user Id of connected client connection.
	UserID *string
}

SignalRServiceClientConnectionConnectedEventData - Schema of the Data property of an 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 {
	// REQUIRED; The time at which the event occurred.
	Timestamp *time.Time

	// 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 user Id of connected client connection.
	UserID *string
}

SignalRServiceClientConnectionDisconnectedEventData - Schema of the Data property of an 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 {
	// REQUIRED; For service use only. Diagnostic data occasionally included by the Azure Storage service. This property should
	// be ignored by event consumers.
	StorageDiagnostics map[string]any

	// 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

	// The path to the blob.
	URL *string
}

StorageAsyncOperationInitiatedEventData - Schema of the Data property of an 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 StorageBlobAccessTier added in v0.4.1

type StorageBlobAccessTier string

StorageBlobAccessTier - The access tier of the blob.

const (
	// StorageBlobAccessTierArchive - The blob is in access tier Archive
	StorageBlobAccessTierArchive StorageBlobAccessTier = "Archive"
	// StorageBlobAccessTierCold - The blob is in access tier Cold
	StorageBlobAccessTierCold StorageBlobAccessTier = "Cold"
	// StorageBlobAccessTierCool - The blob is in access tier Cool
	StorageBlobAccessTierCool StorageBlobAccessTier = "Cool"
	// StorageBlobAccessTierDefault - The blob is in access tier Default(Inferred)
	StorageBlobAccessTierDefault StorageBlobAccessTier = "Default"
	// StorageBlobAccessTierHot - The blob is in access tier Hot
	StorageBlobAccessTierHot StorageBlobAccessTier = "Hot"
)

func PossibleStorageBlobAccessTierValues added in v0.4.1

func PossibleStorageBlobAccessTierValues() []StorageBlobAccessTier

PossibleStorageBlobAccessTierValues returns the possible values for the StorageBlobAccessTier const type.

type StorageBlobCreatedEventData

type StorageBlobCreatedEventData struct {
	// REQUIRED; The current tier of the blob.
	AccessTier *StorageBlobAccessTier

	// REQUIRED; For service use only. Diagnostic data occasionally included by the Azure Storage service. This property should
	// be ignored by event consumers.
	StorageDiagnostics map[string]any

	// 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

	// The path to the blob.
	URL *string
}

StorageBlobCreatedEventData - Schema of the Data property of an 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 {
	// REQUIRED; For service use only. Diagnostic data occasionally included by the Azure Storage service. This property should
	// be ignored by event consumers.
	StorageDiagnostics map[string]any

	// 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

	// The path to the blob.
	URL *string
}

StorageBlobDeletedEventData - Schema of the Data property of an 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 {
	// REQUIRED; The time at which inventory policy was scheduled.
	ScheduleDateTime *time.Time

	// 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
}

StorageBlobInventoryPolicyCompletedEventData - Schema of the Data property of an 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 {
	// REQUIRED; For service use only. Diagnostic data occasionally included by the Azure Storage service. This property should
	// be ignored by event consumers.
	StorageDiagnostics map[string]any

	// 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
}

StorageBlobRenamedEventData - Schema of the Data property of an 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 {
	// REQUIRED; The current tier of the blob.
	AccessTier *StorageBlobAccessTier

	// REQUIRED; The previous tier of the blob.
	PreviousTier *StorageBlobAccessTier

	// REQUIRED; For service use only. Diagnostic data occasionally included by the Azure Storage service. This property should
	// be ignored by event consumers.
	StorageDiagnostics map[string]any

	// 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

	// The path to the blob.
	URL *string
}

StorageBlobTierChangedEventData - Schema of the Data property of an 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 {
	// REQUIRED; For service use only. Diagnostic data occasionally included by the Azure Storage service. This property should
	// be ignored by event consumers.
	StorageDiagnostics map[string]any

	// 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

	// The path to the directory.
	URL *string
}

StorageDirectoryCreatedEventData - Schema of the Data property of an 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 {
	// REQUIRED; For service use only. Diagnostic data occasionally included by the Azure Storage service. This property should
	// be ignored by event consumers.
	StorageDiagnostics map[string]any

	// 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

	// The path to the deleted directory.
	URL *string
}

StorageDirectoryDeletedEventData - Schema of the Data property of an 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 {
	// REQUIRED; For service use only. Diagnostic data occasionally included by the Azure Storage service. This property should
	// be ignored by event consumers.
	StorageDiagnostics map[string]any

	// 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
}

StorageDirectoryRenamedEventData - Schema of the Data property of an 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 StorageLifecycleCompletionStatus added in v0.5.0

type StorageLifecycleCompletionStatus string

StorageLifecycleCompletionStatus - The status for a LCM policy.

const (
	// StorageLifecycleCompletionStatusCompleted - Completed
	StorageLifecycleCompletionStatusCompleted StorageLifecycleCompletionStatus = "Completed"
	// StorageLifecycleCompletionStatusCompletedWithError - CompletedWithError
	StorageLifecycleCompletionStatusCompletedWithError StorageLifecycleCompletionStatus = "CompletedWithError"
	// StorageLifecycleCompletionStatusIncomplete - Incomplete
	StorageLifecycleCompletionStatusIncomplete StorageLifecycleCompletionStatus = "Incomplete"
)

func PossibleStorageLifecycleCompletionStatusValues added in v0.5.0

func PossibleStorageLifecycleCompletionStatusValues() []StorageLifecycleCompletionStatus

PossibleStorageLifecycleCompletionStatusValues returns the possible values for the StorageLifecycleCompletionStatus const type.

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 {
	// REQUIRED; Execution statistics of a specific policy action in a Blob Management cycle.
	DeleteSummary *StorageLifecyclePolicyActionSummaryDetail

	// REQUIRED; Policy execution summary which shows the completion status of a LCM run"
	PolicyRunSummary *StorageLifecyclePolicyRunSummary

	// REQUIRED; Execution statistics of a specific policy action in a Blob Management cycle.
	TierToArchiveSummary *StorageLifecyclePolicyActionSummaryDetail

	// REQUIRED; Execution statistics of a specific policy action in a Blob Management cycle.
	TierToColdSummary *StorageLifecyclePolicyActionSummaryDetail

	// REQUIRED; Execution statistics of a specific policy action in a Blob Management cycle.
	TierToCoolSummary *StorageLifecyclePolicyActionSummaryDetail

	// The time the policy task was scheduled.
	ScheduleTime *string
}

StorageLifecyclePolicyCompletedEventData - Schema of the Data property of an 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 StorageLifecyclePolicyRunSummary added in v0.5.0

type StorageLifecyclePolicyRunSummary struct {
	// REQUIRED; Policy status can be Completed/CompletedWithError/Incomplete.
	CompletionStatus *StorageLifecycleCompletionStatus
}

StorageLifecyclePolicyRunSummary - Policy run status of an account in a Blob Management cycle.

func (StorageLifecyclePolicyRunSummary) MarshalJSON added in v0.5.0

func (s StorageLifecyclePolicyRunSummary) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type StorageLifecyclePolicyRunSummary.

func (*StorageLifecyclePolicyRunSummary) UnmarshalJSON added in v0.5.0

func (s *StorageLifecyclePolicyRunSummary) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type StorageLifecyclePolicyRunSummary.

type StorageTaskAssignmentCompletedEventData

type StorageTaskAssignmentCompletedEventData struct {
	// REQUIRED; The time at which a storage task was completed.
	CompletedOn *time.Time

	// REQUIRED; The status for a storage task.
	Status *StorageTaskAssignmentCompletedStatus

	// REQUIRED; 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 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 - Failed
	StorageTaskAssignmentCompletedStatusFailed StorageTaskAssignmentCompletedStatus = "Failed"
	// StorageTaskAssignmentCompletedStatusSucceeded - Succeeded
	StorageTaskAssignmentCompletedStatusSucceeded StorageTaskAssignmentCompletedStatus = "Succeeded"
)

func PossibleStorageTaskAssignmentCompletedStatusValues

func PossibleStorageTaskAssignmentCompletedStatusValues() []StorageTaskAssignmentCompletedStatus

PossibleStorageTaskAssignmentCompletedStatusValues returns the possible values for the StorageTaskAssignmentCompletedStatus const type.

type StorageTaskAssignmentQueuedEventData

type StorageTaskAssignmentQueuedEventData struct {
	// REQUIRED; 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 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 {
	// REQUIRED; The time at which a storage task was completed.
	CompletedDateTime *time.Time

	// REQUIRED; The status for a storage task.
	Status *StorageTaskCompletedStatus

	// REQUIRED; 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 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 - Failed
	StorageTaskCompletedStatusFailed StorageTaskCompletedStatus = "Failed"
	// StorageTaskCompletedStatusSucceeded - Succeeded
	StorageTaskCompletedStatusSucceeded StorageTaskCompletedStatus = "Succeeded"
)

func PossibleStorageTaskCompletedStatusValues

func PossibleStorageTaskCompletedStatusValues() []StorageTaskCompletedStatus

PossibleStorageTaskCompletedStatusValues returns the possible values for the StorageTaskCompletedStatus const type.

type StorageTaskQueuedEventData

type StorageTaskQueuedEventData struct {
	// REQUIRED; 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 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 {
	// The Azure resource ID of the deleted event subscription.
	EventSubscriptionID *string
}

SubscriptionDeletedEventData - Schema of the Data property of an 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 {
	// 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

	// 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 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 WebAppServicePlanUpdatedEventData

type WebAppServicePlanUpdatedEventData struct {
	// REQUIRED; Detail of action on the app service plan.
	AppServicePlanEventTypeDetail *AppServicePlanEventTypeDetail

	// REQUIRED; sku of app service plan.
	SKU *WebAppServicePlanUpdatedEventDataSKU

	// HTTP request URL of this operation.
	Address *string

	// 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

	// HTTP verb of this operation.
	Verb *string
}

WebAppServicePlanUpdatedEventData - Schema of the Data property of an 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 {
	// REQUIRED; Detail of action on the app.
	AppEventTypeDetail *AppEventTypeDetail

	// HTTP request URL of this operation.
	Address *string

	// 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 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 {
	// REQUIRED; Detail of action on the app.
	AppEventTypeDetail *AppEventTypeDetail

	// HTTP request URL of this operation.
	Address *string

	// 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 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 {
	// REQUIRED; Detail of action on the app.
	AppEventTypeDetail *AppEventTypeDetail

	// HTTP request URL of this operation.
	Address *string

	// 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 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 {
	// REQUIRED; Detail of action on the app.
	AppEventTypeDetail *AppEventTypeDetail

	// HTTP request URL of this operation.
	Address *string

	// 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 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 {
	// REQUIRED; Detail of action on the app.
	AppEventTypeDetail *AppEventTypeDetail

	// HTTP request URL of this operation.
	Address *string

	// 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 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 {
	// REQUIRED; Detail of action on the app.
	AppEventTypeDetail *AppEventTypeDetail

	// HTTP request URL of this operation.
	Address *string

	// 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 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 {
	// REQUIRED; Detail of action on the app.
	AppEventTypeDetail *AppEventTypeDetail

	// HTTP request URL of this operation.
	Address *string

	// 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 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 {
	// REQUIRED; Detail of action on the app.
	AppEventTypeDetail *AppEventTypeDetail

	// HTTP request URL of this operation.
	Address *string

	// 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 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 {
	// REQUIRED; Detail of action on the app.
	AppEventTypeDetail *AppEventTypeDetail

	// HTTP request URL of this operation.
	Address *string

	// 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 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 {
	// REQUIRED; Detail of action on the app.
	AppEventTypeDetail *AppEventTypeDetail

	// HTTP request URL of this operation.
	Address *string

	// 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 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 {
	// REQUIRED; Detail of action on the app.
	AppEventTypeDetail *AppEventTypeDetail

	// HTTP request URL of this operation.
	Address *string

	// 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 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 {
	// REQUIRED; Detail of action on the app.
	AppEventTypeDetail *AppEventTypeDetail

	// HTTP request URL of this operation.
	Address *string

	// 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 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