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 ¶
- Constants
- type ACSCallEndReasonProperties
- type ACSCallEndedByKind
- type ACSCallEndedByProperties
- type ACSCallEndedEventData
- type ACSCallGroupProperties
- type ACSCallParticipantAddedEventData
- type ACSCallParticipantProperties
- type ACSCallParticipantRemovedEventData
- type ACSCallParticipantRoleKind
- type ACSCallRoomProperties
- type ACSCallStartedEventData
- type ACSCallingEventProperties
- type ACSChatAzureBotCommandReceivedInThreadEventData
- type ACSChatMessageDeletedEventData
- type ACSChatMessageDeletedInThreadEventData
- type ACSChatMessageEditedEventData
- type ACSChatMessageEditedInThreadEventData
- type ACSChatMessageReceivedEventData
- type ACSChatMessageReceivedInThreadEventData
- type ACSChatParticipantAddedToThreadEventData
- type ACSChatParticipantAddedToThreadWithUserEventData
- type ACSChatParticipantRemovedFromThreadEventData
- type ACSChatParticipantRemovedFromThreadWithUserEventData
- type ACSChatThreadCreatedEventData
- type ACSChatThreadCreatedWithUserEventData
- type ACSChatThreadDeletedEventData
- type ACSChatThreadParticipantProperties
- type ACSChatThreadPropertiesUpdatedEventData
- type ACSChatThreadPropertiesUpdatedPerUserEventData
- type ACSChatThreadWithUserDeletedEventData
- type ACSChatTypingIndicatorReceivedInThreadEventData
- type ACSEmailDeliveryReportReceivedEventData
- type ACSEmailDeliveryReportStatus
- type ACSEmailDeliveryReportStatusDetails
- type ACSEmailEngagementTrackingReportReceivedEventData
- type ACSIncomingCallCustomContext
- type ACSIncomingCallEventData
- type ACSInteractiveReplyKind
- type ACSMessageButtonContent
- type ACSMessageChannelKind
- type ACSMessageContext
- type ACSMessageDeliveryStatus
- type ACSMessageDeliveryStatusUpdatedEventData
- type ACSMessageInteractiveButtonReplyContent
- type ACSMessageInteractiveContent
- type ACSMessageInteractiveListReplyContent
- type ACSMessageMediaContent
- type ACSMessageReactionContent
- type ACSMessageReceivedEventData
- type ACSRecordingChannelType
- type ACSRecordingChunkInfoProperties
- type ACSRecordingContentType
- type ACSRecordingFileStatusUpdatedEventData
- type ACSRecordingFormatType
- type ACSRecordingStorageInfoProperties
- type ACSRouterChannelConfiguration
- type ACSRouterJobCancelledEventData
- type ACSRouterJobClassificationFailedEventData
- type ACSRouterJobClassifiedEventData
- type ACSRouterJobClosedEventData
- type ACSRouterJobCompletedEventData
- type ACSRouterJobDeletedEventData
- type ACSRouterJobExceptionTriggeredEventData
- type ACSRouterJobQueuedEventData
- type ACSRouterJobReceivedEventData
- type ACSRouterJobSchedulingFailedEventData
- type ACSRouterJobStatus
- type ACSRouterJobUnassignedEventData
- type ACSRouterJobWaitingForActivationEventData
- type ACSRouterJobWorkerSelectorsExpiredEventData
- type ACSRouterLabelOperator
- type ACSRouterQueueDetails
- type ACSRouterUpdatedWorkerProperty
- type ACSRouterWorkerDeletedEventData
- type ACSRouterWorkerDeregisteredEventData
- type ACSRouterWorkerOfferAcceptedEventData
- type ACSRouterWorkerOfferDeclinedEventData
- type ACSRouterWorkerOfferExpiredEventData
- type ACSRouterWorkerOfferIssuedEventData
- type ACSRouterWorkerOfferRevokedEventData
- type ACSRouterWorkerRegisteredEventData
- type ACSRouterWorkerSelector
- type ACSRouterWorkerSelectorState
- type ACSRouterWorkerUpdatedEventData
- type ACSSMSDeliveryAttemptProperties
- type ACSSMSDeliveryReportReceivedEventData
- type ACSSMSReceivedEventData
- type ACSUserDisconnectedEventData
- type ACSUserEngagement
- type APICenterAPIDefinitionAddedEventData
- type APICenterAPIDefinitionUpdatedEventData
- type APICenterAPISpecification
- type APIManagementAPICreatedEventData
- type APIManagementAPIDeletedEventData
- type APIManagementAPIReleaseCreatedEventData
- type APIManagementAPIReleaseDeletedEventData
- type APIManagementAPIReleaseUpdatedEventData
- type APIManagementAPIUpdatedEventData
- type APIManagementCircuitBreakerClosedEventData
- type APIManagementCircuitBreakerOpenedEventData
- type APIManagementCircuitBreakerProperties
- type APIManagementExpiredGatewayTokenProperties
- type APIManagementGatewayAPIAddedEventData
- type APIManagementGatewayAPIRemovedEventData
- type APIManagementGatewayCertificateAuthorityCreatedEventData
- type APIManagementGatewayCertificateAuthorityDeletedEventData
- type APIManagementGatewayCertificateAuthorityUpdatedEventData
- type APIManagementGatewayCreatedEventData
- type APIManagementGatewayDeletedEventData
- type APIManagementGatewayHostnameConfigurationCreatedEventData
- type APIManagementGatewayHostnameConfigurationDeletedEventData
- type APIManagementGatewayHostnameConfigurationUpdatedEventData
- type APIManagementGatewayProperties
- type APIManagementGatewayTokenExpiredEventData
- type APIManagementGatewayTokenNearExpiryEventData
- type APIManagementGatewayUpdatedEventData
- type APIManagementNearExpiryGatewayTokenProperties
- type APIManagementProductCreatedEventData
- type APIManagementProductDeletedEventData
- type APIManagementProductUpdatedEventData
- type APIManagementSubscriptionCreatedEventData
- type APIManagementSubscriptionDeletedEventData
- type APIManagementSubscriptionUpdatedEventData
- type APIManagementUserCreatedEventData
- type APIManagementUserDeletedEventData
- type APIManagementUserUpdatedEventData
- type AVSClusterCreatedEventData
- type AVSClusterDeletedEventData
- type AVSClusterFailedEventData
- type AVSClusterUpdatedEventData
- type AVSClusterUpdatingEventData
- type AVSPrivateCloudFailedEventData
- type AVSPrivateCloudUpdatedEventData
- type AVSPrivateCloudUpdatingEventData
- type AVSScriptExecutionCancelledEventData
- type AVSScriptExecutionFailedEventData
- type AVSScriptExecutionFinishedEventData
- type AVSScriptExecutionStartedEventData
- type AppAction
- type AppConfigurationKeyValueDeletedEventData
- type AppConfigurationKeyValueModifiedEventData
- type AppConfigurationSnapshotCreatedEventData
- type AppConfigurationSnapshotModifiedEventData
- type AppEventTypeDetail
- type AppServicePlanAction
- type AppServicePlanEventTypeDetail
- type AsyncStatus
- type CommunicationCloudEnvironmentModel
- type CommunicationIdentifierModel
- type CommunicationIdentifierModelKind
- type CommunicationUserIdentifierModel
- type ContainerRegistryArtifactEventTarget
- type ContainerRegistryChartDeletedEventData
- type ContainerRegistryChartPushedEventData
- type ContainerRegistryEventActor
- type ContainerRegistryEventConnectedRegistry
- type ContainerRegistryEventRequest
- type ContainerRegistryEventSource
- type ContainerRegistryEventTarget
- type ContainerRegistryImageDeletedEventData
- type ContainerRegistryImagePushedEventData
- type ContainerServiceClusterSupportEndedEventData
- type ContainerServiceClusterSupportEndingEventData
- type ContainerServiceNewKubernetesVersionAvailableEventData
- type ContainerServiceNodePoolRollingFailedEventData
- type ContainerServiceNodePoolRollingStartedEventData
- type ContainerServiceNodePoolRollingSucceededEventData
- type DataBoxCopyCompletedEventData
- type DataBoxCopyStartedEventData
- type DataBoxOrderCompletedEventData
- type DataBoxStageName
- type DeviceConnectionStateEventInfo
- type DeviceTwinInfo
- type DeviceTwinInfoProperties
- type DeviceTwinInfoX509Thumbprint
- type DeviceTwinMetadata
- type DeviceTwinProperties
- type EdgeSolutionVersionPublishedEventData
- type Error
- type EventGridEvent
- type EventGridMQTTClientCreatedOrUpdatedEventData
- type EventGridMQTTClientDeletedEventData
- type EventGridMQTTClientDisconnectionReason
- type EventGridMQTTClientSessionConnectedEventData
- type EventGridMQTTClientSessionDisconnectedEventData
- type EventGridMQTTClientState
- type EventHubCaptureFileCreatedEventData
- type HealthcareDicomImageCreatedEventData
- type HealthcareDicomImageDeletedEventData
- type HealthcareDicomImageUpdatedEventData
- type HealthcareFHIRResourceCreatedEventData
- type HealthcareFHIRResourceDeletedEventData
- type HealthcareFHIRResourceUpdatedEventData
- type HealthcareFhirResourceType
- type IOTHubDeviceConnectedEventData
- type IOTHubDeviceCreatedEventData
- type IOTHubDeviceDeletedEventData
- type IOTHubDeviceDisconnectedEventData
- type IOTHubDeviceTelemetryEventData
- type KeyVaultAccessPolicyChangedEventData
- type KeyVaultCertificateExpiredEventData
- type KeyVaultCertificateNearExpiryEventData
- type KeyVaultCertificateNewVersionCreatedEventData
- type KeyVaultKeyExpiredEventData
- type KeyVaultKeyNearExpiryEventData
- type KeyVaultKeyNewVersionCreatedEventData
- type KeyVaultSecretExpiredEventData
- type KeyVaultSecretNearExpiryEventData
- type KeyVaultSecretNewVersionCreatedEventData
- type MachineLearningServicesDatasetDriftDetectedEventData
- type MachineLearningServicesModelDeployedEventData
- type MachineLearningServicesModelRegisteredEventData
- type MachineLearningServicesRunCompletedEventData
- type MachineLearningServicesRunStatusChangedEventData
- type MapsGeofenceEnteredEventData
- type MapsGeofenceExitedEventData
- type MapsGeofenceGeometry
- type MapsGeofenceResultEventData
- type MicrosoftTeamsAppIdentifierModel
- type MicrosoftTeamsUserIdentifierModel
- type PhoneNumberIdentifierModel
- type PolicyInsightsPolicyStateChangedEventData
- type PolicyInsightsPolicyStateCreatedEventData
- type PolicyInsightsPolicyStateDeletedEventData
- type RedisExportRDBCompletedEventData
- type RedisImportRDBCompletedEventData
- type RedisPatchingCompletedEventData
- type RedisScalingCompletedEventData
- type ResourceActionCancelEventData
- type ResourceActionFailureEventData
- type ResourceActionSuccessEventData
- type ResourceAuthorization
- type ResourceDeleteCancelEventData
- type ResourceDeleteFailureEventData
- type ResourceDeleteSuccessEventData
- type ResourceHTTPRequest
- type ResourceNotificationsContainerServiceEventResourcesScheduledEventData
- type ResourceNotificationsHealthResourcesAnnotatedEventData
- type ResourceNotificationsHealthResourcesAvailabilityStatusChangedEventData
- type ResourceNotificationsOperationalDetails
- type ResourceNotificationsResourceDeletedDetails
- type ResourceNotificationsResourceManagementCreatedOrUpdatedEventData
- type ResourceNotificationsResourceManagementDeletedEventData
- type ResourceNotificationsResourceUpdatedDetails
- type ResourceWriteCancelEventData
- type ResourceWriteFailureEventData
- type ResourceWriteSuccessEventData
- type ServiceBusActiveMessagesAvailablePeriodicNotificationsEventData
- type ServiceBusActiveMessagesAvailableWithNoListenersEventData
- type ServiceBusDeadletterMessagesAvailablePeriodicNotificationsEventData
- type ServiceBusDeadletterMessagesAvailableWithNoListenersEventData
- type SignalRServiceClientConnectionConnectedEventData
- type SignalRServiceClientConnectionDisconnectedEventData
- type StampKind
- type StorageAsyncOperationInitiatedEventData
- type StorageBlobAccessTier
- type StorageBlobCreatedEventData
- type StorageBlobDeletedEventData
- type StorageBlobInventoryPolicyCompletedEventData
- type StorageBlobRenamedEventData
- type StorageBlobTierChangedEventData
- type StorageDirectoryCreatedEventData
- type StorageDirectoryDeletedEventData
- type StorageDirectoryRenamedEventData
- type StorageLifecycleCompletionStatus
- type StorageLifecyclePolicyActionSummaryDetail
- type StorageLifecyclePolicyCompletedEventData
- type StorageLifecyclePolicyRunSummary
- type StorageTaskAssignmentCompletedEventData
- type StorageTaskAssignmentCompletedStatus
- type StorageTaskAssignmentQueuedEventData
- type StorageTaskCompletedEventData
- type StorageTaskCompletedStatus
- type StorageTaskQueuedEventData
- type SubscriptionDeletedEventData
- type SubscriptionValidationEventData
- type SubscriptionValidationResponse
- type WebAppServicePlanUpdatedEventData
- type WebAppServicePlanUpdatedEventDataSKU
- type WebAppUpdatedEventData
- type WebBackupOperationCompletedEventData
- type WebBackupOperationFailedEventData
- type WebBackupOperationStartedEventData
- type WebRestoreOperationCompletedEventData
- type WebRestoreOperationFailedEventData
- type WebRestoreOperationStartedEventData
- type WebSlotSwapCompletedEventData
- type WebSlotSwapFailedEventData
- type WebSlotSwapStartedEventData
- type WebSlotSwapWithPreviewCancelledEventData
- type WebSlotSwapWithPreviewStartedEventData
Examples ¶
Constants ¶
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 TypeAPIManagementCircuitBreakerClosed = "Microsoft.ApiManagement.CircuitBreaker.Closed" // maps to APIManagementCircuitBreakerClosedEventData TypeAPIManagementCircuitBreakerOpened = "Microsoft.ApiManagement.CircuitBreaker.Opened" // maps to APIManagementCircuitBreakerOpenedEventData 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 TypeAPIManagementGatewayTokenExpired = "Microsoft.ApiManagement.GatewayTokenExpired" // maps to APIManagementGatewayTokenExpiredEventData TypeAPIManagementGatewayTokenNearExpiry = "Microsoft.ApiManagement.GatewayTokenNearExpiry" // maps to APIManagementGatewayTokenNearExpiryEventData 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 TypeACSCallEnded = "Microsoft.Communication.CallEnded" // maps to ACSCallEndedEventData TypeACSCallParticipantAdded = "Microsoft.Communication.CallParticipantAdded" // maps to ACSCallParticipantAddedEventData TypeACSCallParticipantRemoved = "Microsoft.Communication.CallParticipantRemoved" // maps to ACSCallParticipantRemovedEventData TypeACSCallStarted = "Microsoft.Communication.CallStarted" // maps to ACSCallStartedEventData TypeACSChatAzureBotCommandReceivedInThread = "Microsoft.Communication.ChatAzureBotCommandReceivedInThread" // maps to ACSChatAzureBotCommandReceivedInThreadEventData 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 TypeACSChatTypingIndicatorReceivedInThread = "Microsoft.Communication.ChatTypingIndicatorReceivedInThread" // maps to ACSChatTypingIndicatorReceivedInThreadEventData 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 TypeEdgeSolutionVersionPublished = "Microsoft.Edge.SolutionVersionPublished" // maps to EdgeSolutionVersionPublishedEventData 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 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 )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ACSCallEndReasonProperties ¶ added in v0.7.0
type ACSCallEndReasonProperties struct {
// Reason code for ending the call.
Code *int32
// Reason for the ending the call.
Phrase *string
// Reason subcode for ending the call.
SubCode *int32
}
ACSCallEndReasonProperties - Schema of calling event reason properties
func (ACSCallEndReasonProperties) MarshalJSON ¶ added in v0.7.0
func (a ACSCallEndReasonProperties) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type ACSCallEndReasonProperties.
func (*ACSCallEndReasonProperties) UnmarshalJSON ¶ added in v0.7.0
func (a *ACSCallEndReasonProperties) UnmarshalJSON(data []byte) error
UnmarshalJSON implements the json.Unmarshaller interface for type ACSCallEndReasonProperties.
type ACSCallEndedByKind ¶ added in v0.7.0
type ACSCallEndedByKind string
ACSCallEndedByKind - Call ended participant kind.
const ( // ACSCallEndedByKindMicrosoftInternal - MicrosoftInternal ACSCallEndedByKindMicrosoftInternal ACSCallEndedByKind = "MicrosoftInternal" // ACSCallEndedByKindParticipant - Participant ACSCallEndedByKindParticipant ACSCallEndedByKind = "Participant" )
func PossibleACSCallEndedByKindValues ¶ added in v0.7.0
func PossibleACSCallEndedByKindValues() []ACSCallEndedByKind
PossibleACSCallEndedByKindValues returns the possible values for the ACSCallEndedByKind const type.
type ACSCallEndedByProperties ¶ added in v0.7.0
type ACSCallEndedByProperties struct {
// REQUIRED; The communication identifier of the call ended by
CommunicationIdentifier *CommunicationIdentifierModel
// REQUIRED; The type of call ended by.
Kind *ACSCallEndedByKind
// REQUIRED; The name of the call ended by.
Name *string
}
ACSCallEndedByProperties - Schema of calling event ended by properties
func (ACSCallEndedByProperties) MarshalJSON ¶ added in v0.7.0
func (a ACSCallEndedByProperties) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type ACSCallEndedByProperties.
func (*ACSCallEndedByProperties) UnmarshalJSON ¶ added in v0.7.0
func (a *ACSCallEndedByProperties) UnmarshalJSON(data []byte) error
UnmarshalJSON implements the json.Unmarshaller interface for type ACSCallEndedByProperties.
type ACSCallEndedEventData ¶ added in v0.7.0
type ACSCallEndedEventData struct {
// REQUIRED; The correlationId of calling event
CorrelationID *string
// REQUIRED; The call id of the server
ServerCallID *string
// REQUIRED; The call participant who initiated the call.
StartedBy *ACSCallParticipantProperties
// Duration of the call in seconds.
CallDurationInSeconds *float64
// The communication identifier of the user who was disconnected
EndedBy *ACSCallEndedByProperties
// The group metadata
Group *ACSCallGroupProperties
// Is the calling event a room call.
IsRoomsCall *bool
// Is two-party in calling event.
IsTwoParty *bool
// The reason for ending the call.
Reason *ACSCallEndReasonProperties
// The room metadata
Room *ACSCallRoomProperties
}
ACSCallEndedEventData - Schema of the Data property of an EventGridEvent for a Microsoft.Communication.CallEnded event.
func (ACSCallEndedEventData) MarshalJSON ¶ added in v0.7.0
func (a ACSCallEndedEventData) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type ACSCallEndedEventData.
func (*ACSCallEndedEventData) UnmarshalJSON ¶ added in v0.7.0
func (a *ACSCallEndedEventData) UnmarshalJSON(data []byte) error
UnmarshalJSON implements the json.Unmarshaller interface for type ACSCallEndedEventData.
type ACSCallGroupProperties ¶ added in v0.7.0
type ACSCallGroupProperties struct {
// Group Id.
ID *string
}
ACSCallGroupProperties - Schema of calling event group properties
func (ACSCallGroupProperties) MarshalJSON ¶ added in v0.7.0
func (a ACSCallGroupProperties) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type ACSCallGroupProperties.
func (*ACSCallGroupProperties) UnmarshalJSON ¶ added in v0.7.0
func (a *ACSCallGroupProperties) UnmarshalJSON(data []byte) error
UnmarshalJSON implements the json.Unmarshaller interface for type ACSCallGroupProperties.
type ACSCallParticipantAddedEventData ¶ added in v0.7.0
type ACSCallParticipantAddedEventData struct {
// REQUIRED; The correlationId of calling event
CorrelationID *string
// REQUIRED; The call id of the server
ServerCallID *string
// REQUIRED; The call participant who initiated the call.
StartedBy *ACSCallParticipantProperties
// The display name of the participant.
DisplayName *string
// The group metadata
Group *ACSCallGroupProperties
// Is the calling event a room call.
IsRoomsCall *bool
// Is two-party in calling event.
IsTwoParty *bool
// The id of the participant.
ParticipantID *string
// The room metadata
Room *ACSCallRoomProperties
// The user of the call participant
User *ACSCallParticipantProperties
// The user agent of the participant.
UserAgent *string
}
ACSCallParticipantAddedEventData - Schema of the Data property of an EventGridEvent for a Microsoft.Communication.CallParticipantAdded event.
func (ACSCallParticipantAddedEventData) MarshalJSON ¶ added in v0.7.0
func (a ACSCallParticipantAddedEventData) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type ACSCallParticipantAddedEventData.
func (*ACSCallParticipantAddedEventData) UnmarshalJSON ¶ added in v0.7.0
func (a *ACSCallParticipantAddedEventData) UnmarshalJSON(data []byte) error
UnmarshalJSON implements the json.Unmarshaller interface for type ACSCallParticipantAddedEventData.
type ACSCallParticipantProperties ¶ added in v0.7.0
type ACSCallParticipantProperties struct {
// The communication identifier of the participant user
CommunicationIdentifier *CommunicationIdentifierModel
// The role of the participant
Role *ACSCallParticipantRoleKind
}
ACSCallParticipantProperties - Schema of common properties of all participant event user
func (ACSCallParticipantProperties) MarshalJSON ¶ added in v0.7.0
func (a ACSCallParticipantProperties) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type ACSCallParticipantProperties.
func (*ACSCallParticipantProperties) UnmarshalJSON ¶ added in v0.7.0
func (a *ACSCallParticipantProperties) UnmarshalJSON(data []byte) error
UnmarshalJSON implements the json.Unmarshaller interface for type ACSCallParticipantProperties.
type ACSCallParticipantRemovedEventData ¶ added in v0.7.0
type ACSCallParticipantRemovedEventData struct {
// REQUIRED; The correlationId of calling event
CorrelationID *string
// REQUIRED; The call id of the server
ServerCallID *string
// REQUIRED; The call participant who initiated the call.
StartedBy *ACSCallParticipantProperties
// The display name of the participant.
DisplayName *string
// The group metadata
Group *ACSCallGroupProperties
// Is the calling event a room call.
IsRoomsCall *bool
// Is two-party in calling event.
IsTwoParty *bool
// The id of the participant.
ParticipantID *string
// The room metadata
Room *ACSCallRoomProperties
// The user of the call participant
User *ACSCallParticipantProperties
// The user agent of the participant.
UserAgent *string
}
ACSCallParticipantRemovedEventData - Schema of the Data property of an EventGridEvent for a Microsoft.Communication.CallParticipantRemoved event.
func (ACSCallParticipantRemovedEventData) MarshalJSON ¶ added in v0.7.0
func (a ACSCallParticipantRemovedEventData) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type ACSCallParticipantRemovedEventData.
func (*ACSCallParticipantRemovedEventData) UnmarshalJSON ¶ added in v0.7.0
func (a *ACSCallParticipantRemovedEventData) UnmarshalJSON(data []byte) error
UnmarshalJSON implements the json.Unmarshaller interface for type ACSCallParticipantRemovedEventData.
type ACSCallParticipantRoleKind ¶ added in v0.7.0
type ACSCallParticipantRoleKind string
ACSCallParticipantRoleKind - Call participant kind.
const ( // ACSCallParticipantRoleKindAttendee - Attendee ACSCallParticipantRoleKindAttendee ACSCallParticipantRoleKind = "Attendee" // ACSCallParticipantRoleKindCollaborator - Collaborator ACSCallParticipantRoleKindCollaborator ACSCallParticipantRoleKind = "Collaborator" // ACSCallParticipantRoleKindConsumer - Consumer ACSCallParticipantRoleKindConsumer ACSCallParticipantRoleKind = "Consumer" // ACSCallParticipantRoleKindOrganizer - Organizer ACSCallParticipantRoleKindOrganizer ACSCallParticipantRoleKind = "Organizer" // ACSCallParticipantRoleKindPresenter - Presenter ACSCallParticipantRoleKindPresenter ACSCallParticipantRoleKind = "Presenter" )
func PossibleACSCallParticipantRoleKindValues ¶ added in v0.7.0
func PossibleACSCallParticipantRoleKindValues() []ACSCallParticipantRoleKind
PossibleACSCallParticipantRoleKindValues returns the possible values for the ACSCallParticipantRoleKind const type.
type ACSCallRoomProperties ¶ added in v0.7.0
type ACSCallRoomProperties struct {
// Room Id.
ID *string
}
ACSCallRoomProperties - Schema of calling event room properties
func (ACSCallRoomProperties) MarshalJSON ¶ added in v0.7.0
func (a ACSCallRoomProperties) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type ACSCallRoomProperties.
func (*ACSCallRoomProperties) UnmarshalJSON ¶ added in v0.7.0
func (a *ACSCallRoomProperties) UnmarshalJSON(data []byte) error
UnmarshalJSON implements the json.Unmarshaller interface for type ACSCallRoomProperties.
type ACSCallStartedEventData ¶ added in v0.7.0
type ACSCallStartedEventData struct {
// REQUIRED; The correlationId of calling event
CorrelationID *string
// REQUIRED; The call id of the server
ServerCallID *string
// REQUIRED; The call participant who initiated the call.
StartedBy *ACSCallParticipantProperties
// The group metadata
Group *ACSCallGroupProperties
// Is the calling event a room call.
IsRoomsCall *bool
// Is two-party in calling event.
IsTwoParty *bool
// The room metadata
Room *ACSCallRoomProperties
}
ACSCallStartedEventData - Schema of the Data property of an EventGridEvent for a Microsoft.Communication.CallStarted event.
func (ACSCallStartedEventData) MarshalJSON ¶ added in v0.7.0
func (a ACSCallStartedEventData) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type ACSCallStartedEventData.
func (*ACSCallStartedEventData) UnmarshalJSON ¶ added in v0.7.0
func (a *ACSCallStartedEventData) UnmarshalJSON(data []byte) error
UnmarshalJSON implements the json.Unmarshaller interface for type ACSCallStartedEventData.
type ACSCallingEventProperties ¶ added in v0.7.0
type ACSCallingEventProperties struct {
// REQUIRED; The correlationId of calling event
CorrelationID *string
// REQUIRED; The call id of the server
ServerCallID *string
// REQUIRED; The call participant who initiated the call.
StartedBy *ACSCallParticipantProperties
// The group metadata
Group *ACSCallGroupProperties
// Is the calling event a room call.
IsRoomsCall *bool
// Is two-party in calling event.
IsTwoParty *bool
// The room metadata
Room *ACSCallRoomProperties
}
ACSCallingEventProperties - Schema of common properties of all calling events
func (ACSCallingEventProperties) MarshalJSON ¶ added in v0.7.0
func (a ACSCallingEventProperties) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type ACSCallingEventProperties.
func (*ACSCallingEventProperties) UnmarshalJSON ¶ added in v0.7.0
func (a *ACSCallingEventProperties) UnmarshalJSON(data []byte) error
UnmarshalJSON implements the json.Unmarshaller interface for type ACSCallingEventProperties.
type ACSChatAzureBotCommandReceivedInThreadEventData ¶ added in v0.7.0
type ACSChatAzureBotCommandReceivedInThreadEventData struct {
// REQUIRED; The original compose time of the message
ComposeTime *time.Time
// REQUIRED; The body of the chat message
MessageBody *string
// REQUIRED; The chat message id
MessageID *string
// REQUIRED; The communication identifier of the sender
SenderCommunicationIdentifier *CommunicationIdentifierModel
// REQUIRED; The chat thread id
ThreadID *string
// REQUIRED; The type of the message
Type *string
// REQUIRED; The version of the message
Version *int64
// The chat message metadata
Metadata map[string]*string
// The display name of the sender
SenderDisplayName *string
// The transaction id will be used as co-relation vector
TransactionID *string
}
ACSChatAzureBotCommandReceivedInThreadEventData - Schema of the Data property of an EventGridEvent for a Microsoft.Communication.ChatAzureBotCommandReceivedInThread event.
func (ACSChatAzureBotCommandReceivedInThreadEventData) MarshalJSON ¶ added in v0.7.0
func (a ACSChatAzureBotCommandReceivedInThreadEventData) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type ACSChatAzureBotCommandReceivedInThreadEventData.
func (*ACSChatAzureBotCommandReceivedInThreadEventData) UnmarshalJSON ¶ added in v0.7.0
func (a *ACSChatAzureBotCommandReceivedInThreadEventData) UnmarshalJSON(data []byte) error
UnmarshalJSON implements the json.Unmarshaller interface for type ACSChatAzureBotCommandReceivedInThreadEventData.
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 chat message id
MessageID *string
// REQUIRED; The communication identifier of the target user
RecipientCommunicationIdentifier *CommunicationIdentifierModel
// REQUIRED; The communication identifier of the sender
SenderCommunicationIdentifier *CommunicationIdentifierModel
// REQUIRED; The chat thread id
ThreadID *string
// REQUIRED; The type of the message
Type *string
// REQUIRED; The version of the message
Version *int64
// The display name of the sender
SenderDisplayName *string
// The transaction id will be used as co-relation vector
TransactionID *string
}
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 chat message id
MessageID *string
// REQUIRED; The communication identifier of the sender
SenderCommunicationIdentifier *CommunicationIdentifierModel
// REQUIRED; The chat thread id
ThreadID *string
// REQUIRED; The type of the message
Type *string
// REQUIRED; The version of the message
Version *int64
// The display name of the sender
SenderDisplayName *string
// The transaction id will be used as co-relation vector
TransactionID *string
}
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 body of the chat message
MessageBody *string
// REQUIRED; The chat message id
MessageID *string
// REQUIRED; The communication identifier of the target user
RecipientCommunicationIdentifier *CommunicationIdentifierModel
// REQUIRED; The communication identifier of the sender
SenderCommunicationIdentifier *CommunicationIdentifierModel
// REQUIRED; The chat thread id
ThreadID *string
// REQUIRED; The type of the message
Type *string
// REQUIRED; The version of the message
Version *int64
// The chat message metadata
Metadata map[string]*string
// The display name of the sender
SenderDisplayName *string
// The transaction id will be used as co-relation vector
TransactionID *string
}
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 body of the chat message
MessageBody *string
// REQUIRED; The chat message id
MessageID *string
// REQUIRED; The communication identifier of the sender
SenderCommunicationIdentifier *CommunicationIdentifierModel
// REQUIRED; The chat thread id
ThreadID *string
// REQUIRED; The type of the message
Type *string
// REQUIRED; The version of the message
Version *int64
// The chat message metadata
Metadata map[string]*string
// The display name of the sender
SenderDisplayName *string
// The transaction id will be used as co-relation vector
TransactionID *string
}
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 body of the chat message
MessageBody *string
// REQUIRED; The chat message id
MessageID *string
// REQUIRED; The communication identifier of the target user
RecipientCommunicationIdentifier *CommunicationIdentifierModel
// REQUIRED; The communication identifier of the sender
SenderCommunicationIdentifier *CommunicationIdentifierModel
// REQUIRED; The chat thread id
ThreadID *string
// REQUIRED; The type of the message
Type *string
// REQUIRED; The version of the message
Version *int64
// The chat message metadata
Metadata map[string]*string
// The display name of the sender
SenderDisplayName *string
// The transaction id will be used as co-relation vector
TransactionID *string
}
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 body of the chat message
MessageBody *string
// REQUIRED; The chat message id
MessageID *string
// REQUIRED; The communication identifier of the sender
SenderCommunicationIdentifier *CommunicationIdentifierModel
// REQUIRED; The chat thread id
ThreadID *string
// REQUIRED; The type of the message
Type *string
// REQUIRED; The version of the message
Version *int64
// The chat message metadata
Metadata map[string]*string
// The display name of the sender
SenderDisplayName *string
// The transaction id will be used as co-relation vector
TransactionID *string
}
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 chat thread id
ThreadID *string
// REQUIRED; The time at which the user was added to the thread
Time *time.Time
// The transaction id will be used as co-relation vector
TransactionID *string
// The version of the thread
Version *int64
}
ACSChatParticipantAddedToThreadEventData - Schema of the Data property of an EventGridEvent for a Microsoft.Communication.ChatThreadParticipantAdded event.
func (ACSChatParticipantAddedToThreadEventData) MarshalJSON ¶
func (a ACSChatParticipantAddedToThreadEventData) MarshalJSON() ([]byte, error)
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 chat thread id
ThreadID *string
// REQUIRED; The time at which the user was added to the thread
Time *time.Time
// The transaction id will be used as co-relation vector
TransactionID *string
// The version of the thread
Version *int64
}
ACSChatParticipantAddedToThreadWithUserEventData - Schema of the Data property of an EventGridEvent for a Microsoft.Communication.ChatParticipantAddedToThreadWithUser event.
func (ACSChatParticipantAddedToThreadWithUserEventData) MarshalJSON ¶
func (a ACSChatParticipantAddedToThreadWithUserEventData) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type ACSChatParticipantAddedToThreadWithUserEventData.
func (*ACSChatParticipantAddedToThreadWithUserEventData) UnmarshalJSON ¶
func (a *ACSChatParticipantAddedToThreadWithUserEventData) UnmarshalJSON(data []byte) error
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 chat thread id
ThreadID *string
// REQUIRED; The time at which the user was removed to the thread
Time *time.Time
// The transaction id will be used as co-relation vector
TransactionID *string
// The version of the thread
Version *int64
}
ACSChatParticipantRemovedFromThreadEventData - Schema of the Data property of an EventGridEvent for a Microsoft.Communication.ChatThreadParticipantRemoved event.
func (ACSChatParticipantRemovedFromThreadEventData) MarshalJSON ¶
func (a ACSChatParticipantRemovedFromThreadEventData) MarshalJSON() ([]byte, error)
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 chat thread id
ThreadID *string
// REQUIRED; The time at which the user was removed to the thread
Time *time.Time
// The transaction id will be used as co-relation vector
TransactionID *string
// The version of the thread
Version *int64
}
ACSChatParticipantRemovedFromThreadWithUserEventData - Schema of the Data property of an EventGridEvent for a Microsoft.Communication.ChatParticipantRemovedFromThreadWithUser event.
func (ACSChatParticipantRemovedFromThreadWithUserEventData) MarshalJSON ¶
func (a ACSChatParticipantRemovedFromThreadWithUserEventData) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type ACSChatParticipantRemovedFromThreadWithUserEventData.
func (*ACSChatParticipantRemovedFromThreadWithUserEventData) UnmarshalJSON ¶
func (a *ACSChatParticipantRemovedFromThreadWithUserEventData) UnmarshalJSON(data []byte) error
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 properties
Properties map[string]any
// REQUIRED; The chat thread id
ThreadID *string
// READ-ONLY; The list of properties of participants who are part of the thread
Participants []ACSChatThreadParticipantProperties
// The thread metadata
Metadata map[string]*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 properties
Properties map[string]any
// REQUIRED; The communication identifier of the target user
RecipientCommunicationIdentifier *CommunicationIdentifierModel
// REQUIRED; 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
// READ-ONLY; The list of properties of participants who are part of the thread
Participants []ACSChatThreadParticipantProperties
// The thread metadata
Metadata map[string]*string
}
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
// REQUIRED; 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 communication identifier of the user
ParticipantCommunicationIdentifier *CommunicationIdentifierModel
// The name of the user
DisplayName *string
// The metadata of the user
Metadata map[string]*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
// REQUIRED; 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 updated thread properties
Properties map[string]any
// REQUIRED; The communication identifier of the target user
RecipientCommunicationIdentifier *CommunicationIdentifierModel
// REQUIRED; The chat thread id
ThreadID *string
// The thread metadata
Metadata map[string]*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 ¶
func (a ACSChatThreadPropertiesUpdatedPerUserEventData) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type ACSChatThreadPropertiesUpdatedPerUserEventData.
func (*ACSChatThreadPropertiesUpdatedPerUserEventData) UnmarshalJSON ¶
func (a *ACSChatThreadPropertiesUpdatedPerUserEventData) UnmarshalJSON(data []byte) error
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
// REQUIRED; 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 ACSChatTypingIndicatorReceivedInThreadEventData ¶ added in v0.7.0
type ACSChatTypingIndicatorReceivedInThreadEventData struct {
// REQUIRED; The original compose time of the message
ComposeTime *time.Time
// REQUIRED; The body of the chat message
MessageBody *string
// REQUIRED; The chat message id
MessageID *string
// REQUIRED; The communication identifier of the sender
SenderCommunicationIdentifier *CommunicationIdentifierModel
// REQUIRED; The chat thread id
ThreadID *string
// REQUIRED; The type of the message
Type *string
// REQUIRED; The version of the message
Version *int64
// The chat message metadata
Metadata map[string]*string
// The display name of the sender
SenderDisplayName *string
// The transaction id will be used as co-relation vector
TransactionID *string
}
ACSChatTypingIndicatorReceivedInThreadEventData - Schema of the Data property of an EventGridEvent for a Microsoft.Communication.ChatTypingIndicatorReceivedInThread event.
func (ACSChatTypingIndicatorReceivedInThreadEventData) MarshalJSON ¶ added in v0.7.0
func (a ACSChatTypingIndicatorReceivedInThreadEventData) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type ACSChatTypingIndicatorReceivedInThreadEventData.
func (*ACSChatTypingIndicatorReceivedInThreadEventData) UnmarshalJSON ¶ added in v0.7.0
func (a *ACSChatTypingIndicatorReceivedInThreadEventData) UnmarshalJSON(data []byte) error
UnmarshalJSON implements the json.Unmarshaller interface for type ACSChatTypingIndicatorReceivedInThreadEventData.
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 Internet Message Id of the email that has been sent
InternetMessageID *string
// REQUIRED; The recipient Email Address
Recipient *string
// REQUIRED; The Sender Email Address
Sender *string
// REQUIRED; The status of the email. Any value other than Delivered is considered failed.
Status *ACSEmailDeliveryReportStatus
// The Id of the email that has been sent
MessageID *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 {
// Recipient mail server host name
RecipientMailServerHostName *string
// 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 ¶
func (a ACSEmailEngagementTrackingReportReceivedEventData) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type ACSEmailEngagementTrackingReportReceivedEventData.
func (*ACSEmailEngagementTrackingReportReceivedEventData) UnmarshalJSON ¶
func (a *ACSEmailEngagementTrackingReportReceivedEventData) UnmarshalJSON(data []byte) error
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 message sender
From *string
// REQUIRED; The time message was received
ReceivedTimestamp *time.Time
// REQUIRED; The updated message status
Status *ACSMessageDeliveryStatus
// REQUIRED; The message recipient
To *string
// The channel event error
Error *Error
// The message id
MessageID *string
}
ACSMessageDeliveryStatusUpdatedEventData - Schema of the Data property of an EventGridEvent for a Microsoft.Communication.AdvancedMessageDeliveryStatusUpdated event.
func (ACSMessageDeliveryStatusUpdatedEventData) MarshalJSON ¶ added in v0.4.0
func (a ACSMessageDeliveryStatusUpdatedEventData) MarshalJSON() ([]byte, error)
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 interactive reply type
ReplyKind *ACSInteractiveReplyKind
// The Message Sent when a customer clicks a button
ButtonReply *ACSMessageInteractiveButtonReplyContent
// The Message Sent when a customer selects an item from a list
ListReply *ACSMessageInteractiveListReplyContent
}
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 {
// REQUIRED; Required. The media identifier
MediaID *string
// REQUIRED; Required. The MIME type of the file this media represents
MimeType *string
// Optional. Set to true if the sticker is animated; false otherwise.
Animated *bool
// Optional. The caption for the media object, if supported and provided
Caption *string
// Optional. The filename of the underlying media file as specified when uploaded
FileName *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 ACSMessageReactionContent ¶ added in v0.6.1
type ACSMessageReactionContent struct {
// REQUIRED; Required. WhatsApp message ID of the message that the emoji is applied to
MessageID *string
// Optional. Unicode escape sequence of the emoji.
Emoji *string
}
ACSMessageReactionContent - Message Reaction Content
func (ACSMessageReactionContent) MarshalJSON ¶ added in v0.6.1
func (a ACSMessageReactionContent) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type ACSMessageReactionContent.
func (*ACSMessageReactionContent) UnmarshalJSON ¶ added in v0.6.1
func (a *ACSMessageReactionContent) UnmarshalJSON(data []byte) error
UnmarshalJSON implements the json.Unmarshaller interface for type ACSMessageReactionContent.
type ACSMessageReceivedEventData ¶ added in v0.4.0
type ACSMessageReceivedEventData struct {
// REQUIRED; Required. The message channel type
ChannelKind *ACSMessageChannelKind
// REQUIRED; The message sender
From *string
// REQUIRED; Required. Whatsapp message type
MessageType *string
// REQUIRED; The time message was received
ReceivedTimestamp *time.Time
// REQUIRED; The message recipient
To *string
// Optional. The received message button content
Button *ACSMessageButtonContent
// Optional. The message content
Content *string
// Optional. The received message context
Context *ACSMessageContext
// The channel event error
Error *Error
// Optional. The received message interactive content
InteractiveContent *ACSMessageInteractiveContent
// Optional. The received message media content
MediaContent *ACSMessageMediaContent
// Optional. Message ID. Format is Guid as string.
MessageID *string
// Optional. The received message reaction content
Reaction *ACSMessageReactionContent
}
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 ACSRecordingChannelType ¶ added in v1.0.0
type ACSRecordingChannelType string
ACSRecordingChannelType - Recording channel type
const ( // ACSRecordingChannelTypeMixed - Mixed channel type ACSRecordingChannelTypeMixed ACSRecordingChannelType = "Mixed" // ACSRecordingChannelTypeUnmixed - Unmixed channel type ACSRecordingChannelTypeUnmixed ACSRecordingChannelType = "Unmixed" )
func PossibleACSRecordingChannelTypeValues ¶ added in v1.0.0
func PossibleACSRecordingChannelTypeValues() []ACSRecordingChannelType
PossibleACSRecordingChannelTypeValues returns the possible values for the ACSRecordingChannelType const type.
type ACSRecordingChunkInfoProperties ¶
type ACSRecordingChunkInfoProperties struct {
// The location of the content for this chunk
ContentLocation *string
// The location to delete all chunk storage
DeleteLocation *string
// The documentId of the recording chunk
DocumentID *string
// The reason for ending the recording chunk
EndReason *string
// The index of the recording chunk
Index *int64
// The location of the metadata for this chunk
MetadataLocation *string
}
ACSRecordingChunkInfoProperties - Schema for all properties of Recording Chunk Information.
func (ACSRecordingChunkInfoProperties) MarshalJSON ¶
func (a ACSRecordingChunkInfoProperties) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type ACSRecordingChunkInfoProperties.
func (*ACSRecordingChunkInfoProperties) UnmarshalJSON ¶
func (a *ACSRecordingChunkInfoProperties) UnmarshalJSON(data []byte) error
UnmarshalJSON implements the json.Unmarshaller interface for type ACSRecordingChunkInfoProperties.
type ACSRecordingContentType ¶ added in v1.0.0
type ACSRecordingContentType string
ACSRecordingContentType - Recording content type
const ( // ACSRecordingContentTypeAudio - Audio content type ACSRecordingContentTypeAudio ACSRecordingContentType = "Audio" // ACSRecordingContentTypeAudioVideo - AudioVideo content type ACSRecordingContentTypeAudioVideo ACSRecordingContentType = "AudioVideo" )
func PossibleACSRecordingContentTypeValues ¶ added in v1.0.0
func PossibleACSRecordingContentTypeValues() []ACSRecordingContentType
PossibleACSRecordingContentTypeValues returns the possible values for the ACSRecordingContentType const type.
type ACSRecordingFileStatusUpdatedEventData ¶
type ACSRecordingFileStatusUpdatedEventData struct {
// REQUIRED; The recording channel type - Mixed, Unmixed
RecordingChannelType *ACSRecordingChannelType
// REQUIRED; The recording content type- AudioVideo, or Audio
RecordingContentType *ACSRecordingContentType
// REQUIRED; The recording format type - Mp4, Mp3, Wav
RecordingFormatType *ACSRecordingFormatType
// 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 ACSRecordingFormatType ¶ added in v1.0.0
type ACSRecordingFormatType string
ACSRecordingFormatType - Recording format type
const ( // ACSRecordingFormatTypeMP3 - MP3 format ACSRecordingFormatTypeMP3 ACSRecordingFormatType = "Mp3" // ACSRecordingFormatTypeMP4 - MP4 format ACSRecordingFormatTypeMP4 ACSRecordingFormatType = "Mp4" // ACSRecordingFormatTypeWav - WAV format ACSRecordingFormatTypeWav ACSRecordingFormatType = "Wav" )
func PossibleACSRecordingFormatTypeValues ¶ added in v1.0.0
func PossibleACSRecordingFormatTypeValues() []ACSRecordingFormatType
PossibleACSRecordingFormatTypeValues returns the possible values for the ACSRecordingFormatType const type.
type ACSRecordingStorageInfoProperties ¶
type ACSRecordingStorageInfoProperties struct {
// READ-ONLY; 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 Event Job ID
JobID *string
// 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 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 Event Job ID
JobID *string
// REQUIRED; Router Job events Labels
Labels map[string]*string
// REQUIRED; Router Jobs events Tags
Tags map[string]*string
// READ-ONLY; Router Job Classification Failed Errors
Errors []*Error
// Router Event Channel ID
ChannelID *string
// Router Event Channel Reference
ChannelReference *string
// Router Job Classification Policy Id
ClassificationPolicyID *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 ¶
func (a ACSRouterJobClassificationFailedEventData) MarshalJSON() ([]byte, error)
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 Event Job ID
JobID *string
// 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 Job Priority
Priority *int32
// Router Job events Queue Id
QueueID *string
// READ-ONLY; Router Job Attached Worker Selector
AttachedWorkerSelectors []ACSRouterWorkerSelector
}
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 Event Job ID
JobID *string
// 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 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 Event Job ID
JobID *string
// 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 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 Event Job ID
JobID *string
// 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 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 Event Job ID
JobID *string
// 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 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 Event Job ID
JobID *string
// REQUIRED; Router Job events Labels
Labels map[string]*string
// REQUIRED; Router Job Priority
Priority *int32
// REQUIRED; Router Jobs events Tags
Tags map[string]*string
// READ-ONLY; Router Job Queued Requested Worker Selector
RequestedWorkerSelectors []ACSRouterWorkerSelector
// Router Event Channel ID
ChannelID *string
// Router Event Channel Reference
ChannelReference *string
// Router Job events Queue Id
QueueID *string
// READ-ONLY; Router Job Queued Attached Worker Selector
AttachedWorkerSelectors []ACSRouterWorkerSelector
}
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 Event Job ID
JobID *string
// REQUIRED; Router Job Received Job Status
JobStatus *ACSRouterJobStatus
// REQUIRED; Router Job events Labels
Labels map[string]*string
// REQUIRED; Router Job Received Scheduled Time in UTC
ScheduledOn *time.Time
// REQUIRED; Router Jobs events Tags
Tags map[string]*string
UnavailableForMatching *bool
// READ-ONLY; Router Job Received Requested Worker Selectors
RequestedWorkerSelectors []ACSRouterWorkerSelector
// Router Event Channel ID
ChannelID *string
// Router Event Channel Reference
ChannelReference *string
// Router Job Classification Policy Id
ClassificationPolicyID *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 Event Job ID
JobID *string
// REQUIRED; Router Job events Labels
Labels map[string]*string
// REQUIRED; Router Job Priority
Priority *int32
// REQUIRED; Router Job Scheduling Failed Scheduled Time in UTC
ScheduledOn *time.Time
// REQUIRED; Router Jobs events Tags
Tags map[string]*string
// Router Job events Queue Id
QueueID *string
// READ-ONLY; Router Job Scheduling Failed Attached Worker Selector Expired
ExpiredAttachedWorkerSelectors []ACSRouterWorkerSelector
// READ-ONLY; Router Job Scheduling Failed Requested Worker Selector Expired
ExpiredRequestedWorkerSelectors []ACSRouterWorkerSelector
// Router Event Channel ID
ChannelID *string
// Router Event Channel Reference
ChannelReference *string
// Router Job Scheduling Failed Reason
FailureReason *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 Event Job ID
JobID *string
// 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 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 Event Job ID
JobID *string
// REQUIRED; Router Job events Labels
Labels map[string]*string
// REQUIRED; Router Job Waiting For Activation Priority
Priority *int32
// REQUIRED; Router Job Waiting For Activation Scheduled Time in UTC
ScheduledOn *time.Time
// REQUIRED; Router Jobs events Tags
Tags map[string]*string
UnavailableForMatching *bool
// Router Job events Queue Id
QueueID *string
// READ-ONLY; Router Job Waiting For Activation Worker Selector Expired
ExpiredAttachedWorkerSelectors []ACSRouterWorkerSelector
// READ-ONLY; Router Job Waiting For Activation Requested Worker Selector Expired
ExpiredRequestedWorkerSelectors []ACSRouterWorkerSelector
// Router Event Channel ID
ChannelID *string
// Router Event Channel Reference
ChannelReference *string
}
ACSRouterJobWaitingForActivationEventData - Schema of the Data property of an EventGridEvent for a Microsoft.Communication.RouterJobWaitingForActivation event
func (ACSRouterJobWaitingForActivationEventData) MarshalJSON ¶
func (a ACSRouterJobWaitingForActivationEventData) MarshalJSON() ([]byte, error)
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 Event Job ID
JobID *string
// REQUIRED; Router Job events Labels
Labels map[string]*string
// REQUIRED; Router Jobs events Tags
Tags map[string]*string
// Router Job events Queue Id
QueueID *string
// READ-ONLY; Router Job Worker Selectors Expired Attached Worker Selectors
ExpiredAttachedWorkerSelectors []ACSRouterWorkerSelector
// READ-ONLY; Router Job Worker Selectors Expired Requested Worker Selectors
ExpiredRequestedWorkerSelectors []ACSRouterWorkerSelector
// Router Event Channel ID
ChannelID *string
// Router Event Channel Reference
ChannelReference *string
}
ACSRouterJobWorkerSelectorsExpiredEventData - Schema of the Data property of an EventGridEvent for a Microsoft.Communication.RouterJobWorkerSelectorsExpired event
func (ACSRouterJobWorkerSelectorsExpiredEventData) MarshalJSON ¶
func (a ACSRouterJobWorkerSelectorsExpiredEventData) MarshalJSON() ([]byte, error)
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 {
// REQUIRED; Router Event Job ID
JobID *string
// Router Event Channel ID
ChannelID *string
// Router Event Channel Reference
ChannelReference *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 Event Job ID
JobID *string
// 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 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 {
// REQUIRED; Router Event Job ID
JobID *string
// Router Event Channel ID
ChannelID *string
// Router Event Channel Reference
ChannelReference *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 {
// REQUIRED; Router Event Job ID
JobID *string
// Router Event Channel ID
ChannelID *string
// Router Event Channel Reference
ChannelReference *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 Event Job ID
JobID *string
// 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 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 {
// REQUIRED; Router Event Job ID
JobID *string
// Router Event Channel ID
ChannelID *string
// Router Event Channel Reference
ChannelReference *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 Labels
Labels map[string]*string
// REQUIRED; Router Worker Registered Tags
Tags map[string]*string
// Router Worker Register Total Capacity
TotalCapacity *int32
// Router Worker Registered Worker Id
WorkerID *string
// READ-ONLY; Router Worker Registered Channel Configuration
ChannelConfigurations []ACSRouterChannelConfiguration
// READ-ONLY; Router Worker Registered Queue Info
QueueAssignments []ACSRouterQueueDetails
}
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 Labels
Labels map[string]*string
// REQUIRED; Router Worker Updated Tags
Tags map[string]*string
// READ-ONLY; Router Worker Properties Updated
UpdatedWorkerProperties []ACSRouterUpdatedWorkerProperty
// Router Worker Updated Total Capacity
TotalCapacity *int32
// Router Worker Updated Worker Id
WorkerID *string
// READ-ONLY; Router Worker Updated Channel Configuration
ChannelConfigurations []ACSRouterChannelConfiguration
// READ-ONLY; Router Worker Updated Queue Info
QueueAssignments []ACSRouterQueueDetails
}
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 ¶ added in v0.6.0
type ACSSMSDeliveryAttemptProperties struct {
// REQUIRED; Number of segments whose delivery failed
SegmentsFailed *int32
// REQUIRED; Number of segments that were successfully delivered
SegmentsSucceeded *int32
// REQUIRED; TimeStamp when delivery was attempted
Timestamp *time.Time
}
ACSSMSDeliveryAttemptProperties - Schema for details of a delivery attempt
func (ACSSMSDeliveryAttemptProperties) MarshalJSON ¶ added in v0.6.0
func (a ACSSMSDeliveryAttemptProperties) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type ACSSMSDeliveryAttemptProperties.
func (*ACSSMSDeliveryAttemptProperties) UnmarshalJSON ¶ added in v0.6.0
func (a *ACSSMSDeliveryAttemptProperties) UnmarshalJSON(data []byte) error
UnmarshalJSON implements the json.Unmarshaller interface for type ACSSMSDeliveryAttemptProperties.
type ACSSMSDeliveryReportReceivedEventData ¶ added in v0.6.0
type ACSSMSDeliveryReportReceivedEventData struct {
// REQUIRED; Status of Delivery
DeliveryStatus *string
// REQUIRED; Details about Delivery Status
DeliveryStatusDetails *string
// REQUIRED; The identity of SMS message sender
From *string
// REQUIRED; The identity of the SMS message
MessageID *string
// REQUIRED; The time at which the SMS delivery report was received
ReceivedTimestamp *time.Time
// REQUIRED; The identity of SMS message receiver
To *string
// Customer Content
Tag *string
// READ-ONLY; List of details of delivery attempts made
DeliveryAttempts []ACSSMSDeliveryAttemptProperties
}
ACSSMSDeliveryReportReceivedEventData - Schema of the Data property of an EventGridEvent for a Microsoft.Communication.SMSDeliveryReportReceived event.
func (ACSSMSDeliveryReportReceivedEventData) MarshalJSON ¶ added in v0.6.0
func (a ACSSMSDeliveryReportReceivedEventData) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type ACSSMSDeliveryReportReceivedEventData.
func (*ACSSMSDeliveryReportReceivedEventData) UnmarshalJSON ¶ added in v0.6.0
func (a *ACSSMSDeliveryReportReceivedEventData) UnmarshalJSON(data []byte) error
UnmarshalJSON implements the json.Unmarshaller interface for type ACSSMSDeliveryReportReceivedEventData.
type ACSSMSReceivedEventData ¶ added in v0.6.0
type ACSSMSReceivedEventData struct {
// REQUIRED; The identity of SMS message sender
From *string
// REQUIRED; The SMS content
Message *string
// REQUIRED; The identity of the SMS message
MessageID *string
// REQUIRED; The time at which the SMS was received
ReceivedTimestamp *time.Time
// REQUIRED; Number of segments in the message
SegmentCount *int32
// REQUIRED; 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 ¶ added in v0.6.0
func (a ACSSMSReceivedEventData) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type ACSSMSReceivedEventData.
func (*ACSSMSReceivedEventData) UnmarshalJSON ¶ added in v0.6.0
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 title.
Title *string
// API definition description.
Description *string
// API definition specification.
Specification *APICenterAPISpecification
}
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 title.
Title *string
// API definition description.
Description *string
// API definition specification.
Specification *APICenterAPISpecification
}
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 {
// REQUIRED; 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 APIManagementCircuitBreakerClosedEventData ¶ added in v0.7.0
type APIManagementCircuitBreakerClosedEventData struct {
// REQUIRED; Name of the backend for which the circuit has closed.
BackendName *string
// REQUIRED; Information related to the circuit breaker configured on the backend.
CircuitBreaker *APIManagementCircuitBreakerProperties
}
APIManagementCircuitBreakerClosedEventData - Schema of the Data property of an EventGridEvent for a Microsoft.ApiManagement.CircuitBreaker.Closed event.
func (APIManagementCircuitBreakerClosedEventData) MarshalJSON ¶ added in v0.7.0
func (a APIManagementCircuitBreakerClosedEventData) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type APIManagementCircuitBreakerClosedEventData.
func (*APIManagementCircuitBreakerClosedEventData) UnmarshalJSON ¶ added in v0.7.0
func (a *APIManagementCircuitBreakerClosedEventData) UnmarshalJSON(data []byte) error
UnmarshalJSON implements the json.Unmarshaller interface for type APIManagementCircuitBreakerClosedEventData.
type APIManagementCircuitBreakerOpenedEventData ¶ added in v0.7.0
type APIManagementCircuitBreakerOpenedEventData struct {
// REQUIRED; Name of the backend for which the circuit has opened.
BackendName *string
// REQUIRED; Information related to the circuit breaker configured on the backend.
CircuitBreaker *APIManagementCircuitBreakerProperties
}
APIManagementCircuitBreakerOpenedEventData - Schema of the Data property of an EventGridEvent for a Microsoft.ApiManagement.CircuitBreaker.Opened event.
func (APIManagementCircuitBreakerOpenedEventData) MarshalJSON ¶ added in v0.7.0
func (a APIManagementCircuitBreakerOpenedEventData) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type APIManagementCircuitBreakerOpenedEventData.
func (*APIManagementCircuitBreakerOpenedEventData) UnmarshalJSON ¶ added in v0.7.0
func (a *APIManagementCircuitBreakerOpenedEventData) UnmarshalJSON(data []byte) error
UnmarshalJSON implements the json.Unmarshaller interface for type APIManagementCircuitBreakerOpenedEventData.
type APIManagementCircuitBreakerProperties ¶ added in v0.7.0
type APIManagementCircuitBreakerProperties struct {
// REQUIRED; Overview of all configured rules and respective details.
Rules map[string]map[string]any
}
APIManagementCircuitBreakerProperties - Information related to the circuit breaker configured on the backend.
func (APIManagementCircuitBreakerProperties) MarshalJSON ¶ added in v0.7.0
func (a APIManagementCircuitBreakerProperties) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type APIManagementCircuitBreakerProperties.
func (*APIManagementCircuitBreakerProperties) UnmarshalJSON ¶ added in v0.7.0
func (a *APIManagementCircuitBreakerProperties) UnmarshalJSON(data []byte) error
UnmarshalJSON implements the json.Unmarshaller interface for type APIManagementCircuitBreakerProperties.
type APIManagementExpiredGatewayTokenProperties ¶ added in v0.7.0
type APIManagementExpiredGatewayTokenProperties struct {
// REQUIRED; Timestamp when the gateway token has expired.
ExpiresOn *time.Time
}
APIManagementExpiredGatewayTokenProperties - Information related to a gateway token that has expired for a self-hosted gateway deployment.
func (APIManagementExpiredGatewayTokenProperties) MarshalJSON ¶ added in v0.7.0
func (a APIManagementExpiredGatewayTokenProperties) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type APIManagementExpiredGatewayTokenProperties.
func (*APIManagementExpiredGatewayTokenProperties) UnmarshalJSON ¶ added in v0.7.0
func (a *APIManagementExpiredGatewayTokenProperties) UnmarshalJSON(data []byte) error
UnmarshalJSON implements the json.Unmarshaller interface for type APIManagementExpiredGatewayTokenProperties.
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 ¶
func (a APIManagementGatewayCertificateAuthorityCreatedEventData) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type APIManagementGatewayCertificateAuthorityCreatedEventData.
func (*APIManagementGatewayCertificateAuthorityCreatedEventData) UnmarshalJSON ¶
func (a *APIManagementGatewayCertificateAuthorityCreatedEventData) UnmarshalJSON(data []byte) error
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 ¶
func (a APIManagementGatewayCertificateAuthorityDeletedEventData) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type APIManagementGatewayCertificateAuthorityDeletedEventData.
func (*APIManagementGatewayCertificateAuthorityDeletedEventData) UnmarshalJSON ¶
func (a *APIManagementGatewayCertificateAuthorityDeletedEventData) UnmarshalJSON(data []byte) error
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 ¶
func (a APIManagementGatewayCertificateAuthorityUpdatedEventData) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type APIManagementGatewayCertificateAuthorityUpdatedEventData.
func (*APIManagementGatewayCertificateAuthorityUpdatedEventData) UnmarshalJSON ¶
func (a *APIManagementGatewayCertificateAuthorityUpdatedEventData) UnmarshalJSON(data []byte) error
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 ¶
func (a APIManagementGatewayHostnameConfigurationCreatedEventData) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type APIManagementGatewayHostnameConfigurationCreatedEventData.
func (*APIManagementGatewayHostnameConfigurationCreatedEventData) UnmarshalJSON ¶
func (a *APIManagementGatewayHostnameConfigurationCreatedEventData) UnmarshalJSON(data []byte) error
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 ¶
func (a APIManagementGatewayHostnameConfigurationDeletedEventData) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type APIManagementGatewayHostnameConfigurationDeletedEventData.
func (*APIManagementGatewayHostnameConfigurationDeletedEventData) UnmarshalJSON ¶
func (a *APIManagementGatewayHostnameConfigurationDeletedEventData) UnmarshalJSON(data []byte) error
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 ¶
func (a APIManagementGatewayHostnameConfigurationUpdatedEventData) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type APIManagementGatewayHostnameConfigurationUpdatedEventData.
func (*APIManagementGatewayHostnameConfigurationUpdatedEventData) UnmarshalJSON ¶
func (a *APIManagementGatewayHostnameConfigurationUpdatedEventData) UnmarshalJSON(data []byte) error
UnmarshalJSON implements the json.Unmarshaller interface for type APIManagementGatewayHostnameConfigurationUpdatedEventData.
type APIManagementGatewayProperties ¶ added in v0.7.0
type APIManagementGatewayProperties struct {
// REQUIRED; Id of Gateway that is used to deploy the gateway to get the configuration for. This is the ARM resource ID referenced
// in the Azure API Management instance. Uses the format, `/subscriptions/<SubscriptionID>/resourceGroups/<ResourceGroup>/Microsoft.ApiManagement/service/<ServiceName>/gateway/<GatewayName>`
GatewayID *string
// REQUIRED; Unique instance ID of the deployed gateway
InstanceID *string
}
APIManagementGatewayProperties - Information related to a given self-hosted gateway deployment.
func (APIManagementGatewayProperties) MarshalJSON ¶ added in v0.7.0
func (a APIManagementGatewayProperties) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type APIManagementGatewayProperties.
func (*APIManagementGatewayProperties) UnmarshalJSON ¶ added in v0.7.0
func (a *APIManagementGatewayProperties) UnmarshalJSON(data []byte) error
UnmarshalJSON implements the json.Unmarshaller interface for type APIManagementGatewayProperties.
type APIManagementGatewayTokenExpiredEventData ¶ added in v0.7.0
type APIManagementGatewayTokenExpiredEventData struct {
// REQUIRED; Information related to a given self-hosted gateway deployment.
Gateway *APIManagementGatewayProperties
// REQUIRED; Information related to a an expired gateway token for a self-hosted gateway deployment.
Token *APIManagementExpiredGatewayTokenProperties
}
APIManagementGatewayTokenExpiredEventData - Schema of the Data property of an EventGridEvent for a Microsoft.ApiManagement.GatewayTokenExpired event.
func (APIManagementGatewayTokenExpiredEventData) MarshalJSON ¶ added in v0.7.0
func (a APIManagementGatewayTokenExpiredEventData) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type APIManagementGatewayTokenExpiredEventData.
func (*APIManagementGatewayTokenExpiredEventData) UnmarshalJSON ¶ added in v0.7.0
func (a *APIManagementGatewayTokenExpiredEventData) UnmarshalJSON(data []byte) error
UnmarshalJSON implements the json.Unmarshaller interface for type APIManagementGatewayTokenExpiredEventData.
type APIManagementGatewayTokenNearExpiryEventData ¶ added in v0.7.0
type APIManagementGatewayTokenNearExpiryEventData struct {
// REQUIRED; Information related to a given self-hosted gateway deployment.
Gateway *APIManagementGatewayProperties
// REQUIRED; Information related to a an expired gateway token for a self-hosted gateway deployment.
Token *APIManagementNearExpiryGatewayTokenProperties
}
APIManagementGatewayTokenNearExpiryEventData - Schema of the Data property of an EventGridEvent for a Microsoft.ApiManagement.GatewayTokenNearExpiry event.
func (APIManagementGatewayTokenNearExpiryEventData) MarshalJSON ¶ added in v0.7.0
func (a APIManagementGatewayTokenNearExpiryEventData) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type APIManagementGatewayTokenNearExpiryEventData.
func (*APIManagementGatewayTokenNearExpiryEventData) UnmarshalJSON ¶ added in v0.7.0
func (a *APIManagementGatewayTokenNearExpiryEventData) UnmarshalJSON(data []byte) error
UnmarshalJSON implements the json.Unmarshaller interface for type APIManagementGatewayTokenNearExpiryEventData.
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 APIManagementNearExpiryGatewayTokenProperties ¶ added in v0.7.0
type APIManagementNearExpiryGatewayTokenProperties struct {
// REQUIRED; Timestamp when the gateway token will expire.
ExpiresOn *time.Time
}
APIManagementNearExpiryGatewayTokenProperties - Information related to a gateway token that is near expiry for a self-hosted gateway deployment.
func (APIManagementNearExpiryGatewayTokenProperties) MarshalJSON ¶ added in v0.7.0
func (a APIManagementNearExpiryGatewayTokenProperties) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type APIManagementNearExpiryGatewayTokenProperties.
func (*APIManagementNearExpiryGatewayTokenProperties) UnmarshalJSON ¶ added in v0.7.0
func (a *APIManagementNearExpiryGatewayTokenProperties) UnmarshalJSON(data []byte) error
UnmarshalJSON implements the json.Unmarshaller interface for type APIManagementNearExpiryGatewayTokenProperties.
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 ¶
func (a APIManagementSubscriptionCreatedEventData) MarshalJSON() ([]byte, error)
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 ¶
func (a APIManagementSubscriptionDeletedEventData) MarshalJSON() ([]byte, error)
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 ¶
func (a APIManagementSubscriptionUpdatedEventData) MarshalJSON() ([]byte, error)
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
// READ-ONLY; Hosts added to the cluster in this event, if any.
AddedHostNames []string
// READ-ONLY; Hosts in Maintenance mode in the cluster, if any.
InMaintenanceHostNames []string
// READ-ONLY; 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
// READ-ONLY; Hosts added to the cluster in this event, if any.
AddedHostNames []string
// READ-ONLY; Hosts in Maintenance mode in the cluster, if any.
InMaintenanceHostNames []string
// READ-ONLY; 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
// Failure reason of an event.
FailureMessage *string
// READ-ONLY; Hosts added to the cluster in this event, if any.
AddedHostNames []string
// READ-ONLY; Hosts in Maintenance mode in the cluster, if any.
InMaintenanceHostNames []string
// READ-ONLY; 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
// READ-ONLY; Hosts added to the cluster in this event, if any.
AddedHostNames []string
// READ-ONLY; Hosts in Maintenance mode in the cluster, if any.
InMaintenanceHostNames []string
// READ-ONLY; 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
// READ-ONLY; Hosts added to the cluster in this event, if any.
AddedHostNames []string
// READ-ONLY; Hosts in Maintenance mode in the cluster, if any.
InMaintenanceHostNames []string
// READ-ONLY; 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
// READ-ONLY; 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
// READ-ONLY; 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
// READ-ONLY; 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
// READ-ONLY; 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 {
// REQUIRED; The etag representing the key-value that was deleted.
Etag *string
// REQUIRED; The key used to identify the key-value that was deleted.
Key *string
// REQUIRED; The label, if any, used to identify the key-value that was deleted.
Label *string
// REQUIRED; 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 ¶
func (a AppConfigurationKeyValueDeletedEventData) MarshalJSON() ([]byte, error)
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 {
// REQUIRED; The etag representing the new state of the key-value.
Etag *string
// REQUIRED; The key used to identify the key-value that was modified.
Key *string
// REQUIRED; The label, if any, used to identify the key-value that was modified.
Label *string
// REQUIRED; 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 ¶
func (a AppConfigurationKeyValueModifiedEventData) MarshalJSON() ([]byte, error)
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 {
// REQUIRED; The etag representing the new state of the snapshot.
Etag *string
// REQUIRED; The name of the snapshot.
Name *string
// REQUIRED; 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 ¶
func (a AppConfigurationSnapshotCreatedEventData) MarshalJSON() ([]byte, error)
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 {
// REQUIRED; The etag representing the new state of the snapshot.
Etag *string
// REQUIRED; The name of the snapshot.
Name *string
// REQUIRED; 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 ¶
func (a AppConfigurationSnapshotModifiedEventData) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type AppConfigurationSnapshotModifiedEventData.
func (*AppConfigurationSnapshotModifiedEventData) UnmarshalJSON ¶
func (a *AppConfigurationSnapshotModifiedEventData) UnmarshalJSON(data []byte) error
UnmarshalJSON implements the json.Unmarshaller interface for type AppConfigurationSnapshotModifiedEventData.
type AppEventTypeDetail ¶
type AppEventTypeDetail struct {
// Type of action of the operation.
Action *AppAction
}
AppEventTypeDetail - Detail of action on the app.
func (AppEventTypeDetail) MarshalJSON ¶
func (a AppEventTypeDetail) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type AppEventTypeDetail.
func (*AppEventTypeDetail) UnmarshalJSON ¶
func (a *AppEventTypeDetail) UnmarshalJSON(data []byte) error
UnmarshalJSON implements the json.Unmarshaller interface for type AppEventTypeDetail.
type AppServicePlanAction ¶
type AppServicePlanAction string
AppServicePlanAction - Type of action on the app service plan.
const ( // AppServicePlanActionUpdated - App Service plan is being updated. AppServicePlanActionUpdated AppServicePlanAction = "Updated" )
func PossibleAppServicePlanActionValues ¶
func PossibleAppServicePlanActionValues() []AppServicePlanAction
PossibleAppServicePlanActionValues returns the possible values for the AppServicePlanAction const type.
type AppServicePlanEventTypeDetail ¶
type AppServicePlanEventTypeDetail struct {
// Type of action on the app service plan.
Action *AppServicePlanAction
// Kind of environment where app service plan is.
StampKind *StampKind
// Asynchronous operation status of the operation on the app service plan.
Status *AsyncStatus
}
AppServicePlanEventTypeDetail - Detail of action on the app service plan.
func (AppServicePlanEventTypeDetail) MarshalJSON ¶
func (a AppServicePlanEventTypeDetail) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type AppServicePlanEventTypeDetail.
func (*AppServicePlanEventTypeDetail) UnmarshalJSON ¶
func (a *AppServicePlanEventTypeDetail) UnmarshalJSON(data []byte) error
UnmarshalJSON implements the json.Unmarshaller interface for type AppServicePlanEventTypeDetail.
type AsyncStatus ¶
type AsyncStatus string
AsyncStatus - Asynchronous operation status of the operation on the app service plan.
const ( // AsyncStatusCompleted - Async operation has completed. AsyncStatusCompleted AsyncStatus = "Completed" // AsyncStatusFailed - Async operation failed to complete. AsyncStatusFailed AsyncStatus = "Failed" // AsyncStatusStarted - Async operation has started. AsyncStatusStarted AsyncStatus = "Started" )
func PossibleAsyncStatusValues ¶
func PossibleAsyncStatusValues() []AsyncStatus
PossibleAsyncStatusValues returns the possible values for the AsyncStatus const type.
type CommunicationCloudEnvironmentModel ¶
type CommunicationCloudEnvironmentModel string
CommunicationCloudEnvironmentModel - 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; Raw Id of the identifier. Optional in requests, required in responses.
RawID *string
// The identifier kind. Only required in responses.
Kind *CommunicationIdentifierModelKind
// The Microsoft Teams application.
MicrosoftTeamsApp *MicrosoftTeamsAppIdentifierModel
// The Microsoft Teams user.
MicrosoftTeamsUser *MicrosoftTeamsUserIdentifierModel
// The phone number.
PhoneNumber *PhoneNumberIdentifierModel
}
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" // CommunicationIdentifierModelKindMicrosoftTeamsApp - Microsoft Teams App CommunicationIdentifierModelKindMicrosoftTeamsApp CommunicationIdentifierModelKind = "microsoftTeamsApp" // 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 {
// REQUIRED; The MIME type of the artifact.
MediaType *string
// REQUIRED; The repository name of the artifact.
Repository *string
// The digest of the artifact.
Digest *string
// The name of the artifact.
Name *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 action that encompasses the provided event.
Action *string
// REQUIRED; The event ID.
ID *string
// REQUIRED; The location of the event.
Location *string
// REQUIRED; The target of the event.
Target *ContainerRegistryArtifactEventTarget
// REQUIRED; The time at which the event occurred.
Timestamp *time.Time
// The connected registry information if the event is generated by a connected registry.
ConnectedRegistry *ContainerRegistryEventConnectedRegistry
}
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 action that encompasses the provided event.
Action *string
// REQUIRED; The event ID.
ID *string
// REQUIRED; The location of the event.
Location *string
// REQUIRED; The target of the event.
Target *ContainerRegistryArtifactEventTarget
// REQUIRED; The time at which the event occurred.
Timestamp *time.Time
// The connected registry information if the event is generated by a connected registry.
ConnectedRegistry *ContainerRegistryEventConnectedRegistry
}
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 {
// REQUIRED; 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 {
// REQUIRED; The externally accessible hostname of the registry instance, as specified by the http host header on incoming
// requests.
Host *string
// REQUIRED; The ID of the request that initiated the event.
ID *string
// REQUIRED; The request method that generated the event.
Method *string
// 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 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 {
// REQUIRED; The MIME type of the referenced object.
MediaType *string
// REQUIRED; The repository name.
Repository *string
// 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 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 action that encompasses the provided event.
Action *string
// REQUIRED; The event ID.
ID *string
// REQUIRED; The location of the event.
Location *string
// REQUIRED; The target of the event.
Target *ContainerRegistryEventTarget
// REQUIRED; The time at which the event occurred.
Timestamp *time.Time
// The agent that initiated the event. For most situations, this could be from the authorization context of the request.
Actor *ContainerRegistryEventActor
// The connected registry information if the event is generated by a connected registry.
ConnectedRegistry *ContainerRegistryEventConnectedRegistry
// The request that generated the event.
Request *ContainerRegistryEventRequest
// The registry node that generated the event. Put differently, while the actor initiates the event, the source generates
// it.
Source *ContainerRegistryEventSource
}
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 action that encompasses the provided event.
Action *string
// REQUIRED; The event ID.
ID *string
// REQUIRED; The location of the event.
Location *string
// REQUIRED; The target of the event.
Target *ContainerRegistryEventTarget
// REQUIRED; The time at which the event occurred.
Timestamp *time.Time
// The agent that initiated the event. For most situations, this could be from the authorization context of the request.
Actor *ContainerRegistryEventActor
// The connected registry information if the event is generated by a connected registry.
ConnectedRegistry *ContainerRegistryEventConnectedRegistry
// The request that generated the event.
Request *ContainerRegistryEventRequest
// The registry node that generated the event. Put differently, while the actor initiates the event, the source generates
// it.
Source *ContainerRegistryEventSource
}
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 {
// REQUIRED; 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 ¶
func (c ContainerServiceClusterSupportEndedEventData) MarshalJSON() ([]byte, error)
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 {
// REQUIRED; 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 ¶
func (c ContainerServiceClusterSupportEndingEventData) MarshalJSON() ([]byte, error)
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 {
// REQUIRED; The highest PATCH Kubernetes version for the MINOR version considered stable for the ManagedCluster resource
LatestStableKubernetesVersion *string
// REQUIRED; The highest PATCH Kubernetes version for the highest MINOR version supported by ManagedCluster resource
LatestSupportedKubernetesVersion *string
// REQUIRED; The highest PATCH Kubernetes version for the lowest applicable MINOR version available for the ManagedCluster
// resource
LowestMinorKubernetesVersion *string
// 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
}
ContainerServiceNewKubernetesVersionAvailableEventData - Schema of the Data property of an EventGridEvent for a Microsoft.ContainerService.NewKubernetesVersionAvailable event
func (ContainerServiceNewKubernetesVersionAvailableEventData) MarshalJSON ¶
func (c ContainerServiceNewKubernetesVersionAvailableEventData) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type ContainerServiceNewKubernetesVersionAvailableEventData.
func (*ContainerServiceNewKubernetesVersionAvailableEventData) UnmarshalJSON ¶
func (c *ContainerServiceNewKubernetesVersionAvailableEventData) UnmarshalJSON(data []byte) error
UnmarshalJSON implements the json.Unmarshaller interface for type ContainerServiceNewKubernetesVersionAvailableEventData.
type ContainerServiceNodePoolRollingFailedEventData ¶
type ContainerServiceNodePoolRollingFailedEventData struct {
// REQUIRED; 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 ¶
func (c ContainerServiceNodePoolRollingFailedEventData) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type ContainerServiceNodePoolRollingFailedEventData.
func (*ContainerServiceNodePoolRollingFailedEventData) UnmarshalJSON ¶
func (c *ContainerServiceNodePoolRollingFailedEventData) UnmarshalJSON(data []byte) error
UnmarshalJSON implements the json.Unmarshaller interface for type ContainerServiceNodePoolRollingFailedEventData.
type ContainerServiceNodePoolRollingStartedEventData ¶
type ContainerServiceNodePoolRollingStartedEventData struct {
// REQUIRED; 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 ¶
func (c ContainerServiceNodePoolRollingStartedEventData) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type ContainerServiceNodePoolRollingStartedEventData.
func (*ContainerServiceNodePoolRollingStartedEventData) UnmarshalJSON ¶
func (c *ContainerServiceNodePoolRollingStartedEventData) UnmarshalJSON(data []byte) error
UnmarshalJSON implements the json.Unmarshaller interface for type ContainerServiceNodePoolRollingStartedEventData.
type ContainerServiceNodePoolRollingSucceededEventData ¶
type ContainerServiceNodePoolRollingSucceededEventData struct {
// REQUIRED; 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 ¶
func (c ContainerServiceNodePoolRollingSucceededEventData) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type ContainerServiceNodePoolRollingSucceededEventData.
func (*ContainerServiceNodePoolRollingSucceededEventData) UnmarshalJSON ¶
func (c *ContainerServiceNodePoolRollingSucceededEventData) UnmarshalJSON(data []byte) error
UnmarshalJSON implements the json.Unmarshaller interface for type ContainerServiceNodePoolRollingSucceededEventData.
type DataBoxCopyCompletedEventData ¶
type DataBoxCopyCompletedEventData struct {
// REQUIRED; Serial Number of the device associated with the event. The list is comma separated if more than one serial number
// is associated.
SerialNumber *string
// REQUIRED; Name of the current Stage
StageName *DataBoxStageName
// REQUIRED; The time at which the stage happened.
StageTime *time.Time
}
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; Serial Number of the device associated with the event. The list is comma separated if more than one serial number
// is associated.
SerialNumber *string
// REQUIRED; Name of the current Stage
StageName *DataBoxStageName
// REQUIRED; The time at which the stage happened.
StageTime *time.Time
}
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; Serial Number of the device associated with the event. The list is comma separated if more than one serial number
// is associated.
SerialNumber *string
// REQUIRED; Name of the current Stage
StageName *DataBoxStageName
// REQUIRED; The time at which the stage happened.
StageTime *time.Time
}
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 {
// REQUIRED; 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; Authentication type used for this device: either SAS, SelfSigned, or CertificateAuthority.
AuthenticationType *string
// REQUIRED; Count of cloud to device messages sent to this device.
CloudToDeviceMessageCount *float32
// REQUIRED; Whether the device is connected or disconnected.
ConnectionState *string
// REQUIRED; The unique identifier of the device twin.
DeviceID *string
// REQUIRED; A piece of information that describes the content of the device twin. Each etag is guaranteed to be unique per
// device twin.
Etag *string
// REQUIRED; The ISO8601 timestamp of the last activity.
LastActivityTime *string
// REQUIRED; Properties JSON element.
Properties *DeviceTwinInfoProperties
// REQUIRED; Whether the device twin is enabled or disabled.
Status *string
// REQUIRED; The ISO8601 timestamp of the last device twin status update.
StatusUpdateTime *string
// REQUIRED; An integer that is incremented by one each time the device twin is updated.
Version *float32
// 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
}
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 {
// REQUIRED; Primary thumbprint for the x509 certificate.
PrimaryThumbprint *string
// REQUIRED; 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 {
// REQUIRED; 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
// REQUIRED; 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 EdgeSolutionVersionPublishedEventData ¶ added in v0.7.0
type EdgeSolutionVersionPublishedEventData struct {
// REQUIRED; API Version supported for the resources
APIVersion *string
// REQUIRED; Direct URL to callback for updating validation status
CallbackURL *string
// REQUIRED; A GUID to uniquely track External Solution Validation
ExternalValidationID *string
// REQUIRED; ARM ID of the Solution Template resource
SolutionTemplateID *string
// REQUIRED; ARM ID of the Solution Template Version resource
SolutionTemplateVersionID *string
// REQUIRED; ARM ID of the Solution Version resource
SolutionVersionID *string
// REQUIRED; ARM ID of the Target resource
TargetID *string
}
EdgeSolutionVersionPublishedEventData - Schema of the Data property of an EventGridEvent for a Microsoft.Edge.SolutionVersionPublished event.
func (EdgeSolutionVersionPublishedEventData) MarshalJSON ¶ added in v0.7.0
func (e EdgeSolutionVersionPublishedEventData) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type EdgeSolutionVersionPublishedEventData.
func (*EdgeSolutionVersionPublishedEventData) UnmarshalJSON ¶ added in v0.7.0
func (e *EdgeSolutionVersionPublishedEventData) UnmarshalJSON(data []byte) error
UnmarshalJSON implements the json.Unmarshaller interface for type EdgeSolutionVersionPublishedEventData.
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.
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; 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
// REQUIRED; Time the client resource is created based on the provider's UTC time.
CreatedOn *time.Time
// REQUIRED; Name of the Event Grid namespace where the MQTT client was created or updated.
NamespaceName *string
// 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
// Name of the client resource in the Event Grid namespace.
ClientName *string
}
EventGridMQTTClientCreatedOrUpdatedEventData - Event data for Microsoft.EventGrid.MQTTClientCreatedOrUpdated event.
func (EventGridMQTTClientCreatedOrUpdatedEventData) MarshalJSON ¶
func (e EventGridMQTTClientCreatedOrUpdatedEventData) MarshalJSON() ([]byte, error)
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 {
// REQUIRED; 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
// REQUIRED; Name of the Event Grid namespace where the MQTT client was created or updated.
NamespaceName *string
// Name of the client resource in the Event Grid namespace.
ClientName *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 {
// REQUIRED; 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
// REQUIRED; 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
// REQUIRED; Name of the Event Grid namespace where the MQTT client was created or updated.
NamespaceName *string
// REQUIRED; 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
// Name of the client resource in the Event Grid namespace.
ClientName *string
}
EventGridMQTTClientSessionConnectedEventData - Event data for Microsoft.EventGrid.MQTTClientSessionConnected event.
func (EventGridMQTTClientSessionConnectedEventData) MarshalJSON ¶
func (e EventGridMQTTClientSessionConnectedEventData) MarshalJSON() ([]byte, error)
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; 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
// REQUIRED; 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
// 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
// REQUIRED; Name of the Event Grid namespace where the MQTT client was created or updated.
NamespaceName *string
// REQUIRED; 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
// Name of the client resource in the Event Grid namespace.
ClientName *string
}
EventGridMQTTClientSessionDisconnectedEventData - Event data for Microsoft.EventGrid.MQTTClientSessionDisconnected event.
func (EventGridMQTTClientSessionDisconnectedEventData) MarshalJSON ¶
func (e EventGridMQTTClientSessionDisconnectedEventData) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type EventGridMQTTClientSessionDisconnectedEventData.
func (*EventGridMQTTClientSessionDisconnectedEventData) UnmarshalJSON ¶
func (e *EventGridMQTTClientSessionDisconnectedEventData) UnmarshalJSON(data []byte) error
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 number of events in the file.
EventCount *int32
// REQUIRED; The file type of the capture file.
FileType *string
// REQUIRED; The path to the capture file.
FileURL *string
// REQUIRED; The first time from the queue.
FirstEnqueueTime *time.Time
// REQUIRED; The smallest sequence number from the queue.
FirstSequenceNumber *int32
// REQUIRED; The last time from the queue.
LastEnqueueTime *time.Time
// REQUIRED; The last sequence number from the queue.
LastSequenceNumber *int32
// REQUIRED; The shard ID.
PartitionID *string
// REQUIRED; 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 {
// REQUIRED; Unique identifier for the Series
ImageSeriesInstanceUID *string
// REQUIRED; Unique identifier for the DICOM Image
ImageSopInstanceUID *string
// REQUIRED; Unique identifier for the Study
ImageStudyInstanceUID *string
// REQUIRED; Data partition name
PartitionName *string
// REQUIRED; 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
// REQUIRED; 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 {
// REQUIRED; Unique identifier for the Series
ImageSeriesInstanceUID *string
// REQUIRED; Unique identifier for the DICOM Image
ImageSopInstanceUID *string
// REQUIRED; Unique identifier for the Study
ImageStudyInstanceUID *string
// REQUIRED; Data partition name
PartitionName *string
// REQUIRED; 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
// REQUIRED; 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 {
// REQUIRED; Unique identifier for the Series
ImageSeriesInstanceUID *string
// REQUIRED; Unique identifier for the DICOM Image
ImageSopInstanceUID *string
// REQUIRED; Unique identifier for the Study
ImageStudyInstanceUID *string
// REQUIRED; Data partition name
PartitionName *string
// REQUIRED; 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
// REQUIRED; 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; Id of HL7 FHIR resource.
FHIRResourceID *string
// REQUIRED; Type of HL7 FHIR resource.
FHIRResourceType *HealthcareFhirResourceType
// REQUIRED; VersionId of HL7 FHIR resource. It changes when the resource is created, updated, or deleted(soft-deletion).
FHIRResourceVersionID *int64
// REQUIRED; 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; Id of HL7 FHIR resource.
FHIRResourceID *string
// REQUIRED; Type of HL7 FHIR resource.
FHIRResourceType *HealthcareFhirResourceType
// REQUIRED; VersionId of HL7 FHIR resource. It changes when the resource is created, updated, or deleted(soft-deletion).
FHIRResourceVersionID *int64
// REQUIRED; 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; Id of HL7 FHIR resource.
FHIRResourceID *string
// REQUIRED; Type of HL7 FHIR resource.
FHIRResourceType *HealthcareFhirResourceType
// REQUIRED; VersionId of HL7 FHIR resource. It changes when the resource is created, updated, or deleted(soft-deletion).
FHIRResourceVersionID *int64
// REQUIRED; 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
// REQUIRED; The unique identifier of the device. This case-sensitive string can be up to 128 characters long, and supports
// ASCII 7-bit alphanumeric characters plus the following special characters: - : . + % _ # * ? ! ( ) , = `@` ; $ '.
DeviceID *string
// REQUIRED; Name of the IoT Hub where the device was created or deleted.
HubName *string
// The unique identifier of the module. This case-sensitive string can be up to 128 characters long, and supports ASCII 7-bit
// alphanumeric characters plus the following special characters: - : . + % _ # * ? ! ( ) , = `@` ; $ '.
ModuleID *string
}
IOTHubDeviceConnectedEventData - Event data for Microsoft.Devices.DeviceConnected event.
func (IOTHubDeviceConnectedEventData) MarshalJSON ¶
func (i IOTHubDeviceConnectedEventData) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type IOTHubDeviceConnectedEventData.
func (*IOTHubDeviceConnectedEventData) UnmarshalJSON ¶
func (i *IOTHubDeviceConnectedEventData) UnmarshalJSON(data []byte) error
UnmarshalJSON implements the json.Unmarshaller interface for type IOTHubDeviceConnectedEventData.
type IOTHubDeviceCreatedEventData ¶
type IOTHubDeviceCreatedEventData struct {
// REQUIRED; The unique identifier of the device. This case-sensitive string can be up to 128 characters long, and supports
// ASCII 7-bit alphanumeric characters plus the following special characters: - : . + % _ # * ? ! ( ) , = `@` ; $ '.
DeviceID *string
// REQUIRED; Name of the IoT Hub where the device was created or deleted.
HubName *string
// REQUIRED; Information about the device twin, which is the cloud representation of application device metadata.
Twin *DeviceTwinInfo
}
IOTHubDeviceCreatedEventData - Event data for Microsoft.Devices.DeviceCreated event.
func (IOTHubDeviceCreatedEventData) MarshalJSON ¶
func (i IOTHubDeviceCreatedEventData) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type IOTHubDeviceCreatedEventData.
func (*IOTHubDeviceCreatedEventData) UnmarshalJSON ¶
func (i *IOTHubDeviceCreatedEventData) UnmarshalJSON(data []byte) error
UnmarshalJSON implements the json.Unmarshaller interface for type IOTHubDeviceCreatedEventData.
type IOTHubDeviceDeletedEventData ¶
type IOTHubDeviceDeletedEventData struct {
// REQUIRED; The unique identifier of the device. This case-sensitive string can be up to 128 characters long, and supports
// ASCII 7-bit alphanumeric characters plus the following special characters: - : . + % _ # * ? ! ( ) , = `@` ; $ '.
DeviceID *string
// REQUIRED; Name of the IoT Hub where the device was created or deleted.
HubName *string
// REQUIRED; Information about the device twin, which is the cloud representation of application device metadata.
Twin *DeviceTwinInfo
}
IOTHubDeviceDeletedEventData - Event data for Microsoft.Devices.DeviceDeleted event.
func (IOTHubDeviceDeletedEventData) MarshalJSON ¶
func (i IOTHubDeviceDeletedEventData) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type IOTHubDeviceDeletedEventData.
func (*IOTHubDeviceDeletedEventData) UnmarshalJSON ¶
func (i *IOTHubDeviceDeletedEventData) UnmarshalJSON(data []byte) error
UnmarshalJSON implements the json.Unmarshaller interface for type IOTHubDeviceDeletedEventData.
type IOTHubDeviceDisconnectedEventData ¶
type IOTHubDeviceDisconnectedEventData struct {
// REQUIRED; Information about the device connection state event.
DeviceConnectionStateEventInfo *DeviceConnectionStateEventInfo
// REQUIRED; The unique identifier of the device. This case-sensitive string can be up to 128 characters long, and supports
// ASCII 7-bit alphanumeric characters plus the following special characters: - : . + % _ # * ? ! ( ) , = `@` ; $ '.
DeviceID *string
// REQUIRED; Name of the IoT Hub where the device was created or deleted.
HubName *string
// The unique identifier of the module. This case-sensitive string can be up to 128 characters long, and supports ASCII 7-bit
// alphanumeric characters plus the following special characters: - : . + % _ # * ? ! ( ) , = `@` ; $ '.
ModuleID *string
}
IOTHubDeviceDisconnectedEventData - Event data for Microsoft.Devices.DeviceDisconnected event.
func (IOTHubDeviceDisconnectedEventData) MarshalJSON ¶
func (i IOTHubDeviceDisconnectedEventData) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type IOTHubDeviceDisconnectedEventData.
func (*IOTHubDeviceDisconnectedEventData) UnmarshalJSON ¶
func (i *IOTHubDeviceDisconnectedEventData) UnmarshalJSON(data []byte) error
UnmarshalJSON implements the json.Unmarshaller interface for type IOTHubDeviceDisconnectedEventData.
type IOTHubDeviceTelemetryEventData ¶
type IOTHubDeviceTelemetryEventData struct {
// 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 {
// REQUIRED; The expiration date of the object that triggered this event
EXP *float32
// REQUIRED; The id of the object that triggered this event.
ID *string
// REQUIRED; Not before date of the object that triggered this event
NBF *float32
// REQUIRED; The name of the object that triggered this event
ObjectName *string
// REQUIRED; The type of the object that triggered this event
ObjectType *string
// REQUIRED; Key vault name of the object that triggered this event.
VaultName *string
// REQUIRED; 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 {
// REQUIRED; The expiration date of the object that triggered this event
EXP *float32
// REQUIRED; The id of the object that triggered this event.
ID *string
// REQUIRED; Not before date of the object that triggered this event
NBF *float32
// REQUIRED; The name of the object that triggered this event
ObjectName *string
// REQUIRED; The type of the object that triggered this event
ObjectType *string
// REQUIRED; Key vault name of the object that triggered this event.
VaultName *string
// REQUIRED; 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 {
// REQUIRED; The expiration date of the object that triggered this event
EXP *float32
// REQUIRED; The id of the object that triggered this event.
ID *string
// REQUIRED; Not before date of the object that triggered this event
NBF *float32
// REQUIRED; The name of the object that triggered this event
ObjectName *string
// REQUIRED; The type of the object that triggered this event
ObjectType *string
// REQUIRED; Key vault name of the object that triggered this event.
VaultName *string
// REQUIRED; 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 {
// REQUIRED; The expiration date of the object that triggered this event
EXP *float32
// REQUIRED; The id of the object that triggered this event.
ID *string
// REQUIRED; Not before date of the object that triggered this event
NBF *float32
// REQUIRED; The name of the object that triggered this event
ObjectName *string
// REQUIRED; The type of the object that triggered this event
ObjectType *string
// REQUIRED; Key vault name of the object that triggered this event.
VaultName *string
// REQUIRED; 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 ¶
func (k KeyVaultCertificateNewVersionCreatedEventData) MarshalJSON() ([]byte, error)
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 {
// REQUIRED; The expiration date of the object that triggered this event
EXP *float32
// REQUIRED; The id of the object that triggered this event.
ID *string
// REQUIRED; Not before date of the object that triggered this event
NBF *float32
// REQUIRED; The name of the object that triggered this event
ObjectName *string
// REQUIRED; The type of the object that triggered this event
ObjectType *string
// REQUIRED; Key vault name of the object that triggered this event.
VaultName *string
// REQUIRED; 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 {
// REQUIRED; The expiration date of the object that triggered this event
EXP *float32
// REQUIRED; The id of the object that triggered this event.
ID *string
// REQUIRED; Not before date of the object that triggered this event
NBF *float32
// REQUIRED; The name of the object that triggered this event
ObjectName *string
// REQUIRED; The type of the object that triggered this event
ObjectType *string
// REQUIRED; Key vault name of the object that triggered this event.
VaultName *string
// REQUIRED; 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 {
// REQUIRED; The expiration date of the object that triggered this event
EXP *float32
// REQUIRED; The id of the object that triggered this event.
ID *string
// REQUIRED; Not before date of the object that triggered this event
NBF *float32
// REQUIRED; The name of the object that triggered this event
ObjectName *string
// REQUIRED; The type of the object that triggered this event
ObjectType *string
// REQUIRED; Key vault name of the object that triggered this event.
VaultName *string
// REQUIRED; 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 {
// REQUIRED; The expiration date of the object that triggered this event
EXP *float32
// REQUIRED; The id of the object that triggered this event.
ID *string
// REQUIRED; Not before date of the object that triggered this event
NBF *float32
// REQUIRED; The name of the object that triggered this event
ObjectName *string
// REQUIRED; The type of the object that triggered this event
ObjectType *string
// REQUIRED; Key vault name of the object that triggered this event.
VaultName *string
// REQUIRED; 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 {
// REQUIRED; The expiration date of the object that triggered this event
EXP *float32
// REQUIRED; The id of the object that triggered this event.
ID *string
// REQUIRED; Not before date of the object that triggered this event
NBF *float32
// REQUIRED; The name of the object that triggered this event
ObjectName *string
// REQUIRED; The type of the object that triggered this event
ObjectType *string
// REQUIRED; Key vault name of the object that triggered this event.
VaultName *string
// REQUIRED; 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 {
// REQUIRED; The expiration date of the object that triggered this event
EXP *float32
// REQUIRED; The id of the object that triggered this event.
ID *string
// REQUIRED; Not before date of the object that triggered this event
NBF *float32
// REQUIRED; The name of the object that triggered this event
ObjectName *string
// REQUIRED; The type of the object that triggered this event
ObjectType *string
// REQUIRED; Key vault name of the object that triggered this event.
VaultName *string
// REQUIRED; 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 ¶
func (k KeyVaultSecretNewVersionCreatedEventData) MarshalJSON() ([]byte, error)
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 ID of the base Dataset used to detect drift.
BaseDatasetID *string
// REQUIRED; The ID of the data drift monitor that triggered the event.
DataDriftID *string
// REQUIRED; The name of the data drift monitor that triggered the event.
DataDriftName *string
// REQUIRED; The coefficient result that triggered the event.
DriftCoefficient *float64
// REQUIRED; The end time of the target dataset time series that resulted in drift detection.
EndTime *time.Time
// REQUIRED; The ID of the Run that detected data drift.
RunID *string
// REQUIRED; The start time of the target dataset time series that resulted in drift detection.
StartTime *time.Time
// REQUIRED; 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 ¶
func (m MachineLearningServicesDatasetDriftDetectedEventData) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type MachineLearningServicesDatasetDriftDetectedEventData.
func (*MachineLearningServicesDatasetDriftDetectedEventData) UnmarshalJSON ¶
func (m *MachineLearningServicesDatasetDriftDetectedEventData) UnmarshalJSON(data []byte) error
UnmarshalJSON implements the json.Unmarshaller interface for type MachineLearningServicesDatasetDriftDetectedEventData.
type MachineLearningServicesModelDeployedEventData ¶
type MachineLearningServicesModelDeployedEventData struct {
// REQUIRED; A common separated list of model IDs. The IDs of the models deployed in the service.
ModelIDs *string
// REQUIRED; The compute type (e.g. ACI, AKS) of the deployed service.
ServiceComputeType *string
// REQUIRED; The name of the deployed service.
ServiceName *string
// The properties of the deployed service.
ServiceProperties map[string]any
// The tags of the deployed service.
ServiceTags map[string]any
}
MachineLearningServicesModelDeployedEventData - Schema of the Data property of an EventGridEvent for a Microsoft.MachineLearningServices.ModelDeployed event.
func (MachineLearningServicesModelDeployedEventData) MarshalJSON ¶
func (m MachineLearningServicesModelDeployedEventData) MarshalJSON() ([]byte, error)
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 name of the model that was registered.
ModelName *string
// REQUIRED; The version of the model that was registered.
ModelVersion *string
// The properties of the model that was registered.
ModelProperties map[string]any
// The tags of the model that was registered.
ModelTags map[string]any
}
MachineLearningServicesModelRegisteredEventData - Schema of the Data property of an EventGridEvent for a Microsoft.MachineLearningServices.ModelRegistered event.
func (MachineLearningServicesModelRegisteredEventData) MarshalJSON ¶
func (m MachineLearningServicesModelRegisteredEventData) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type MachineLearningServicesModelRegisteredEventData.
func (*MachineLearningServicesModelRegisteredEventData) UnmarshalJSON ¶
func (m *MachineLearningServicesModelRegisteredEventData) UnmarshalJSON(data []byte) error
UnmarshalJSON implements the json.Unmarshaller interface for type MachineLearningServicesModelRegisteredEventData.
type MachineLearningServicesRunCompletedEventData ¶
type MachineLearningServicesRunCompletedEventData struct {
// REQUIRED; The ID of the experiment that the run belongs to.
ExperimentID *string
// REQUIRED; The name of the experiment that the run belongs to.
ExperimentName *string
// REQUIRED; The ID of the Run that was completed.
RunID *string
// REQUIRED; The Run Type of the completed Run.
RunType *string
// The properties of the completed Run.
RunProperties map[string]any
// The tags of the completed Run.
RunTags map[string]any
}
MachineLearningServicesRunCompletedEventData - Schema of the Data property of an EventGridEvent for a Microsoft.MachineLearningServices.RunCompleted event.
func (MachineLearningServicesRunCompletedEventData) MarshalJSON ¶
func (m MachineLearningServicesRunCompletedEventData) MarshalJSON() ([]byte, error)
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 ID of the experiment that the Machine Learning Run belongs to.
ExperimentID *string
// REQUIRED; The name of the experiment that the Machine Learning Run belongs to.
ExperimentName *string
// REQUIRED; The ID of the Machine Learning Run.
RunID *string
// REQUIRED; The status of the Machine Learning Run.
RunStatus *string
// REQUIRED; The Run Type of the Machine Learning Run.
RunType *string
// The properties of the Machine Learning Run.
RunProperties map[string]any
// The tags of the Machine Learning Run.
RunTags map[string]any
}
MachineLearningServicesRunStatusChangedEventData - Schema of the Data property of an EventGridEvent for a Microsoft.MachineLearningServices.RunStatusChanged event.
func (MachineLearningServicesRunStatusChangedEventData) MarshalJSON ¶
func (m MachineLearningServicesRunStatusChangedEventData) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type MachineLearningServicesRunStatusChangedEventData.
func (*MachineLearningServicesRunStatusChangedEventData) UnmarshalJSON ¶
func (m *MachineLearningServicesRunStatusChangedEventData) UnmarshalJSON(data []byte) error
UnmarshalJSON implements the json.Unmarshaller interface for type MachineLearningServicesRunStatusChangedEventData.
type MapsGeofenceEnteredEventData ¶
type MapsGeofenceEnteredEventData struct {
// REQUIRED; 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
// READ-ONLY; Lists of the geometry ID of the geofence which is expired relative to the user time in the request.
ExpiredGeofenceGeometryID []string
// READ-ONLY; Lists the fence geometries that either fully contain the coordinate position or have an overlap with the searchBuffer
// around the fence.
Geometries []MapsGeofenceGeometry
// READ-ONLY; Lists of the geometry ID of the geofence which is in invalid period relative to the user time in the request.
InvalidPeriodGeofenceGeometryID []string
}
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; 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
// READ-ONLY; Lists of the geometry ID of the geofence which is expired relative to the user time in the request.
ExpiredGeofenceGeometryID []string
// READ-ONLY; Lists the fence geometries that either fully contain the coordinate position or have an overlap with the searchBuffer
// around the fence.
Geometries []MapsGeofenceGeometry
// READ-ONLY; Lists of the geometry ID of the geofence which is in invalid period relative to the user time in the request.
InvalidPeriodGeofenceGeometryID []string
}
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 {
// REQUIRED; ID of the device.
DeviceID *string
// REQUIRED; 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
// REQUIRED; The unique ID for the geofence geometry.
GeometryID *string
// REQUIRED; Latitude of the nearest point of the geometry.
NearestLat *float32
// REQUIRED; 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; 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
// READ-ONLY; Lists of the geometry ID of the geofence which is expired relative to the user time in the request.
ExpiredGeofenceGeometryID []string
// READ-ONLY; Lists the fence geometries that either fully contain the coordinate position or have an overlap with the searchBuffer
// around the fence.
Geometries []MapsGeofenceGeometry
// READ-ONLY; Lists of the geometry ID of the geofence which is in invalid period relative to the user time in the request.
InvalidPeriodGeofenceGeometryID []string
}
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 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 compliance reason code. May be empty.
ComplianceReasonCode *string
// REQUIRED; The compliance state of the resource with respect to the policy assignment.
ComplianceState *string
// REQUIRED; The resource ID of the policy assignment.
PolicyAssignmentID *string
// REQUIRED; The resource ID of the policy definition.
PolicyDefinitionID *string
// REQUIRED; The reference ID for the policy definition inside the initiative definition, if the policy assignment is for
// an initiative. May be empty.
PolicyDefinitionReferenceID *string
// REQUIRED; The subscription ID of the resource.
SubscriptionID *string
// 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
}
PolicyInsightsPolicyStateChangedEventData - Schema of the Data property of an EventGridEvent for a Microsoft.PolicyInsights.PolicyStateChanged event.
func (PolicyInsightsPolicyStateChangedEventData) MarshalJSON ¶
func (p PolicyInsightsPolicyStateChangedEventData) MarshalJSON() ([]byte, error)
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 compliance reason code. May be empty.
ComplianceReasonCode *string
// REQUIRED; The compliance state of the resource with respect to the policy assignment.
ComplianceState *string
// REQUIRED; The resource ID of the policy assignment.
PolicyAssignmentID *string
// REQUIRED; The resource ID of the policy definition.
PolicyDefinitionID *string
// REQUIRED; The reference ID for the policy definition inside the initiative definition, if the policy assignment is for
// an initiative. May be empty.
PolicyDefinitionReferenceID *string
// REQUIRED; The subscription ID of the resource.
SubscriptionID *string
// 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
}
PolicyInsightsPolicyStateCreatedEventData - Schema of the Data property of an EventGridEvent for a Microsoft.PolicyInsights.PolicyStateCreated event.
func (PolicyInsightsPolicyStateCreatedEventData) MarshalJSON ¶
func (p PolicyInsightsPolicyStateCreatedEventData) MarshalJSON() ([]byte, error)
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 compliance reason code. May be empty.
ComplianceReasonCode *string
// REQUIRED; The compliance state of the resource with respect to the policy assignment.
ComplianceState *string
// REQUIRED; The resource ID of the policy assignment.
PolicyAssignmentID *string
// REQUIRED; The resource ID of the policy definition.
PolicyDefinitionID *string
// REQUIRED; The reference ID for the policy definition inside the initiative definition, if the policy assignment is for
// an initiative. May be empty.
PolicyDefinitionReferenceID *string
// REQUIRED; The subscription ID of the resource.
SubscriptionID *string
// 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
}
PolicyInsightsPolicyStateDeletedEventData - Schema of the Data property of an EventGridEvent for a Microsoft.PolicyInsights.PolicyStateDeleted event.
func (PolicyInsightsPolicyStateDeletedEventData) MarshalJSON ¶
func (p PolicyInsightsPolicyStateDeletedEventData) MarshalJSON() ([]byte, error)
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 RedisExportRDBCompletedEventData ¶
type RedisExportRDBCompletedEventData struct {
// The name of this event.
Name *string
// The status of this event. Failed or succeeded
Status *string
// The time at which the event occurred.
Timestamp *time.Time
}
RedisExportRDBCompletedEventData - Schema of the Data property of an EventGridEvent for a Microsoft.Cache.ExportRDBCompleted event.
func (RedisExportRDBCompletedEventData) MarshalJSON ¶
func (r RedisExportRDBCompletedEventData) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type RedisExportRDBCompletedEventData.
func (*RedisExportRDBCompletedEventData) UnmarshalJSON ¶
func (r *RedisExportRDBCompletedEventData) UnmarshalJSON(data []byte) error
UnmarshalJSON implements the json.Unmarshaller interface for type RedisExportRDBCompletedEventData.
type RedisImportRDBCompletedEventData ¶
type RedisImportRDBCompletedEventData struct {
// The name of this event.
Name *string
// The status of this event. Failed or succeeded
Status *string
// The time at which the event occurred.
Timestamp *time.Time
}
RedisImportRDBCompletedEventData - Schema of the Data property of an EventGridEvent for a Microsoft.Cache.ImportRDBCompleted event.
func (RedisImportRDBCompletedEventData) MarshalJSON ¶
func (r RedisImportRDBCompletedEventData) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type RedisImportRDBCompletedEventData.
func (*RedisImportRDBCompletedEventData) UnmarshalJSON ¶
func (r *RedisImportRDBCompletedEventData) UnmarshalJSON(data []byte) error
UnmarshalJSON implements the json.Unmarshaller interface for type RedisImportRDBCompletedEventData.
type RedisPatchingCompletedEventData ¶
type RedisPatchingCompletedEventData struct {
// The name of this event.
Name *string
// The status of this event. Failed or succeeded
Status *string
// The time at which the event occurred.
Timestamp *time.Time
}
RedisPatchingCompletedEventData - Schema of the Data property of an EventGridEvent for a Microsoft.Cache.PatchingCompleted event.
func (RedisPatchingCompletedEventData) MarshalJSON ¶
func (r RedisPatchingCompletedEventData) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type RedisPatchingCompletedEventData.
func (*RedisPatchingCompletedEventData) UnmarshalJSON ¶
func (r *RedisPatchingCompletedEventData) UnmarshalJSON(data []byte) error
UnmarshalJSON implements the json.Unmarshaller interface for type RedisPatchingCompletedEventData.
type RedisScalingCompletedEventData ¶
type RedisScalingCompletedEventData struct {
// The name of this event.
Name *string
// The status of this event. Failed or succeeded
Status *string
// The time at which the event occurred.
Timestamp *time.Time
}
RedisScalingCompletedEventData - Schema of the Data property of an 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; api version of the resource properties bag
APIVersion *string
// REQUIRED; details about operational info
OperationalDetails *ResourceNotificationsOperationalDetails
// REQUIRED; resourceInfo details for update event
ResourceDetails *ResourceNotificationsResourceUpdatedDetails
}
ResourceNotificationsContainerServiceEventResourcesScheduledEventData - Schema of the Data property of an event grid event for a Microsoft.ResourceNotifications.ContainerServiceEventResources.ScheduledEventEmitted preview event.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
func (r ResourceNotificationsContainerServiceEventResourcesScheduledEventData) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type ResourceNotificationsContainerServiceEventResourcesScheduledEventData.
func (*ResourceNotificationsContainerServiceEventResourcesScheduledEventData) UnmarshalJSON ¶ added in v0.5.0
func (r *ResourceNotificationsContainerServiceEventResourcesScheduledEventData) UnmarshalJSON(data []byte) error
UnmarshalJSON implements the json.Unmarshaller interface for type ResourceNotificationsContainerServiceEventResourcesScheduledEventData.
type ResourceNotificationsHealthResourcesAnnotatedEventData ¶
type ResourceNotificationsHealthResourcesAnnotatedEventData struct {
// REQUIRED; api version of the resource properties bag
APIVersion *string
// REQUIRED; details about operational info
OperationalDetails *ResourceNotificationsOperationalDetails
// REQUIRED; resourceInfo details for update event
ResourceDetails *ResourceNotificationsResourceUpdatedDetails
}
ResourceNotificationsHealthResourcesAnnotatedEventData - Schema of the Data property of an EventGridEvent for a Microsoft.ResourceNotifications.HealthResources.ResourceAnnotated event.
func (ResourceNotificationsHealthResourcesAnnotatedEventData) MarshalJSON ¶
func (r ResourceNotificationsHealthResourcesAnnotatedEventData) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type ResourceNotificationsHealthResourcesAnnotatedEventData.
func (*ResourceNotificationsHealthResourcesAnnotatedEventData) UnmarshalJSON ¶
func (r *ResourceNotificationsHealthResourcesAnnotatedEventData) UnmarshalJSON(data []byte) error
UnmarshalJSON implements the json.Unmarshaller interface for type ResourceNotificationsHealthResourcesAnnotatedEventData.
type ResourceNotificationsHealthResourcesAvailabilityStatusChangedEventData ¶
type ResourceNotificationsHealthResourcesAvailabilityStatusChangedEventData struct {
// REQUIRED; api version of the resource properties bag
APIVersion *string
// REQUIRED; details about operational info
OperationalDetails *ResourceNotificationsOperationalDetails
// REQUIRED; resourceInfo details for update event
ResourceDetails *ResourceNotificationsResourceUpdatedDetails
}
ResourceNotificationsHealthResourcesAvailabilityStatusChangedEventData - Schema of the Data property of an EventGridEvent for a Microsoft.ResourceNotifications.HealthResources.AvailabilityStatusChanged event.
func (ResourceNotificationsHealthResourcesAvailabilityStatusChangedEventData) MarshalJSON ¶
func (r ResourceNotificationsHealthResourcesAvailabilityStatusChangedEventData) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type ResourceNotificationsHealthResourcesAvailabilityStatusChangedEventData.
func (*ResourceNotificationsHealthResourcesAvailabilityStatusChangedEventData) UnmarshalJSON ¶
func (r *ResourceNotificationsHealthResourcesAvailabilityStatusChangedEventData) UnmarshalJSON(data []byte) error
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 {
// REQUIRED; id of the resource for which the event is being emitted
ID *string
// REQUIRED; name of the resource for which the event is being emitted
Name *string
// REQUIRED; 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 ¶
func (r ResourceNotificationsResourceDeletedDetails) MarshalJSON() ([]byte, error)
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; api version of the resource properties bag
APIVersion *string
// REQUIRED; details about operational info
OperationalDetails *ResourceNotificationsOperationalDetails
// REQUIRED; resourceInfo details for update event
ResourceDetails *ResourceNotificationsResourceUpdatedDetails
}
ResourceNotificationsResourceManagementCreatedOrUpdatedEventData - Schema of the Data property of an EventGridEvent for a Microsoft.ResourceNotifications.Resources.CreatedOrUpdated event.
func (ResourceNotificationsResourceManagementCreatedOrUpdatedEventData) MarshalJSON ¶
func (r ResourceNotificationsResourceManagementCreatedOrUpdatedEventData) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type ResourceNotificationsResourceManagementCreatedOrUpdatedEventData.
func (*ResourceNotificationsResourceManagementCreatedOrUpdatedEventData) UnmarshalJSON ¶
func (r *ResourceNotificationsResourceManagementCreatedOrUpdatedEventData) UnmarshalJSON(data []byte) error
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 ¶
func (r ResourceNotificationsResourceManagementDeletedEventData) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type ResourceNotificationsResourceManagementDeletedEventData.
func (*ResourceNotificationsResourceManagementDeletedEventData) UnmarshalJSON ¶
func (r *ResourceNotificationsResourceManagementDeletedEventData) UnmarshalJSON(data []byte) error
UnmarshalJSON implements the json.Unmarshaller interface for type ResourceNotificationsResourceManagementDeletedEventData.
type ResourceNotificationsResourceUpdatedDetails ¶
type ResourceNotificationsResourceUpdatedDetails struct {
// REQUIRED; id of the resource for which the event is being emitted
ID *string
// REQUIRED; name of the resource for which the event is being emitted
Name *string
// REQUIRED; the type of the resource for which the event is being emitted
Type *string
// the location of the resource for which the event is being emitted
Location *string
// properties in the payload of the resource for which the event is being emitted
Properties map[string]any
// the tags on the resource for which the event is being emitted
Tags map[string]*string
}
ResourceNotificationsResourceUpdatedDetails - Describes the schema of the properties under resource info which are common across all ARN system topic events
func (ResourceNotificationsResourceUpdatedDetails) MarshalJSON ¶
func (r ResourceNotificationsResourceUpdatedDetails) MarshalJSON() ([]byte, error)
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 {
// REQUIRED; The entity type of the Microsoft.ServiceBus resource. Could be one of 'queue' or 'subscriber'.
EntityType *string
// REQUIRED; The namespace name of the Microsoft.ServiceBus resource.
NamespaceName *string
// REQUIRED; The name of the Microsoft.ServiceBus queue. If the entity type is of type 'subscriber', then this value will
// be null.
QueueName *string
// REQUIRED; The endpoint of the Microsoft.ServiceBus resource.
RequestURI *string
// REQUIRED; 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
// REQUIRED; 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 ¶
func (s ServiceBusActiveMessagesAvailablePeriodicNotificationsEventData) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type ServiceBusActiveMessagesAvailablePeriodicNotificationsEventData.
func (*ServiceBusActiveMessagesAvailablePeriodicNotificationsEventData) UnmarshalJSON ¶
func (s *ServiceBusActiveMessagesAvailablePeriodicNotificationsEventData) UnmarshalJSON(data []byte) error
UnmarshalJSON implements the json.Unmarshaller interface for type ServiceBusActiveMessagesAvailablePeriodicNotificationsEventData.
type ServiceBusActiveMessagesAvailableWithNoListenersEventData ¶
type ServiceBusActiveMessagesAvailableWithNoListenersEventData struct {
// REQUIRED; The entity type of the Microsoft.ServiceBus resource. Could be one of 'queue' or 'subscriber'.
EntityType *string
// REQUIRED; The namespace name of the Microsoft.ServiceBus resource.
NamespaceName *string
// REQUIRED; The name of the Microsoft.ServiceBus queue. If the entity type is of type 'subscriber', then this value will
// be null.
QueueName *string
// REQUIRED; The endpoint of the Microsoft.ServiceBus resource.
RequestURI *string
// REQUIRED; 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
// REQUIRED; 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 ¶
func (s ServiceBusActiveMessagesAvailableWithNoListenersEventData) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type ServiceBusActiveMessagesAvailableWithNoListenersEventData.
func (*ServiceBusActiveMessagesAvailableWithNoListenersEventData) UnmarshalJSON ¶
func (s *ServiceBusActiveMessagesAvailableWithNoListenersEventData) UnmarshalJSON(data []byte) error
UnmarshalJSON implements the json.Unmarshaller interface for type ServiceBusActiveMessagesAvailableWithNoListenersEventData.
type ServiceBusDeadletterMessagesAvailablePeriodicNotificationsEventData ¶
type ServiceBusDeadletterMessagesAvailablePeriodicNotificationsEventData struct {
// REQUIRED; The entity type of the Microsoft.ServiceBus resource. Could be one of 'queue' or 'subscriber'.
EntityType *string
// REQUIRED; The namespace name of the Microsoft.ServiceBus resource.
NamespaceName *string
// REQUIRED; The name of the Microsoft.ServiceBus queue. If the entity type is of type 'subscriber', then this value will
// be null.
QueueName *string
// REQUIRED; The endpoint of the Microsoft.ServiceBus resource.
RequestURI *string
// REQUIRED; 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
// REQUIRED; 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 ¶
func (s ServiceBusDeadletterMessagesAvailablePeriodicNotificationsEventData) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type ServiceBusDeadletterMessagesAvailablePeriodicNotificationsEventData.
func (*ServiceBusDeadletterMessagesAvailablePeriodicNotificationsEventData) UnmarshalJSON ¶
func (s *ServiceBusDeadletterMessagesAvailablePeriodicNotificationsEventData) UnmarshalJSON(data []byte) error
UnmarshalJSON implements the json.Unmarshaller interface for type ServiceBusDeadletterMessagesAvailablePeriodicNotificationsEventData.
type ServiceBusDeadletterMessagesAvailableWithNoListenersEventData ¶
type ServiceBusDeadletterMessagesAvailableWithNoListenersEventData struct {
// REQUIRED; The entity type of the Microsoft.ServiceBus resource. Could be one of 'queue' or 'subscriber'.
EntityType *string
// REQUIRED; The namespace name of the Microsoft.ServiceBus resource.
NamespaceName *string
// REQUIRED; The name of the Microsoft.ServiceBus queue. If the entity type is of type 'subscriber', then this value will
// be null.
QueueName *string
// REQUIRED; The endpoint of the Microsoft.ServiceBus resource.
RequestURI *string
// REQUIRED; 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
// REQUIRED; 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 ¶
func (s ServiceBusDeadletterMessagesAvailableWithNoListenersEventData) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type ServiceBusDeadletterMessagesAvailableWithNoListenersEventData.
func (*ServiceBusDeadletterMessagesAvailableWithNoListenersEventData) UnmarshalJSON ¶
func (s *ServiceBusDeadletterMessagesAvailableWithNoListenersEventData) UnmarshalJSON(data []byte) error
UnmarshalJSON implements the json.Unmarshaller interface for type ServiceBusDeadletterMessagesAvailableWithNoListenersEventData.
type SignalRServiceClientConnectionConnectedEventData ¶
type SignalRServiceClientConnectionConnectedEventData struct {
// REQUIRED; The connection Id of connected client connection.
ConnectionID *string
// REQUIRED; The hub of connected client connection.
HubName *string
// REQUIRED; The time at which the event occurred.
Timestamp *time.Time
// The user Id of connected client connection.
UserID *string
}
SignalRServiceClientConnectionConnectedEventData - Schema of the Data property of an EventGridEvent for a Microsoft.SignalRService.ClientConnectionConnected event.
func (SignalRServiceClientConnectionConnectedEventData) MarshalJSON ¶
func (s SignalRServiceClientConnectionConnectedEventData) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type SignalRServiceClientConnectionConnectedEventData.
func (*SignalRServiceClientConnectionConnectedEventData) UnmarshalJSON ¶
func (s *SignalRServiceClientConnectionConnectedEventData) UnmarshalJSON(data []byte) error
UnmarshalJSON implements the json.Unmarshaller interface for type SignalRServiceClientConnectionConnectedEventData.
type SignalRServiceClientConnectionDisconnectedEventData ¶
type SignalRServiceClientConnectionDisconnectedEventData struct {
// REQUIRED; The connection Id of connected client connection.
ConnectionID *string
// REQUIRED; The hub of connected client connection.
HubName *string
// REQUIRED; The time at which the event occurred.
Timestamp *time.Time
// The message of error that cause the client connection disconnected.
ErrorMessage *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 ¶
func (s SignalRServiceClientConnectionDisconnectedEventData) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type SignalRServiceClientConnectionDisconnectedEventData.
func (*SignalRServiceClientConnectionDisconnectedEventData) UnmarshalJSON ¶
func (s *SignalRServiceClientConnectionDisconnectedEventData) UnmarshalJSON(data []byte) error
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 ¶
func (s StorageBlobInventoryPolicyCompletedEventData) MarshalJSON() ([]byte, error)
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 ¶
func (s StorageLifecyclePolicyActionSummaryDetail) MarshalJSON() ([]byte, error)
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 ¶
func (s StorageLifecyclePolicyCompletedEventData) MarshalJSON() ([]byte, error)
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 {
// REQUIRED; 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 {
// REQUIRED; 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
// REQUIRED; 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 {
// REQUIRED; 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 {
// HTTP request URL of this operation.
Address *string
// Detail of action on the app service plan.
AppServicePlanEventTypeDetail *AppServicePlanEventTypeDetail
// The client request id generated by the app service for the app service plan API operation that triggered this event.
ClientRequestID *string
// The correlation request id generated by the app service for the app service plan API operation that triggered this event.
CorrelationRequestID *string
// name of the app service plan that had this event.
Name *string
// The request id generated by the app service for the app service plan API operation that triggered this event.
RequestID *string
// sku of app service plan.
SKU *WebAppServicePlanUpdatedEventDataSKU
// HTTP verb of this operation.
Verb *string
}
WebAppServicePlanUpdatedEventData - Schema of the Data property of an EventGridEvent for a Microsoft.Web.AppServicePlanUpdated event.
func (WebAppServicePlanUpdatedEventData) MarshalJSON ¶
func (w WebAppServicePlanUpdatedEventData) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type WebAppServicePlanUpdatedEventData.
func (*WebAppServicePlanUpdatedEventData) UnmarshalJSON ¶
func (w *WebAppServicePlanUpdatedEventData) UnmarshalJSON(data []byte) error
UnmarshalJSON implements the json.Unmarshaller interface for type WebAppServicePlanUpdatedEventData.
type WebAppServicePlanUpdatedEventDataSKU ¶
type WebAppServicePlanUpdatedEventDataSKU struct {
// capacity of app service plan sku.
Capacity *string
// family of app service plan sku.
Family *string
// name of app service plan sku.
Name *string
// size of app service plan sku.
Size *string
// tier of app service plan sku.
Tier *string
}
WebAppServicePlanUpdatedEventDataSKU - sku of app service plan.
func (WebAppServicePlanUpdatedEventDataSKU) MarshalJSON ¶
func (w WebAppServicePlanUpdatedEventDataSKU) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type WebAppServicePlanUpdatedEventDataSKU.
func (*WebAppServicePlanUpdatedEventDataSKU) UnmarshalJSON ¶
func (w *WebAppServicePlanUpdatedEventDataSKU) UnmarshalJSON(data []byte) error
UnmarshalJSON implements the json.Unmarshaller interface for type WebAppServicePlanUpdatedEventDataSKU.
type WebAppUpdatedEventData ¶
type WebAppUpdatedEventData struct {
// HTTP request URL of this operation.
Address *string
// Detail of action on the app.
AppEventTypeDetail *AppEventTypeDetail
// The client request id generated by the app service for the site API operation that triggered this event.
ClientRequestID *string
// The correlation request id generated by the app service for the site API operation that triggered this event.
CorrelationRequestID *string
// name of the web site that had this event.
Name *string
// The request id generated by the app service for the site API operation that triggered this event.
RequestID *string
// HTTP verb of this operation.
Verb *string
}
WebAppUpdatedEventData - Schema of the Data property of an EventGridEvent for a Microsoft.Web.AppUpdated event.
func (WebAppUpdatedEventData) MarshalJSON ¶
func (w WebAppUpdatedEventData) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type WebAppUpdatedEventData.
func (*WebAppUpdatedEventData) UnmarshalJSON ¶
func (w *WebAppUpdatedEventData) UnmarshalJSON(data []byte) error
UnmarshalJSON implements the json.Unmarshaller interface for type WebAppUpdatedEventData.
type WebBackupOperationCompletedEventData ¶
type WebBackupOperationCompletedEventData struct {
// HTTP request URL of this operation.
Address *string
// Detail of action on the app.
AppEventTypeDetail *AppEventTypeDetail
// The client request id generated by the app service for the site API operation that triggered this event.
ClientRequestID *string
// The correlation request id generated by the app service for the site API operation that triggered this event.
CorrelationRequestID *string
// name of the web site that had this event.
Name *string
// The request id generated by the app service for the site API operation that triggered this event.
RequestID *string
// HTTP verb of this operation.
Verb *string
}
WebBackupOperationCompletedEventData - Schema of the Data property of an EventGridEvent for a Microsoft.Web.BackupOperationCompleted event.
func (WebBackupOperationCompletedEventData) MarshalJSON ¶
func (w WebBackupOperationCompletedEventData) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type WebBackupOperationCompletedEventData.
func (*WebBackupOperationCompletedEventData) UnmarshalJSON ¶
func (w *WebBackupOperationCompletedEventData) UnmarshalJSON(data []byte) error
UnmarshalJSON implements the json.Unmarshaller interface for type WebBackupOperationCompletedEventData.
type WebBackupOperationFailedEventData ¶
type WebBackupOperationFailedEventData struct {
// HTTP request URL of this operation.
Address *string
// Detail of action on the app.
AppEventTypeDetail *AppEventTypeDetail
// The client request id generated by the app service for the site API operation that triggered this event.
ClientRequestID *string
// The correlation request id generated by the app service for the site API operation that triggered this event.
CorrelationRequestID *string
// name of the web site that had this event.
Name *string
// The request id generated by the app service for the site API operation that triggered this event.
RequestID *string
// HTTP verb of this operation.
Verb *string
}
WebBackupOperationFailedEventData - Schema of the Data property of an EventGridEvent for a Microsoft.Web.BackupOperationFailed event.
func (WebBackupOperationFailedEventData) MarshalJSON ¶
func (w WebBackupOperationFailedEventData) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type WebBackupOperationFailedEventData.
func (*WebBackupOperationFailedEventData) UnmarshalJSON ¶
func (w *WebBackupOperationFailedEventData) UnmarshalJSON(data []byte) error
UnmarshalJSON implements the json.Unmarshaller interface for type WebBackupOperationFailedEventData.
type WebBackupOperationStartedEventData ¶
type WebBackupOperationStartedEventData struct {
// HTTP request URL of this operation.
Address *string
// Detail of action on the app.
AppEventTypeDetail *AppEventTypeDetail
// The client request id generated by the app service for the site API operation that triggered this event.
ClientRequestID *string
// The correlation request id generated by the app service for the site API operation that triggered this event.
CorrelationRequestID *string
// name of the web site that had this event.
Name *string
// The request id generated by the app service for the site API operation that triggered this event.
RequestID *string
// HTTP verb of this operation.
Verb *string
}
WebBackupOperationStartedEventData - Schema of the Data property of an EventGridEvent for a Microsoft.Web.BackupOperationStarted event.
func (WebBackupOperationStartedEventData) MarshalJSON ¶
func (w WebBackupOperationStartedEventData) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type WebBackupOperationStartedEventData.
func (*WebBackupOperationStartedEventData) UnmarshalJSON ¶
func (w *WebBackupOperationStartedEventData) UnmarshalJSON(data []byte) error
UnmarshalJSON implements the json.Unmarshaller interface for type WebBackupOperationStartedEventData.
type WebRestoreOperationCompletedEventData ¶
type WebRestoreOperationCompletedEventData struct {
// HTTP request URL of this operation.
Address *string
// Detail of action on the app.
AppEventTypeDetail *AppEventTypeDetail
// The client request id generated by the app service for the site API operation that triggered this event.
ClientRequestID *string
// The correlation request id generated by the app service for the site API operation that triggered this event.
CorrelationRequestID *string
// name of the web site that had this event.
Name *string
// The request id generated by the app service for the site API operation that triggered this event.
RequestID *string
// HTTP verb of this operation.
Verb *string
}
WebRestoreOperationCompletedEventData - Schema of the Data property of an EventGridEvent for a Microsoft.Web.RestoreOperationCompleted event.
func (WebRestoreOperationCompletedEventData) MarshalJSON ¶
func (w WebRestoreOperationCompletedEventData) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type WebRestoreOperationCompletedEventData.
func (*WebRestoreOperationCompletedEventData) UnmarshalJSON ¶
func (w *WebRestoreOperationCompletedEventData) UnmarshalJSON(data []byte) error
UnmarshalJSON implements the json.Unmarshaller interface for type WebRestoreOperationCompletedEventData.
type WebRestoreOperationFailedEventData ¶
type WebRestoreOperationFailedEventData struct {
// HTTP request URL of this operation.
Address *string
// Detail of action on the app.
AppEventTypeDetail *AppEventTypeDetail
// The client request id generated by the app service for the site API operation that triggered this event.
ClientRequestID *string
// The correlation request id generated by the app service for the site API operation that triggered this event.
CorrelationRequestID *string
// name of the web site that had this event.
Name *string
// The request id generated by the app service for the site API operation that triggered this event.
RequestID *string
// HTTP verb of this operation.
Verb *string
}
WebRestoreOperationFailedEventData - Schema of the Data property of an EventGridEvent for a Microsoft.Web.RestoreOperationFailed event.
func (WebRestoreOperationFailedEventData) MarshalJSON ¶
func (w WebRestoreOperationFailedEventData) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type WebRestoreOperationFailedEventData.
func (*WebRestoreOperationFailedEventData) UnmarshalJSON ¶
func (w *WebRestoreOperationFailedEventData) UnmarshalJSON(data []byte) error
UnmarshalJSON implements the json.Unmarshaller interface for type WebRestoreOperationFailedEventData.
type WebRestoreOperationStartedEventData ¶
type WebRestoreOperationStartedEventData struct {
// HTTP request URL of this operation.
Address *string
// Detail of action on the app.
AppEventTypeDetail *AppEventTypeDetail
// The client request id generated by the app service for the site API operation that triggered this event.
ClientRequestID *string
// The correlation request id generated by the app service for the site API operation that triggered this event.
CorrelationRequestID *string
// name of the web site that had this event.
Name *string
// The request id generated by the app service for the site API operation that triggered this event.
RequestID *string
// HTTP verb of this operation.
Verb *string
}
WebRestoreOperationStartedEventData - Schema of the Data property of an EventGridEvent for a Microsoft.Web.RestoreOperationStarted event.
func (WebRestoreOperationStartedEventData) MarshalJSON ¶
func (w WebRestoreOperationStartedEventData) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type WebRestoreOperationStartedEventData.
func (*WebRestoreOperationStartedEventData) UnmarshalJSON ¶
func (w *WebRestoreOperationStartedEventData) UnmarshalJSON(data []byte) error
UnmarshalJSON implements the json.Unmarshaller interface for type WebRestoreOperationStartedEventData.
type WebSlotSwapCompletedEventData ¶
type WebSlotSwapCompletedEventData struct {
// HTTP request URL of this operation.
Address *string
// Detail of action on the app.
AppEventTypeDetail *AppEventTypeDetail
// The client request id generated by the app service for the site API operation that triggered this event.
ClientRequestID *string
// The correlation request id generated by the app service for the site API operation that triggered this event.
CorrelationRequestID *string
// name of the web site that had this event.
Name *string
// The request id generated by the app service for the site API operation that triggered this event.
RequestID *string
// HTTP verb of this operation.
Verb *string
}
WebSlotSwapCompletedEventData - Schema of the Data property of an EventGridEvent for a Microsoft.Web.SlotSwapCompleted event.
func (WebSlotSwapCompletedEventData) MarshalJSON ¶
func (w WebSlotSwapCompletedEventData) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type WebSlotSwapCompletedEventData.
func (*WebSlotSwapCompletedEventData) UnmarshalJSON ¶
func (w *WebSlotSwapCompletedEventData) UnmarshalJSON(data []byte) error
UnmarshalJSON implements the json.Unmarshaller interface for type WebSlotSwapCompletedEventData.
type WebSlotSwapFailedEventData ¶
type WebSlotSwapFailedEventData struct {
// HTTP request URL of this operation.
Address *string
// Detail of action on the app.
AppEventTypeDetail *AppEventTypeDetail
// The client request id generated by the app service for the site API operation that triggered this event.
ClientRequestID *string
// The correlation request id generated by the app service for the site API operation that triggered this event.
CorrelationRequestID *string
// name of the web site that had this event.
Name *string
// The request id generated by the app service for the site API operation that triggered this event.
RequestID *string
// HTTP verb of this operation.
Verb *string
}
WebSlotSwapFailedEventData - Schema of the Data property of an EventGridEvent for a Microsoft.Web.SlotSwapFailed event.
func (WebSlotSwapFailedEventData) MarshalJSON ¶
func (w WebSlotSwapFailedEventData) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type WebSlotSwapFailedEventData.
func (*WebSlotSwapFailedEventData) UnmarshalJSON ¶
func (w *WebSlotSwapFailedEventData) UnmarshalJSON(data []byte) error
UnmarshalJSON implements the json.Unmarshaller interface for type WebSlotSwapFailedEventData.
type WebSlotSwapStartedEventData ¶
type WebSlotSwapStartedEventData struct {
// HTTP request URL of this operation.
Address *string
// Detail of action on the app.
AppEventTypeDetail *AppEventTypeDetail
// The client request id generated by the app service for the site API operation that triggered this event.
ClientRequestID *string
// The correlation request id generated by the app service for the site API operation that triggered this event.
CorrelationRequestID *string
// name of the web site that had this event.
Name *string
// The request id generated by the app service for the site API operation that triggered this event.
RequestID *string
// HTTP verb of this operation.
Verb *string
}
WebSlotSwapStartedEventData - Schema of the Data property of an EventGridEvent for a Microsoft.Web.SlotSwapStarted event.
func (WebSlotSwapStartedEventData) MarshalJSON ¶
func (w WebSlotSwapStartedEventData) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type WebSlotSwapStartedEventData.
func (*WebSlotSwapStartedEventData) UnmarshalJSON ¶
func (w *WebSlotSwapStartedEventData) UnmarshalJSON(data []byte) error
UnmarshalJSON implements the json.Unmarshaller interface for type WebSlotSwapStartedEventData.
type WebSlotSwapWithPreviewCancelledEventData ¶
type WebSlotSwapWithPreviewCancelledEventData struct {
// HTTP request URL of this operation.
Address *string
// Detail of action on the app.
AppEventTypeDetail *AppEventTypeDetail
// The client request id generated by the app service for the site API operation that triggered this event.
ClientRequestID *string
// The correlation request id generated by the app service for the site API operation that triggered this event.
CorrelationRequestID *string
// name of the web site that had this event.
Name *string
// The request id generated by the app service for the site API operation that triggered this event.
RequestID *string
// HTTP verb of this operation.
Verb *string
}
WebSlotSwapWithPreviewCancelledEventData - Schema of the Data property of an EventGridEvent for a Microsoft.Web.SlotSwapWithPreviewCancelled event.
func (WebSlotSwapWithPreviewCancelledEventData) MarshalJSON ¶
func (w WebSlotSwapWithPreviewCancelledEventData) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type WebSlotSwapWithPreviewCancelledEventData.
func (*WebSlotSwapWithPreviewCancelledEventData) UnmarshalJSON ¶
func (w *WebSlotSwapWithPreviewCancelledEventData) UnmarshalJSON(data []byte) error
UnmarshalJSON implements the json.Unmarshaller interface for type WebSlotSwapWithPreviewCancelledEventData.
type WebSlotSwapWithPreviewStartedEventData ¶
type WebSlotSwapWithPreviewStartedEventData struct {
// HTTP request URL of this operation.
Address *string
// Detail of action on the app.
AppEventTypeDetail *AppEventTypeDetail
// The client request id generated by the app service for the site API operation that triggered this event.
ClientRequestID *string
// The correlation request id generated by the app service for the site API operation that triggered this event.
CorrelationRequestID *string
// name of the web site that had this event.
Name *string
// The request id generated by the app service for the site API operation that triggered this event.
RequestID *string
// HTTP verb of this operation.
Verb *string
}
WebSlotSwapWithPreviewStartedEventData - Schema of the Data property of an 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.