...

Package eventgrid

import "github.com/Azure/azure-sdk-for-go/services/eventgrid/2018-01-01/eventgrid"
Overview
Index
Subdirectories

Overview ▾

Package eventgrid implements the Azure ARM Eventgrid service API version 2018-01-01.

EventGrid Client

Index ▾

func UserAgent() string
func Version() string
type ACSChatEventBaseProperties
type ACSChatMemberAddedToThreadWithUserEventData
type ACSChatMemberRemovedFromThreadWithUserEventData
type ACSChatMessageDeletedEventData
type ACSChatMessageEditedEventData
type ACSChatMessageEventBaseProperties
type ACSChatMessageReceivedEventData
type ACSChatThreadCreatedWithUserEventData
    func (actcwued ACSChatThreadCreatedWithUserEventData) MarshalJSON() ([]byte, error)
type ACSChatThreadEventBaseProperties
type ACSChatThreadMemberProperties
type ACSChatThreadPropertiesUpdatedPerUserEventData
    func (actpupued ACSChatThreadPropertiesUpdatedPerUserEventData) MarshalJSON() ([]byte, error)
type ACSChatThreadWithUserDeletedEventData
type AcsSmsDeliveryAttemptProperties
type AcsSmsDeliveryReportReceivedEventData
type AcsSmsEventBaseProperties
type AcsSmsReceivedEventData
type AppAction
    func PossibleAppActionValues() []AppAction
type AppConfigurationKeyValueDeletedEventData
type AppConfigurationKeyValueModifiedEventData
type AppEventTypeDetail
type AppServicePlanAction
    func PossibleAppServicePlanActionValues() []AppServicePlanAction
type AppServicePlanEventTypeDetail
type AsyncStatus
    func PossibleAsyncStatusValues() []AsyncStatus
type BaseClient
    func New() BaseClient
    func NewWithoutDefaults() BaseClient
    func (client BaseClient) PublishCloudEventEvents(ctx context.Context, topicHostname string, events []CloudEventEvent) (result autorest.Response, err error)
    func (client BaseClient) PublishCloudEventEventsPreparer(ctx context.Context, topicHostname string, events []CloudEventEvent) (*http.Request, error)
    func (client BaseClient) PublishCloudEventEventsResponder(resp *http.Response) (result autorest.Response, err error)
    func (client BaseClient) PublishCloudEventEventsSender(req *http.Request) (*http.Response, error)
    func (client BaseClient) PublishCustomEventEvents(ctx context.Context, topicHostname string, events []interface{}) (result autorest.Response, err error)
    func (client BaseClient) PublishCustomEventEventsPreparer(ctx context.Context, topicHostname string, events []interface{}) (*http.Request, error)
    func (client BaseClient) PublishCustomEventEventsResponder(resp *http.Response) (result autorest.Response, err error)
    func (client BaseClient) PublishCustomEventEventsSender(req *http.Request) (*http.Response, error)
    func (client BaseClient) PublishEvents(ctx context.Context, topicHostname string, events []Event) (result autorest.Response, err error)
    func (client BaseClient) PublishEventsPreparer(ctx context.Context, topicHostname string, events []Event) (*http.Request, error)
    func (client BaseClient) PublishEventsResponder(resp *http.Response) (result autorest.Response, err error)
    func (client BaseClient) PublishEventsSender(req *http.Request) (*http.Response, error)
type BasicMediaJobOutput
type CloudEventEvent
    func (cee CloudEventEvent) MarshalJSON() ([]byte, error)
    func (cee *CloudEventEvent) UnmarshalJSON(body []byte) error
type ContainerRegistryArtifactEventData
type ContainerRegistryArtifactEventTarget
type ContainerRegistryChartDeletedEventData
type ContainerRegistryChartPushedEventData
type ContainerRegistryEventActor
type ContainerRegistryEventData
type ContainerRegistryEventRequest
type ContainerRegistryEventSource
type ContainerRegistryEventTarget
type ContainerRegistryImageDeletedEventData
type ContainerRegistryImagePushedEventData
type DeviceConnectionStateEventInfo
type DeviceConnectionStateEventProperties
type DeviceLifeCycleEventProperties
type DeviceTelemetryEventProperties
    func (dtep DeviceTelemetryEventProperties) MarshalJSON() ([]byte, error)
type DeviceTwinInfo
type DeviceTwinInfoProperties
type DeviceTwinInfoX509Thumbprint
type DeviceTwinMetadata
type DeviceTwinProperties
type Event
    func (e Event) MarshalJSON() ([]byte, error)
type EventHubCaptureFileCreatedEventData
type IotHubDeviceConnectedEventData
type IotHubDeviceCreatedEventData
type IotHubDeviceDeletedEventData
type IotHubDeviceDisconnectedEventData
type IotHubDeviceTelemetryEventData
    func (ihdted IotHubDeviceTelemetryEventData) MarshalJSON() ([]byte, error)
type KeyVaultCertificateExpiredEventData
type KeyVaultCertificateNearExpiryEventData
type KeyVaultCertificateNewVersionCreatedEventData
type KeyVaultKeyExpiredEventData
type KeyVaultKeyNearExpiryEventData
type KeyVaultKeyNewVersionCreatedEventData
type KeyVaultSecretExpiredEventData
type KeyVaultSecretNearExpiryEventData
type KeyVaultSecretNewVersionCreatedEventData
type KeyVaultVaultAccessPolicyChangedEventData
type MachineLearningServicesDatasetDriftDetectedEventData
type MachineLearningServicesModelDeployedEventData
type MachineLearningServicesModelRegisteredEventData
type MachineLearningServicesRunCompletedEventData
type MachineLearningServicesRunStatusChangedEventData
type MapsGeofenceEnteredEventData
type MapsGeofenceEventProperties
type MapsGeofenceExitedEventData
type MapsGeofenceGeometry
type MapsGeofenceResultEventData
type MediaJobCanceledEventData
    func (mjced MediaJobCanceledEventData) MarshalJSON() ([]byte, error)
    func (mjced *MediaJobCanceledEventData) UnmarshalJSON(body []byte) error
type MediaJobCancelingEventData
    func (mjced MediaJobCancelingEventData) MarshalJSON() ([]byte, error)
type MediaJobError
    func (mje MediaJobError) MarshalJSON() ([]byte, error)
type MediaJobErrorCategory
    func PossibleMediaJobErrorCategoryValues() []MediaJobErrorCategory
type MediaJobErrorCode
    func PossibleMediaJobErrorCodeValues() []MediaJobErrorCode
type MediaJobErrorDetail
    func (mjed MediaJobErrorDetail) MarshalJSON() ([]byte, error)
type MediaJobErroredEventData
    func (mjeed MediaJobErroredEventData) MarshalJSON() ([]byte, error)
    func (mjeed *MediaJobErroredEventData) UnmarshalJSON(body []byte) error
type MediaJobFinishedEventData
    func (mjfed MediaJobFinishedEventData) MarshalJSON() ([]byte, error)
    func (mjfed *MediaJobFinishedEventData) UnmarshalJSON(body []byte) error
type MediaJobOutput
    func (mjo MediaJobOutput) AsBasicMediaJobOutput() (BasicMediaJobOutput, bool)
    func (mjo MediaJobOutput) AsMediaJobOutput() (*MediaJobOutput, bool)
    func (mjo MediaJobOutput) AsMediaJobOutputAsset() (*MediaJobOutputAsset, bool)
    func (mjo MediaJobOutput) MarshalJSON() ([]byte, error)
type MediaJobOutputAsset
    func (mjoa MediaJobOutputAsset) AsBasicMediaJobOutput() (BasicMediaJobOutput, bool)
    func (mjoa MediaJobOutputAsset) AsMediaJobOutput() (*MediaJobOutput, bool)
    func (mjoa MediaJobOutputAsset) AsMediaJobOutputAsset() (*MediaJobOutputAsset, bool)
    func (mjoa MediaJobOutputAsset) MarshalJSON() ([]byte, error)
type MediaJobOutputCanceledEventData
    func (mjoced MediaJobOutputCanceledEventData) MarshalJSON() ([]byte, error)
    func (mjoced *MediaJobOutputCanceledEventData) UnmarshalJSON(body []byte) error
type MediaJobOutputCancelingEventData
    func (mjoced MediaJobOutputCancelingEventData) MarshalJSON() ([]byte, error)
    func (mjoced *MediaJobOutputCancelingEventData) UnmarshalJSON(body []byte) error
type MediaJobOutputErroredEventData
    func (mjoeed MediaJobOutputErroredEventData) MarshalJSON() ([]byte, error)
    func (mjoeed *MediaJobOutputErroredEventData) UnmarshalJSON(body []byte) error
type MediaJobOutputFinishedEventData
    func (mjofed MediaJobOutputFinishedEventData) MarshalJSON() ([]byte, error)
    func (mjofed *MediaJobOutputFinishedEventData) UnmarshalJSON(body []byte) error
type MediaJobOutputProcessingEventData
    func (mjoped MediaJobOutputProcessingEventData) MarshalJSON() ([]byte, error)
    func (mjoped *MediaJobOutputProcessingEventData) UnmarshalJSON(body []byte) error
type MediaJobOutputProgressEventData
    func (mjoped MediaJobOutputProgressEventData) MarshalJSON() ([]byte, error)
type MediaJobOutputScheduledEventData
    func (mjosed MediaJobOutputScheduledEventData) MarshalJSON() ([]byte, error)
    func (mjosed *MediaJobOutputScheduledEventData) UnmarshalJSON(body []byte) error
type MediaJobOutputStateChangeEventData
    func (mjosced MediaJobOutputStateChangeEventData) MarshalJSON() ([]byte, error)
    func (mjosced *MediaJobOutputStateChangeEventData) UnmarshalJSON(body []byte) error
type MediaJobProcessingEventData
    func (mjped MediaJobProcessingEventData) MarshalJSON() ([]byte, error)
type MediaJobRetry
    func PossibleMediaJobRetryValues() []MediaJobRetry
type MediaJobScheduledEventData
    func (mjsed MediaJobScheduledEventData) MarshalJSON() ([]byte, error)
type MediaJobState
    func PossibleMediaJobStateValues() []MediaJobState
type MediaJobStateChangeEventData
    func (mjsced MediaJobStateChangeEventData) MarshalJSON() ([]byte, error)
type MediaLiveEventConnectionRejectedEventData
    func (mlecred MediaLiveEventConnectionRejectedEventData) MarshalJSON() ([]byte, error)
type MediaLiveEventEncoderConnectedEventData
    func (mleeced MediaLiveEventEncoderConnectedEventData) MarshalJSON() ([]byte, error)
type MediaLiveEventEncoderDisconnectedEventData
    func (mleeded MediaLiveEventEncoderDisconnectedEventData) MarshalJSON() ([]byte, error)
type MediaLiveEventIncomingDataChunkDroppedEventData
    func (mleidcded MediaLiveEventIncomingDataChunkDroppedEventData) MarshalJSON() ([]byte, error)
type MediaLiveEventIncomingStreamReceivedEventData
    func (mleisred MediaLiveEventIncomingStreamReceivedEventData) MarshalJSON() ([]byte, error)
type MediaLiveEventIncomingStreamsOutOfSyncEventData
    func (mleisoosed MediaLiveEventIncomingStreamsOutOfSyncEventData) MarshalJSON() ([]byte, error)
type MediaLiveEventIncomingVideoStreamsOutOfSyncEventData
    func (mleivsoosed MediaLiveEventIncomingVideoStreamsOutOfSyncEventData) MarshalJSON() ([]byte, error)
type MediaLiveEventIngestHeartbeatEventData
    func (mleihed MediaLiveEventIngestHeartbeatEventData) MarshalJSON() ([]byte, error)
type MediaLiveEventTrackDiscontinuityDetectedEventData
    func (mletdded MediaLiveEventTrackDiscontinuityDetectedEventData) MarshalJSON() ([]byte, error)
type OdataType
    func PossibleOdataTypeValues() []OdataType
type RedisExportRDBCompletedEventData
type RedisImportRDBCompletedEventData
type RedisPatchingCompletedEventData
type RedisScalingCompletedEventData
type ResourceActionCancelData
type ResourceActionFailureData
type ResourceActionSuccessData
type ResourceDeleteCancelData
type ResourceDeleteFailureData
type ResourceDeleteSuccessData
type ResourceWriteCancelData
type ResourceWriteFailureData
type ResourceWriteSuccessData
type ServiceBusActiveMessagesAvailableWithNoListenersEventData
type ServiceBusDeadletterMessagesAvailableWithNoListenersEventData
type SignalRServiceClientConnectionConnectedEventData
type SignalRServiceClientConnectionDisconnectedEventData
type StampKind
    func PossibleStampKindValues() []StampKind
type StorageBlobCreatedEventData
type StorageBlobDeletedEventData
type StorageBlobRenamedEventData
type StorageDirectoryCreatedEventData
type StorageDirectoryDeletedEventData
type StorageDirectoryRenamedEventData
type StorageLifecyclePolicyActionSummaryDetail
type StorageLifecyclePolicyCompletedEventData
type SubscriptionDeletedEventData
    func (sded SubscriptionDeletedEventData) MarshalJSON() ([]byte, error)
type SubscriptionValidationEventData
    func (sved SubscriptionValidationEventData) MarshalJSON() ([]byte, error)
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

Package files

client.go enums.go models.go version.go

func UserAgent

func UserAgent() string

UserAgent returns the UserAgent string to use when sending http.Requests.

func Version

func Version() string

Version returns the semantic version (see http://semver.org) of the client.

type ACSChatEventBaseProperties

ACSChatEventBaseProperties schema of common properties of all chat events

type ACSChatEventBaseProperties struct {
    // RecipientID - The MRI of the target user
    RecipientID *string `json:"recipientId,omitempty"`
    // TransactionID - The transaction id will be used as co-relation vector
    TransactionID *string `json:"transactionId,omitempty"`
    // ThreadID - The chat thread id
    ThreadID *string `json:"threadId,omitempty"`
}

type ACSChatMemberAddedToThreadWithUserEventData

ACSChatMemberAddedToThreadWithUserEventData schema of the Data property of an EventGridEvent for an Microsoft.Communication.ChatMemberAddedToThreadWithUser event.

type ACSChatMemberAddedToThreadWithUserEventData struct {
    // Time - The time at which the user was added to the thread
    Time *date.Time `json:"time,omitempty"`
    // AddedBy - The MRI of the user who added the user
    AddedBy *string `json:"addedBy,omitempty"`
    // MemberAdded - The details of the user who was added
    MemberAdded *ACSChatThreadMemberProperties `json:"memberAdded,omitempty"`
    // CreateTime - The original creation time of the thread
    CreateTime *date.Time `json:"createTime,omitempty"`
    // Version - The version of the thread
    Version *int64 `json:"version,omitempty"`
    // RecipientID - The MRI of the target user
    RecipientID *string `json:"recipientId,omitempty"`
    // TransactionID - The transaction id will be used as co-relation vector
    TransactionID *string `json:"transactionId,omitempty"`
    // ThreadID - The chat thread id
    ThreadID *string `json:"threadId,omitempty"`
}

type ACSChatMemberRemovedFromThreadWithUserEventData

ACSChatMemberRemovedFromThreadWithUserEventData schema of the Data property of an EventGridEvent for an Microsoft.Communication.ChatMemberRemovedFromThreadWithUser event.

type ACSChatMemberRemovedFromThreadWithUserEventData struct {
    // Time - The time at which the user was removed to the thread
    Time *date.Time `json:"time,omitempty"`
    // RemovedBy - The MRI of the user who removed the user
    RemovedBy *string `json:"removedBy,omitempty"`
    // MemberRemoved - The details of the user who was removed
    MemberRemoved *ACSChatThreadMemberProperties `json:"memberRemoved,omitempty"`
    // CreateTime - The original creation time of the thread
    CreateTime *date.Time `json:"createTime,omitempty"`
    // Version - The version of the thread
    Version *int64 `json:"version,omitempty"`
    // RecipientID - The MRI of the target user
    RecipientID *string `json:"recipientId,omitempty"`
    // TransactionID - The transaction id will be used as co-relation vector
    TransactionID *string `json:"transactionId,omitempty"`
    // ThreadID - The chat thread id
    ThreadID *string `json:"threadId,omitempty"`
}

type ACSChatMessageDeletedEventData

ACSChatMessageDeletedEventData schema of the Data property of an EventGridEvent for an Microsoft.Communication.ChatMessageDeleted event.

type ACSChatMessageDeletedEventData struct {
    // DeleteTime - The time at which the message was deleted
    DeleteTime *date.Time `json:"deleteTime,omitempty"`
    // MessageID - The chat message id
    MessageID *string `json:"messageId,omitempty"`
    // SenderID - The MRI of the sender
    SenderID *string `json:"senderId,omitempty"`
    // SenderDisplayName - The display name of the sender
    SenderDisplayName *string `json:"senderDisplayName,omitempty"`
    // ComposeTime - The original compose time of the message
    ComposeTime *date.Time `json:"composeTime,omitempty"`
    // Type - The type of the message
    Type *string `json:"type,omitempty"`
    // Version - The version of the message
    Version *int64 `json:"version,omitempty"`
    // RecipientID - The MRI of the target user
    RecipientID *string `json:"recipientId,omitempty"`
    // TransactionID - The transaction id will be used as co-relation vector
    TransactionID *string `json:"transactionId,omitempty"`
    // ThreadID - The chat thread id
    ThreadID *string `json:"threadId,omitempty"`
}

type ACSChatMessageEditedEventData

ACSChatMessageEditedEventData schema of the Data property of an EventGridEvent for an Microsoft.Communication.ChatMessageEdited event.

type ACSChatMessageEditedEventData struct {
    // MessageBody - The body of the chat message
    MessageBody *string `json:"messageBody,omitempty"`
    // EditTime - The time at which the message was edited
    EditTime *date.Time `json:"editTime,omitempty"`
    // MessageID - The chat message id
    MessageID *string `json:"messageId,omitempty"`
    // SenderID - The MRI of the sender
    SenderID *string `json:"senderId,omitempty"`
    // SenderDisplayName - The display name of the sender
    SenderDisplayName *string `json:"senderDisplayName,omitempty"`
    // ComposeTime - The original compose time of the message
    ComposeTime *date.Time `json:"composeTime,omitempty"`
    // Type - The type of the message
    Type *string `json:"type,omitempty"`
    // Version - The version of the message
    Version *int64 `json:"version,omitempty"`
    // RecipientID - The MRI of the target user
    RecipientID *string `json:"recipientId,omitempty"`
    // TransactionID - The transaction id will be used as co-relation vector
    TransactionID *string `json:"transactionId,omitempty"`
    // ThreadID - The chat thread id
    ThreadID *string `json:"threadId,omitempty"`
}

type ACSChatMessageEventBaseProperties

ACSChatMessageEventBaseProperties schema of common properties of all chat message events

type ACSChatMessageEventBaseProperties struct {
    // MessageID - The chat message id
    MessageID *string `json:"messageId,omitempty"`
    // SenderID - The MRI of the sender
    SenderID *string `json:"senderId,omitempty"`
    // SenderDisplayName - The display name of the sender
    SenderDisplayName *string `json:"senderDisplayName,omitempty"`
    // ComposeTime - The original compose time of the message
    ComposeTime *date.Time `json:"composeTime,omitempty"`
    // Type - The type of the message
    Type *string `json:"type,omitempty"`
    // Version - The version of the message
    Version *int64 `json:"version,omitempty"`
    // RecipientID - The MRI of the target user
    RecipientID *string `json:"recipientId,omitempty"`
    // TransactionID - The transaction id will be used as co-relation vector
    TransactionID *string `json:"transactionId,omitempty"`
    // ThreadID - The chat thread id
    ThreadID *string `json:"threadId,omitempty"`
}

type ACSChatMessageReceivedEventData

ACSChatMessageReceivedEventData schema of the Data property of an EventGridEvent for an Microsoft.Communication.ChatMessageReceived event.

type ACSChatMessageReceivedEventData struct {
    // MessageBody - The body of the chat message
    MessageBody *string `json:"messageBody,omitempty"`
    // MessageID - The chat message id
    MessageID *string `json:"messageId,omitempty"`
    // SenderID - The MRI of the sender
    SenderID *string `json:"senderId,omitempty"`
    // SenderDisplayName - The display name of the sender
    SenderDisplayName *string `json:"senderDisplayName,omitempty"`
    // ComposeTime - The original compose time of the message
    ComposeTime *date.Time `json:"composeTime,omitempty"`
    // Type - The type of the message
    Type *string `json:"type,omitempty"`
    // Version - The version of the message
    Version *int64 `json:"version,omitempty"`
    // RecipientID - The MRI of the target user
    RecipientID *string `json:"recipientId,omitempty"`
    // TransactionID - The transaction id will be used as co-relation vector
    TransactionID *string `json:"transactionId,omitempty"`
    // ThreadID - The chat thread id
    ThreadID *string `json:"threadId,omitempty"`
}

type ACSChatThreadCreatedWithUserEventData

ACSChatThreadCreatedWithUserEventData schema of the Data property of an EventGridEvent for an Microsoft.Communication.ChatThreadCreatedWithUser event.

type ACSChatThreadCreatedWithUserEventData struct {
    // CreatedBy - The MRI of the creator of the thread
    CreatedBy *string `json:"createdBy,omitempty"`
    // Properties - The thread properties
    Properties map[string]interface{} `json:"properties"`
    // Members - The list of properties of users who are part of the thread
    Members *[]ACSChatThreadMemberProperties `json:"members,omitempty"`
    // CreateTime - The original creation time of the thread
    CreateTime *date.Time `json:"createTime,omitempty"`
    // Version - The version of the thread
    Version *int64 `json:"version,omitempty"`
    // RecipientID - The MRI of the target user
    RecipientID *string `json:"recipientId,omitempty"`
    // TransactionID - The transaction id will be used as co-relation vector
    TransactionID *string `json:"transactionId,omitempty"`
    // ThreadID - The chat thread id
    ThreadID *string `json:"threadId,omitempty"`
}

func (ACSChatThreadCreatedWithUserEventData) MarshalJSON

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

MarshalJSON is the custom marshaler for ACSChatThreadCreatedWithUserEventData.

type ACSChatThreadEventBaseProperties

ACSChatThreadEventBaseProperties schema of common properties of all chat thread events

type ACSChatThreadEventBaseProperties struct {
    // CreateTime - The original creation time of the thread
    CreateTime *date.Time `json:"createTime,omitempty"`
    // Version - The version of the thread
    Version *int64 `json:"version,omitempty"`
    // RecipientID - The MRI of the target user
    RecipientID *string `json:"recipientId,omitempty"`
    // TransactionID - The transaction id will be used as co-relation vector
    TransactionID *string `json:"transactionId,omitempty"`
    // ThreadID - The chat thread id
    ThreadID *string `json:"threadId,omitempty"`
}

type ACSChatThreadMemberProperties

ACSChatThreadMemberProperties schema of the chat thread member

type ACSChatThreadMemberProperties struct {
    // DisplayName - The name of the user
    DisplayName *string `json:"displayName,omitempty"`
    // MemberID - The MRI of the user
    MemberID *string `json:"memberId,omitempty"`
}

type ACSChatThreadPropertiesUpdatedPerUserEventData

ACSChatThreadPropertiesUpdatedPerUserEventData schema of the Data property of an EventGridEvent for an Microsoft.Communication.ChatThreadPropertiesUpdatedPerUser event.

type ACSChatThreadPropertiesUpdatedPerUserEventData struct {
    // EditedBy - The MRI of the user who updated the thread properties
    EditedBy *string `json:"editedBy,omitempty"`
    // EditTime - The time at which the properties of the thread were updated
    EditTime *date.Time `json:"editTime,omitempty"`
    // Properties - The updated thread properties
    Properties map[string]interface{} `json:"properties"`
    // CreateTime - The original creation time of the thread
    CreateTime *date.Time `json:"createTime,omitempty"`
    // Version - The version of the thread
    Version *int64 `json:"version,omitempty"`
    // RecipientID - The MRI of the target user
    RecipientID *string `json:"recipientId,omitempty"`
    // TransactionID - The transaction id will be used as co-relation vector
    TransactionID *string `json:"transactionId,omitempty"`
    // ThreadID - The chat thread id
    ThreadID *string `json:"threadId,omitempty"`
}

func (ACSChatThreadPropertiesUpdatedPerUserEventData) MarshalJSON

func (actpupued ACSChatThreadPropertiesUpdatedPerUserEventData) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ACSChatThreadPropertiesUpdatedPerUserEventData.

type ACSChatThreadWithUserDeletedEventData

ACSChatThreadWithUserDeletedEventData schema of the Data property of an EventGridEvent for an Microsoft.Communication.ChatThreadWithUserDeleted event.

type ACSChatThreadWithUserDeletedEventData struct {
    // DeletedBy - The MRI of the user who deleted the thread
    DeletedBy *string `json:"deletedBy,omitempty"`
    // DeleteTime - The deletion time of the thread
    DeleteTime *date.Time `json:"deleteTime,omitempty"`
    // CreateTime - The original creation time of the thread
    CreateTime *date.Time `json:"createTime,omitempty"`
    // Version - The version of the thread
    Version *int64 `json:"version,omitempty"`
    // RecipientID - The MRI of the target user
    RecipientID *string `json:"recipientId,omitempty"`
    // TransactionID - The transaction id will be used as co-relation vector
    TransactionID *string `json:"transactionId,omitempty"`
    // ThreadID - The chat thread id
    ThreadID *string `json:"threadId,omitempty"`
}

type AcsSmsDeliveryAttemptProperties

AcsSmsDeliveryAttemptProperties schema for details of a delivery attempt

type AcsSmsDeliveryAttemptProperties struct {
    // Timestamp - TimeStamp when delivery was attempted
    Timestamp *date.Time `json:"timestamp,omitempty"`
    // SegmentsSucceeded - Number of segments that were successfully delivered
    SegmentsSucceeded *int32 `json:"segmentsSucceeded,omitempty"`
    // SegmentsFailed - Number of segments whose delivery failed
    SegmentsFailed *int32 `json:"segmentsFailed,omitempty"`
}

type AcsSmsDeliveryReportReceivedEventData

AcsSmsDeliveryReportReceivedEventData schema of the Data property of an EventGridEvent for an Microsoft.Communication.SMSDeliveryReportReceived event.

type AcsSmsDeliveryReportReceivedEventData struct {
    // DeliveryStatus - Status of Delivery
    DeliveryStatus *string `json:"deliveryStatus,omitempty"`
    // DeliveryStatusDetails - Details about Delivery Status
    DeliveryStatusDetails *string `json:"deliveryStatusDetails,omitempty"`
    // DeliveryAttempts - List of details of delivery attempts made
    DeliveryAttempts *[]AcsSmsDeliveryAttemptProperties `json:"deliveryAttempts,omitempty"`
    // ReceivedTimestamp - The time at which the SMS delivery report was received
    ReceivedTimestamp *date.Time `json:"receivedTimestamp,omitempty"`
    // MessageID - The identity of the SMS message
    MessageID *string `json:"messageId,omitempty"`
    // From - The identity of SMS message sender
    From *string `json:"from,omitempty"`
    // To - The identity of SMS message receiver
    To *string `json:"to,omitempty"`
}

type AcsSmsEventBaseProperties

AcsSmsEventBaseProperties schema of common properties of all SMS events

type AcsSmsEventBaseProperties struct {
    // MessageID - The identity of the SMS message
    MessageID *string `json:"messageId,omitempty"`
    // From - The identity of SMS message sender
    From *string `json:"from,omitempty"`
    // To - The identity of SMS message receiver
    To *string `json:"to,omitempty"`
}

type AcsSmsReceivedEventData

AcsSmsReceivedEventData schema of the Data property of an EventGridEvent for an Microsoft.Communication.SMSReceived event.

type AcsSmsReceivedEventData struct {
    // Message - The SMS content
    Message *string `json:"message,omitempty"`
    // ReceivedTimestamp - The time at which the SMS was received
    ReceivedTimestamp *date.Time `json:"receivedTimestamp,omitempty"`
    // MessageID - The identity of the SMS message
    MessageID *string `json:"messageId,omitempty"`
    // From - The identity of SMS message sender
    From *string `json:"from,omitempty"`
    // To - The identity of SMS message receiver
    To *string `json:"to,omitempty"`
}

type AppAction

AppAction enumerates the values for app action.

type AppAction string
const (
    // ChangedAppSettings There was an operation to change app setting on the web app.
    ChangedAppSettings AppAction = "ChangedAppSettings"
    // Completed The job has completed.
    Completed AppAction = "Completed"
    // Failed The job has failed to complete.
    Failed AppAction = "Failed"
    // Restarted Web app was restarted.
    Restarted AppAction = "Restarted"
    // Started The job has started.
    Started AppAction = "Started"
    // Stopped Web app was stopped.
    Stopped AppAction = "Stopped"
)

func PossibleAppActionValues

func PossibleAppActionValues() []AppAction

PossibleAppActionValues returns an array of possible values for the AppAction const type.

type AppConfigurationKeyValueDeletedEventData

AppConfigurationKeyValueDeletedEventData schema of the Data property of an EventGridEvent for an Microsoft.AppConfiguration.KeyValueDeleted event.

type AppConfigurationKeyValueDeletedEventData struct {
    // Key - The key used to identify the key-value that was deleted.
    Key *string `json:"key,omitempty"`
    // Label - The label, if any, used to identify the key-value that was deleted.
    Label *string `json:"label,omitempty"`
    // Etag - The etag representing the key-value that was deleted.
    Etag *string `json:"etag,omitempty"`
}

type AppConfigurationKeyValueModifiedEventData

AppConfigurationKeyValueModifiedEventData schema of the Data property of an EventGridEvent for an Microsoft.AppConfiguration.KeyValueModified event.

type AppConfigurationKeyValueModifiedEventData struct {
    // Key - The key used to identify the key-value that was modified.
    Key *string `json:"key,omitempty"`
    // Label - The label, if any, used to identify the key-value that was modified.
    Label *string `json:"label,omitempty"`
    // Etag - The etag representing the new state of the key-value.
    Etag *string `json:"etag,omitempty"`
}

type AppEventTypeDetail

AppEventTypeDetail detail of action on the app.

type AppEventTypeDetail struct {
    // Action - Type of action of the operation. Possible values include: 'Restarted', 'Stopped', 'ChangedAppSettings', 'Started', 'Completed', 'Failed'
    Action AppAction `json:"action,omitempty"`
}

type AppServicePlanAction

AppServicePlanAction enumerates the values for app service plan action.

type AppServicePlanAction string
const (
    // Updated App Service plan is being updated.
    Updated AppServicePlanAction = "Updated"
)

func PossibleAppServicePlanActionValues

func PossibleAppServicePlanActionValues() []AppServicePlanAction

PossibleAppServicePlanActionValues returns an array of possible values for the AppServicePlanAction const type.

type AppServicePlanEventTypeDetail

AppServicePlanEventTypeDetail detail of action on the app service plan.

type AppServicePlanEventTypeDetail struct {
    // StampKind - Kind of environment where app service plan is. Possible values include: 'Public', 'AseV1', 'AseV2'
    StampKind StampKind `json:"stampKind,omitempty"`
    // Action - Type of action on the app service plan. Possible values include: 'Updated'
    Action AppServicePlanAction `json:"action,omitempty"`
    // Status - Possible values include: 'AsyncStatusStarted', 'AsyncStatusCompleted', 'AsyncStatusFailed'
    Status AsyncStatus `json:"status,omitempty"`
}

type AsyncStatus

AsyncStatus enumerates the values for async status.

type AsyncStatus string
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 an array of possible values for the AsyncStatus const type.

type BaseClient

BaseClient is the base client for Eventgrid.

type BaseClient struct {
    autorest.Client
}

func New

func New() BaseClient

New creates an instance of the BaseClient client.

func NewWithoutDefaults

func NewWithoutDefaults() BaseClient

NewWithoutDefaults creates an instance of the BaseClient client.

func (BaseClient) PublishCloudEventEvents

func (client BaseClient) PublishCloudEventEvents(ctx context.Context, topicHostname string, events []CloudEventEvent) (result autorest.Response, err error)

PublishCloudEventEvents publishes a batch of events to an Azure Event Grid topic. Parameters: topicHostname - the host name of the topic, e.g. topic1.westus2-1.eventgrid.azure.net events - an array of events to be published to Event Grid.

func (BaseClient) PublishCloudEventEventsPreparer

func (client BaseClient) PublishCloudEventEventsPreparer(ctx context.Context, topicHostname string, events []CloudEventEvent) (*http.Request, error)

PublishCloudEventEventsPreparer prepares the PublishCloudEventEvents request.

func (BaseClient) PublishCloudEventEventsResponder

func (client BaseClient) PublishCloudEventEventsResponder(resp *http.Response) (result autorest.Response, err error)

PublishCloudEventEventsResponder handles the response to the PublishCloudEventEvents request. The method always closes the http.Response Body.

func (BaseClient) PublishCloudEventEventsSender

func (client BaseClient) PublishCloudEventEventsSender(req *http.Request) (*http.Response, error)

PublishCloudEventEventsSender sends the PublishCloudEventEvents request. The method will close the http.Response Body if it receives an error.

func (BaseClient) PublishCustomEventEvents

func (client BaseClient) PublishCustomEventEvents(ctx context.Context, topicHostname string, events []interface{}) (result autorest.Response, err error)

PublishCustomEventEvents publishes a batch of events to an Azure Event Grid topic. Parameters: topicHostname - the host name of the topic, e.g. topic1.westus2-1.eventgrid.azure.net events - an array of events to be published to Event Grid.

func (BaseClient) PublishCustomEventEventsPreparer

func (client BaseClient) PublishCustomEventEventsPreparer(ctx context.Context, topicHostname string, events []interface{}) (*http.Request, error)

PublishCustomEventEventsPreparer prepares the PublishCustomEventEvents request.

func (BaseClient) PublishCustomEventEventsResponder

func (client BaseClient) PublishCustomEventEventsResponder(resp *http.Response) (result autorest.Response, err error)

PublishCustomEventEventsResponder handles the response to the PublishCustomEventEvents request. The method always closes the http.Response Body.

func (BaseClient) PublishCustomEventEventsSender

func (client BaseClient) PublishCustomEventEventsSender(req *http.Request) (*http.Response, error)

PublishCustomEventEventsSender sends the PublishCustomEventEvents request. The method will close the http.Response Body if it receives an error.

func (BaseClient) PublishEvents

func (client BaseClient) PublishEvents(ctx context.Context, topicHostname string, events []Event) (result autorest.Response, err error)

PublishEvents publishes a batch of events to an Azure Event Grid topic. Parameters: topicHostname - the host name of the topic, e.g. topic1.westus2-1.eventgrid.azure.net events - an array of events to be published to Event Grid.

func (BaseClient) PublishEventsPreparer

func (client BaseClient) PublishEventsPreparer(ctx context.Context, topicHostname string, events []Event) (*http.Request, error)

PublishEventsPreparer prepares the PublishEvents request.

func (BaseClient) PublishEventsResponder

func (client BaseClient) PublishEventsResponder(resp *http.Response) (result autorest.Response, err error)

PublishEventsResponder handles the response to the PublishEvents request. The method always closes the http.Response Body.

func (BaseClient) PublishEventsSender

func (client BaseClient) PublishEventsSender(req *http.Request) (*http.Response, error)

PublishEventsSender sends the PublishEvents request. The method will close the http.Response Body if it receives an error.

type BasicMediaJobOutput

BasicMediaJobOutput the event data for a Job output.

type BasicMediaJobOutput interface {
    AsMediaJobOutputAsset() (*MediaJobOutputAsset, bool)
    AsMediaJobOutput() (*MediaJobOutput, bool)
}

type CloudEventEvent

CloudEventEvent properties of an event published to an Event Grid topic using the CloudEvent 1.0 Schema

type CloudEventEvent struct {
    // AdditionalProperties - Unmatched properties from the message are deserialized this collection
    AdditionalProperties map[string]interface{} `json:""`
    // ID - An identifier for the event. The combination of id and source must be unique for each distinct event.
    ID *string `json:"id,omitempty"`
    // Source - Identifies the context in which an event happened. The combination of id and source must be unique for each distinct event.
    Source *string `json:"source,omitempty"`
    // Data - Event data specific to the event type.
    Data interface{} `json:"data,omitempty"`
    // DataBase64 - Event data specific to the event type, encoded as a base64 string.
    DataBase64 *[]byte `json:"data_base64,omitempty"`
    // Type - Type of event related to the originating occurrence.
    Type *string `json:"type,omitempty"`
    // Time - The time (in UTC) the event was generated, in RFC3339 format.
    Time *date.Time `json:"time,omitempty"`
    // Specversion - The version of the CloudEvents specification which the event uses.
    Specversion *string `json:"specversion,omitempty"`
    // Dataschema - Identifies the schema that data adheres to.
    Dataschema *string `json:"dataschema,omitempty"`
    // Datacontenttype - Content type of data value.
    Datacontenttype *string `json:"datacontenttype,omitempty"`
    // Subject - This describes the subject of the event in the context of the event producer (identified by source).
    Subject *string `json:"subject,omitempty"`
}

func (CloudEventEvent) MarshalJSON

func (cee CloudEventEvent) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for CloudEventEvent.

func (*CloudEventEvent) UnmarshalJSON

func (cee *CloudEventEvent) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for CloudEventEvent struct.

type ContainerRegistryArtifactEventData

ContainerRegistryArtifactEventData the content of the event request message.

type ContainerRegistryArtifactEventData struct {
    // ID - The event ID.
    ID *string `json:"id,omitempty"`
    // Timestamp - The time at which the event occurred.
    Timestamp *date.Time `json:"timestamp,omitempty"`
    // Action - The action that encompasses the provided event.
    Action *string `json:"action,omitempty"`
    // Target - The target of the event.
    Target *ContainerRegistryArtifactEventTarget `json:"target,omitempty"`
}

type ContainerRegistryArtifactEventTarget

ContainerRegistryArtifactEventTarget the target of the event.

type ContainerRegistryArtifactEventTarget struct {
    // MediaType - The MIME type of the artifact.
    MediaType *string `json:"mediaType,omitempty"`
    // Size - The size in bytes of the artifact.
    Size *int64 `json:"size,omitempty"`
    // Digest - The digest of the artifact.
    Digest *string `json:"digest,omitempty"`
    // Repository - The repository name of the artifact.
    Repository *string `json:"repository,omitempty"`
    // Tag - The tag of the artifact.
    Tag *string `json:"tag,omitempty"`
    // Name - The name of the artifact.
    Name *string `json:"name,omitempty"`
    // Version - The version of the artifact.
    Version *string `json:"version,omitempty"`
}

type ContainerRegistryChartDeletedEventData

ContainerRegistryChartDeletedEventData schema of the Data property of an EventGridEvent for a Microsoft.ContainerRegistry.ChartDeleted event.

type ContainerRegistryChartDeletedEventData struct {
    // ID - The event ID.
    ID *string `json:"id,omitempty"`
    // Timestamp - The time at which the event occurred.
    Timestamp *date.Time `json:"timestamp,omitempty"`
    // Action - The action that encompasses the provided event.
    Action *string `json:"action,omitempty"`
    // Target - The target of the event.
    Target *ContainerRegistryArtifactEventTarget `json:"target,omitempty"`
}

type ContainerRegistryChartPushedEventData

ContainerRegistryChartPushedEventData schema of the Data property of an EventGridEvent for a Microsoft.ContainerRegistry.ChartPushed event.

type ContainerRegistryChartPushedEventData struct {
    // ID - The event ID.
    ID *string `json:"id,omitempty"`
    // Timestamp - The time at which the event occurred.
    Timestamp *date.Time `json:"timestamp,omitempty"`
    // Action - The action that encompasses the provided event.
    Action *string `json:"action,omitempty"`
    // Target - The target of the event.
    Target *ContainerRegistryArtifactEventTarget `json:"target,omitempty"`
}

type ContainerRegistryEventActor

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

type ContainerRegistryEventActor struct {
    // Name - The subject or username associated with the request context that generated the event.
    Name *string `json:"name,omitempty"`
}

type ContainerRegistryEventData

ContainerRegistryEventData the content of the event request message.

type ContainerRegistryEventData struct {
    // ID - The event ID.
    ID *string `json:"id,omitempty"`
    // Timestamp - The time at which the event occurred.
    Timestamp *date.Time `json:"timestamp,omitempty"`
    // Action - The action that encompasses the provided event.
    Action *string `json:"action,omitempty"`
    // Target - The target of the event.
    Target *ContainerRegistryEventTarget `json:"target,omitempty"`
    // Request - The request that generated the event.
    Request *ContainerRegistryEventRequest `json:"request,omitempty"`
    // Actor - The agent that initiated the event. For most situations, this could be from the authorization context of the request.
    Actor *ContainerRegistryEventActor `json:"actor,omitempty"`
    // Source - The registry node that generated the event. Put differently, while the actor initiates the event, the source generates it.
    Source *ContainerRegistryEventSource `json:"source,omitempty"`
}

type ContainerRegistryEventRequest

ContainerRegistryEventRequest the request that generated the event.

type ContainerRegistryEventRequest struct {
    // ID - The ID of the request that initiated the event.
    ID *string `json:"id,omitempty"`
    // Addr - 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 `json:"addr,omitempty"`
    // Host - The externally accessible hostname of the registry instance, as specified by the http host header on incoming requests.
    Host *string `json:"host,omitempty"`
    // Method - The request method that generated the event.
    Method *string `json:"method,omitempty"`
    // Useragent - The user agent header of the request.
    Useragent *string `json:"useragent,omitempty"`
}

type ContainerRegistryEventSource

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

type ContainerRegistryEventSource struct {
    // Addr - 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 `json:"addr,omitempty"`
    // InstanceID - The running instance of an application. Changes after each restart.
    InstanceID *string `json:"instanceID,omitempty"`
}

type ContainerRegistryEventTarget

ContainerRegistryEventTarget the target of the event.

type ContainerRegistryEventTarget struct {
    // MediaType - The MIME type of the referenced object.
    MediaType *string `json:"mediaType,omitempty"`
    // Size - The number of bytes of the content. Same as Length field.
    Size *int64 `json:"size,omitempty"`
    // Digest - The digest of the content, as defined by the Registry V2 HTTP API Specification.
    Digest *string `json:"digest,omitempty"`
    // Length - The number of bytes of the content. Same as Size field.
    Length *int64 `json:"length,omitempty"`
    // Repository - The repository name.
    Repository *string `json:"repository,omitempty"`
    // URL - The direct URL to the content.
    URL *string `json:"url,omitempty"`
    // Tag - The tag name.
    Tag *string `json:"tag,omitempty"`
}

type ContainerRegistryImageDeletedEventData

ContainerRegistryImageDeletedEventData schema of the Data property of an EventGridEvent for a Microsoft.ContainerRegistry.ImageDeleted event.

type ContainerRegistryImageDeletedEventData struct {
    // ID - The event ID.
    ID *string `json:"id,omitempty"`
    // Timestamp - The time at which the event occurred.
    Timestamp *date.Time `json:"timestamp,omitempty"`
    // Action - The action that encompasses the provided event.
    Action *string `json:"action,omitempty"`
    // Target - The target of the event.
    Target *ContainerRegistryEventTarget `json:"target,omitempty"`
    // Request - The request that generated the event.
    Request *ContainerRegistryEventRequest `json:"request,omitempty"`
    // Actor - The agent that initiated the event. For most situations, this could be from the authorization context of the request.
    Actor *ContainerRegistryEventActor `json:"actor,omitempty"`
    // Source - The registry node that generated the event. Put differently, while the actor initiates the event, the source generates it.
    Source *ContainerRegistryEventSource `json:"source,omitempty"`
}

type ContainerRegistryImagePushedEventData

ContainerRegistryImagePushedEventData schema of the Data property of an EventGridEvent for a Microsoft.ContainerRegistry.ImagePushed event.

type ContainerRegistryImagePushedEventData struct {
    // ID - The event ID.
    ID *string `json:"id,omitempty"`
    // Timestamp - The time at which the event occurred.
    Timestamp *date.Time `json:"timestamp,omitempty"`
    // Action - The action that encompasses the provided event.
    Action *string `json:"action,omitempty"`
    // Target - The target of the event.
    Target *ContainerRegistryEventTarget `json:"target,omitempty"`
    // Request - The request that generated the event.
    Request *ContainerRegistryEventRequest `json:"request,omitempty"`
    // Actor - The agent that initiated the event. For most situations, this could be from the authorization context of the request.
    Actor *ContainerRegistryEventActor `json:"actor,omitempty"`
    // Source - The registry node that generated the event. Put differently, while the actor initiates the event, the source generates it.
    Source *ContainerRegistryEventSource `json:"source,omitempty"`
}

type DeviceConnectionStateEventInfo

DeviceConnectionStateEventInfo information about the device connection state event.

type DeviceConnectionStateEventInfo struct {
    // SequenceNumber - 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 `json:"sequenceNumber,omitempty"`
}

type DeviceConnectionStateEventProperties

DeviceConnectionStateEventProperties schema of the Data property of an EventGridEvent for a device connection state event (DeviceConnected, DeviceDisconnected).

type DeviceConnectionStateEventProperties struct {
    // DeviceID - 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 `json:"deviceId,omitempty"`
    // ModuleID - 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 `json:"moduleId,omitempty"`
    // HubName - Name of the IoT Hub where the device was created or deleted.
    HubName *string `json:"hubName,omitempty"`
    // DeviceConnectionStateEventInfo - Information about the device connection state event.
    DeviceConnectionStateEventInfo *DeviceConnectionStateEventInfo `json:"deviceConnectionStateEventInfo,omitempty"`
}

type DeviceLifeCycleEventProperties

DeviceLifeCycleEventProperties schema of the Data property of an EventGridEvent for a device life cycle event (DeviceCreated, DeviceDeleted).

type DeviceLifeCycleEventProperties struct {
    // DeviceID - 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 `json:"deviceId,omitempty"`
    // HubName - Name of the IoT Hub where the device was created or deleted.
    HubName *string `json:"hubName,omitempty"`
    // Twin - Information about the device twin, which is the cloud representation of application device metadata.
    Twin *DeviceTwinInfo `json:"twin,omitempty"`
}

type DeviceTelemetryEventProperties

DeviceTelemetryEventProperties schema of the Data property of an EventGridEvent for a device telemetry event (DeviceTelemetry).

type DeviceTelemetryEventProperties struct {
    // Body - The content of the message from the device.
    Body interface{} `json:"body,omitempty"`
    // Properties - Application properties are user-defined strings that can be added to the message. These fields are optional.
    Properties map[string]*string `json:"properties"`
    // SystemProperties - System properties help identify contents and source of the messages.
    SystemProperties map[string]*string `json:"systemProperties"`
}

func (DeviceTelemetryEventProperties) MarshalJSON

func (dtep DeviceTelemetryEventProperties) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for DeviceTelemetryEventProperties.

type DeviceTwinInfo

DeviceTwinInfo information about the device twin, which is the cloud representation of application device metadata.

type DeviceTwinInfo struct {
    // AuthenticationType - Authentication type used for this device: either SAS, SelfSigned, or CertificateAuthority.
    AuthenticationType *string `json:"authenticationType,omitempty"`
    // CloudToDeviceMessageCount - Count of cloud to device messages sent to this device.
    CloudToDeviceMessageCount *float64 `json:"cloudToDeviceMessageCount,omitempty"`
    // ConnectionState - Whether the device is connected or disconnected.
    ConnectionState *string `json:"connectionState,omitempty"`
    // DeviceID - The unique identifier of the device twin.
    DeviceID *string `json:"deviceId,omitempty"`
    // Etag - A piece of information that describes the content of the device twin. Each etag is guaranteed to be unique per device twin.
    Etag *string `json:"etag,omitempty"`
    // LastActivityTime - The ISO8601 timestamp of the last activity.
    LastActivityTime *string `json:"lastActivityTime,omitempty"`
    // Properties - Properties JSON element.
    Properties *DeviceTwinInfoProperties `json:"properties,omitempty"`
    // Status - Whether the device twin is enabled or disabled.
    Status *string `json:"status,omitempty"`
    // StatusUpdateTime - The ISO8601 timestamp of the last device twin status update.
    StatusUpdateTime *string `json:"statusUpdateTime,omitempty"`
    // Version - An integer that is incremented by one each time the device twin is updated.
    Version *float64 `json:"version,omitempty"`
    // X509Thumbprint - 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 `json:"x509Thumbprint,omitempty"`
}

type DeviceTwinInfoProperties

DeviceTwinInfoProperties properties JSON element.

type DeviceTwinInfoProperties struct {
    // Desired - A portion of the properties that can be written only by the application back-end, and read by the device.
    Desired *DeviceTwinProperties `json:"desired,omitempty"`
    // Reported - A portion of the properties that can be written only by the device, and read by the application back-end.
    Reported *DeviceTwinProperties `json:"reported,omitempty"`
}

type DeviceTwinInfoX509Thumbprint

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.

type DeviceTwinInfoX509Thumbprint struct {
    // PrimaryThumbprint - Primary thumbprint for the x509 certificate.
    PrimaryThumbprint *string `json:"primaryThumbprint,omitempty"`
    // SecondaryThumbprint - Secondary thumbprint for the x509 certificate.
    SecondaryThumbprint *string `json:"secondaryThumbprint,omitempty"`
}

type DeviceTwinMetadata

DeviceTwinMetadata metadata information for the properties JSON document.

type DeviceTwinMetadata struct {
    // LastUpdated - The ISO8601 timestamp of the last time the properties were updated.
    LastUpdated *string `json:"lastUpdated,omitempty"`
}

type DeviceTwinProperties

DeviceTwinProperties a portion of the properties that can be written only by the application back-end, and read by the device.

type DeviceTwinProperties struct {
    // Metadata - Metadata information for the properties JSON document.
    Metadata *DeviceTwinMetadata `json:"metadata,omitempty"`
    // Version - Version of device twin properties.
    Version *float64 `json:"version,omitempty"`
}

type Event

Event properties of an event published to an Event Grid topic using the EventGrid Schema.

type Event struct {
    // ID - An unique identifier for the event.
    ID *string `json:"id,omitempty"`
    // Topic - The resource path of the event source.
    Topic *string `json:"topic,omitempty"`
    // Subject - A resource path relative to the topic path.
    Subject *string `json:"subject,omitempty"`
    // Data - Event data specific to the event type.
    Data interface{} `json:"data,omitempty"`
    // EventType - The type of the event that occurred.
    EventType *string `json:"eventType,omitempty"`
    // EventTime - The time (in UTC) the event was generated.
    EventTime *date.Time `json:"eventTime,omitempty"`
    // MetadataVersion - READ-ONLY; The schema version of the event metadata.
    MetadataVersion *string `json:"metadataVersion,omitempty"`
    // DataVersion - The schema version of the data object.
    DataVersion *string `json:"dataVersion,omitempty"`
}

func (Event) MarshalJSON

func (e Event) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for Event.

type EventHubCaptureFileCreatedEventData

EventHubCaptureFileCreatedEventData schema of the Data property of an EventGridEvent for an Microsoft.EventHub.CaptureFileCreated event.

type EventHubCaptureFileCreatedEventData struct {
    // Fileurl - The path to the capture file.
    Fileurl *string `json:"fileurl,omitempty"`
    // FileType - The file type of the capture file.
    FileType *string `json:"fileType,omitempty"`
    // PartitionID - The shard ID.
    PartitionID *string `json:"partitionId,omitempty"`
    // SizeInBytes - The file size.
    SizeInBytes *int32 `json:"sizeInBytes,omitempty"`
    // EventCount - The number of events in the file.
    EventCount *int32 `json:"eventCount,omitempty"`
    // FirstSequenceNumber - The smallest sequence number from the queue.
    FirstSequenceNumber *int32 `json:"firstSequenceNumber,omitempty"`
    // LastSequenceNumber - The last sequence number from the queue.
    LastSequenceNumber *int32 `json:"lastSequenceNumber,omitempty"`
    // FirstEnqueueTime - The first time from the queue.
    FirstEnqueueTime *date.Time `json:"firstEnqueueTime,omitempty"`
    // LastEnqueueTime - The last time from the queue.
    LastEnqueueTime *date.Time `json:"lastEnqueueTime,omitempty"`
}

type IotHubDeviceConnectedEventData

IotHubDeviceConnectedEventData event data for Microsoft.Devices.DeviceConnected event.

type IotHubDeviceConnectedEventData struct {
    // DeviceID - 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 `json:"deviceId,omitempty"`
    // ModuleID - 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 `json:"moduleId,omitempty"`
    // HubName - Name of the IoT Hub where the device was created or deleted.
    HubName *string `json:"hubName,omitempty"`
    // DeviceConnectionStateEventInfo - Information about the device connection state event.
    DeviceConnectionStateEventInfo *DeviceConnectionStateEventInfo `json:"deviceConnectionStateEventInfo,omitempty"`
}

type IotHubDeviceCreatedEventData

IotHubDeviceCreatedEventData event data for Microsoft.Devices.DeviceCreated event.

type IotHubDeviceCreatedEventData struct {
    // DeviceID - 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 `json:"deviceId,omitempty"`
    // HubName - Name of the IoT Hub where the device was created or deleted.
    HubName *string `json:"hubName,omitempty"`
    // Twin - Information about the device twin, which is the cloud representation of application device metadata.
    Twin *DeviceTwinInfo `json:"twin,omitempty"`
}

type IotHubDeviceDeletedEventData

IotHubDeviceDeletedEventData event data for Microsoft.Devices.DeviceDeleted event.

type IotHubDeviceDeletedEventData struct {
    // DeviceID - 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 `json:"deviceId,omitempty"`
    // HubName - Name of the IoT Hub where the device was created or deleted.
    HubName *string `json:"hubName,omitempty"`
    // Twin - Information about the device twin, which is the cloud representation of application device metadata.
    Twin *DeviceTwinInfo `json:"twin,omitempty"`
}

type IotHubDeviceDisconnectedEventData

IotHubDeviceDisconnectedEventData event data for Microsoft.Devices.DeviceDisconnected event.

type IotHubDeviceDisconnectedEventData struct {
    // DeviceID - 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 `json:"deviceId,omitempty"`
    // ModuleID - 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 `json:"moduleId,omitempty"`
    // HubName - Name of the IoT Hub where the device was created or deleted.
    HubName *string `json:"hubName,omitempty"`
    // DeviceConnectionStateEventInfo - Information about the device connection state event.
    DeviceConnectionStateEventInfo *DeviceConnectionStateEventInfo `json:"deviceConnectionStateEventInfo,omitempty"`
}

type IotHubDeviceTelemetryEventData

IotHubDeviceTelemetryEventData event data for Microsoft.Devices.DeviceTelemetry event.

type IotHubDeviceTelemetryEventData struct {
    // Body - The content of the message from the device.
    Body interface{} `json:"body,omitempty"`
    // Properties - Application properties are user-defined strings that can be added to the message. These fields are optional.
    Properties map[string]*string `json:"properties"`
    // SystemProperties - System properties help identify contents and source of the messages.
    SystemProperties map[string]*string `json:"systemProperties"`
}

func (IotHubDeviceTelemetryEventData) MarshalJSON

func (ihdted IotHubDeviceTelemetryEventData) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for IotHubDeviceTelemetryEventData.

type KeyVaultCertificateExpiredEventData

KeyVaultCertificateExpiredEventData schema of the Data property of an EventGridEvent for an CertificateExpired event.

type KeyVaultCertificateExpiredEventData struct {
    // ID - The id of the object that triggered this event.
    ID *string `json:"id,omitempty"`
    // VaultName - Key vault name of the object that triggered this event.
    VaultName *string `json:"vaultName,omitempty"`
    // ObjectType - The type of the object that triggered this event
    ObjectType *string `json:"objectType,omitempty"`
    // ObjectName - The name of the object that triggered this event
    ObjectName *string `json:"objectName,omitempty"`
    // Version - The version of the object that triggered this event
    Version *string `json:"version,omitempty"`
    // Nbf - Not before date of the object that triggered this event
    Nbf *float64 `json:"nbf,omitempty"`
    // Exp - The expiration date of the object that triggered this event
    Exp *float64 `json:"exp,omitempty"`
}

type KeyVaultCertificateNearExpiryEventData

KeyVaultCertificateNearExpiryEventData schema of the Data property of an EventGridEvent for an CertificateNearExpiry event.

type KeyVaultCertificateNearExpiryEventData struct {
    // ID - The id of the object that triggered this event.
    ID *string `json:"id,omitempty"`
    // VaultName - Key vault name of the object that triggered this event.
    VaultName *string `json:"vaultName,omitempty"`
    // ObjectType - The type of the object that triggered this event
    ObjectType *string `json:"objectType,omitempty"`
    // ObjectName - The name of the object that triggered this event
    ObjectName *string `json:"objectName,omitempty"`
    // Version - The version of the object that triggered this event
    Version *string `json:"version,omitempty"`
    // Nbf - Not before date of the object that triggered this event
    Nbf *float64 `json:"nbf,omitempty"`
    // Exp - The expiration date of the object that triggered this event
    Exp *float64 `json:"exp,omitempty"`
}

type KeyVaultCertificateNewVersionCreatedEventData

KeyVaultCertificateNewVersionCreatedEventData schema of the Data property of an EventGridEvent for an CertificateNewVersionCreated event.

type KeyVaultCertificateNewVersionCreatedEventData struct {
    // ID - The id of the object that triggered this event.
    ID *string `json:"id,omitempty"`
    // VaultName - Key vault name of the object that triggered this event.
    VaultName *string `json:"vaultName,omitempty"`
    // ObjectType - The type of the object that triggered this event
    ObjectType *string `json:"objectType,omitempty"`
    // ObjectName - The name of the object that triggered this event
    ObjectName *string `json:"objectName,omitempty"`
    // Version - The version of the object that triggered this event
    Version *string `json:"version,omitempty"`
    // Nbf - Not before date of the object that triggered this event
    Nbf *float64 `json:"nbf,omitempty"`
    // Exp - The expiration date of the object that triggered this event
    Exp *float64 `json:"exp,omitempty"`
}

type KeyVaultKeyExpiredEventData

KeyVaultKeyExpiredEventData schema of the Data property of an EventGridEvent for an KeyExpired event.

type KeyVaultKeyExpiredEventData struct {
    // ID - The id of the object that triggered this event.
    ID *string `json:"id,omitempty"`
    // VaultName - Key vault name of the object that triggered this event.
    VaultName *string `json:"vaultName,omitempty"`
    // ObjectType - The type of the object that triggered this event
    ObjectType *string `json:"objectType,omitempty"`
    // ObjectName - The name of the object that triggered this event
    ObjectName *string `json:"objectName,omitempty"`
    // Version - The version of the object that triggered this event
    Version *string `json:"version,omitempty"`
    // Nbf - Not before date of the object that triggered this event
    Nbf *float64 `json:"nbf,omitempty"`
    // Exp - The expiration date of the object that triggered this event
    Exp *float64 `json:"exp,omitempty"`
}

type KeyVaultKeyNearExpiryEventData

KeyVaultKeyNearExpiryEventData schema of the Data property of an EventGridEvent for an KeyNearExpiry event.

type KeyVaultKeyNearExpiryEventData struct {
    // ID - The id of the object that triggered this event.
    ID *string `json:"id,omitempty"`
    // VaultName - Key vault name of the object that triggered this event.
    VaultName *string `json:"vaultName,omitempty"`
    // ObjectType - The type of the object that triggered this event
    ObjectType *string `json:"objectType,omitempty"`
    // ObjectName - The name of the object that triggered this event
    ObjectName *string `json:"objectName,omitempty"`
    // Version - The version of the object that triggered this event
    Version *string `json:"version,omitempty"`
    // Nbf - Not before date of the object that triggered this event
    Nbf *float64 `json:"nbf,omitempty"`
    // Exp - The expiration date of the object that triggered this event
    Exp *float64 `json:"exp,omitempty"`
}

type KeyVaultKeyNewVersionCreatedEventData

KeyVaultKeyNewVersionCreatedEventData schema of the Data property of an EventGridEvent for an KeyNewVersionCreated event.

type KeyVaultKeyNewVersionCreatedEventData struct {
    // ID - The id of the object that triggered this event.
    ID *string `json:"id,omitempty"`
    // VaultName - Key vault name of the object that triggered this event.
    VaultName *string `json:"vaultName,omitempty"`
    // ObjectType - The type of the object that triggered this event
    ObjectType *string `json:"objectType,omitempty"`
    // ObjectName - The name of the object that triggered this event
    ObjectName *string `json:"objectName,omitempty"`
    // Version - The version of the object that triggered this event
    Version *string `json:"version,omitempty"`
    // Nbf - Not before date of the object that triggered this event
    Nbf *float64 `json:"nbf,omitempty"`
    // Exp - The expiration date of the object that triggered this event
    Exp *float64 `json:"exp,omitempty"`
}

type KeyVaultSecretExpiredEventData

KeyVaultSecretExpiredEventData schema of the Data property of an EventGridEvent for an SecretExpired event.

type KeyVaultSecretExpiredEventData struct {
    // ID - The id of the object that triggered this event.
    ID *string `json:"id,omitempty"`
    // VaultName - Key vault name of the object that triggered this event.
    VaultName *string `json:"vaultName,omitempty"`
    // ObjectType - The type of the object that triggered this event
    ObjectType *string `json:"objectType,omitempty"`
    // ObjectName - The name of the object that triggered this event
    ObjectName *string `json:"objectName,omitempty"`
    // Version - The version of the object that triggered this event
    Version *string `json:"version,omitempty"`
    // Nbf - Not before date of the object that triggered this event
    Nbf *float64 `json:"nbf,omitempty"`
    // Exp - The expiration date of the object that triggered this event
    Exp *float64 `json:"exp,omitempty"`
}

type KeyVaultSecretNearExpiryEventData

KeyVaultSecretNearExpiryEventData schema of the Data property of an EventGridEvent for an SecretNearExpiry event.

type KeyVaultSecretNearExpiryEventData struct {
    // ID - The id of the object that triggered this event.
    ID *string `json:"id,omitempty"`
    // VaultName - Key vault name of the object that triggered this event.
    VaultName *string `json:"vaultName,omitempty"`
    // ObjectType - The type of the object that triggered this event
    ObjectType *string `json:"objectType,omitempty"`
    // ObjectName - The name of the object that triggered this event
    ObjectName *string `json:"objectName,omitempty"`
    // Version - The version of the object that triggered this event
    Version *string `json:"version,omitempty"`
    // Nbf - Not before date of the object that triggered this event
    Nbf *float64 `json:"nbf,omitempty"`
    // Exp - The expiration date of the object that triggered this event
    Exp *float64 `json:"exp,omitempty"`
}

type KeyVaultSecretNewVersionCreatedEventData

KeyVaultSecretNewVersionCreatedEventData schema of the Data property of an EventGridEvent for an SecretNewVersionCreated event.

type KeyVaultSecretNewVersionCreatedEventData struct {
    // ID - The id of the object that triggered this event.
    ID *string `json:"id,omitempty"`
    // VaultName - Key vault name of the object that triggered this event.
    VaultName *string `json:"vaultName,omitempty"`
    // ObjectType - The type of the object that triggered this event
    ObjectType *string `json:"objectType,omitempty"`
    // ObjectName - The name of the object that triggered this event
    ObjectName *string `json:"objectName,omitempty"`
    // Version - The version of the object that triggered this event
    Version *string `json:"version,omitempty"`
    // Nbf - Not before date of the object that triggered this event
    Nbf *float64 `json:"nbf,omitempty"`
    // Exp - The expiration date of the object that triggered this event
    Exp *float64 `json:"exp,omitempty"`
}

type KeyVaultVaultAccessPolicyChangedEventData

KeyVaultVaultAccessPolicyChangedEventData schema of the Data property of an EventGridEvent for an VaultAccessPolicyChanged event.

type KeyVaultVaultAccessPolicyChangedEventData struct {
    // ID - The id of the object that triggered this event.
    ID *string `json:"id,omitempty"`
    // VaultName - Key vault name of the object that triggered this event.
    VaultName *string `json:"vaultName,omitempty"`
    // ObjectType - The type of the object that triggered this event
    ObjectType *string `json:"objectType,omitempty"`
    // ObjectName - The name of the object that triggered this event
    ObjectName *string `json:"objectName,omitempty"`
    // Version - The version of the object that triggered this event
    Version *string `json:"version,omitempty"`
    // Nbf - Not before date of the object that triggered this event
    Nbf *float64 `json:"nbf,omitempty"`
    // Exp - The expiration date of the object that triggered this event
    Exp *float64 `json:"exp,omitempty"`
}

type MachineLearningServicesDatasetDriftDetectedEventData

MachineLearningServicesDatasetDriftDetectedEventData schema of the Data property of an EventGridEvent for an Microsoft.MachineLearningServices.DatasetDriftDetected event.

type MachineLearningServicesDatasetDriftDetectedEventData struct {
    // DataDriftID - The ID of the data drift monitor that triggered the event.
    DataDriftID *string `json:"dataDriftId,omitempty"`
    // DataDriftName - The name of the data drift monitor that triggered the event.
    DataDriftName *string `json:"dataDriftName,omitempty"`
    // RunID - The ID of the Run that detected data drift.
    RunID *string `json:"runId,omitempty"`
    // BaseDatasetID - The ID of the base Dataset used to detect drift.
    BaseDatasetID *string `json:"baseDatasetId,omitempty"`
    // TargetDatasetID - The ID of the target Dataset used to detect drift.
    TargetDatasetID *string `json:"targetDatasetId,omitempty"`
    // DriftCoefficient - The coefficient result that triggered the event.
    DriftCoefficient *float64 `json:"driftCoefficient,omitempty"`
    // StartTime - The start time of the target dataset time series that resulted in drift detection.
    StartTime *date.Time `json:"startTime,omitempty"`
    // EndTime - The end time of the target dataset time series that resulted in drift detection.
    EndTime *date.Time `json:"endTime,omitempty"`
}

type MachineLearningServicesModelDeployedEventData

MachineLearningServicesModelDeployedEventData schema of the Data property of an EventGridEvent for an Microsoft.MachineLearningServices.ModelDeployed event.

type MachineLearningServicesModelDeployedEventData struct {
    // ServiceName - The name of the deployed service.
    ServiceName *string `json:"serviceName,omitempty"`
    // ServiceComputeType - The compute type (e.g. ACI, AKS) of the deployed service.
    ServiceComputeType *string `json:"serviceComputeType,omitempty"`
    // ModelIds - A common separated list of model IDs. The IDs of the models deployed in the service.
    ModelIds *string `json:"modelIds,omitempty"`
    // ServiceTags - The tags of the deployed service.
    ServiceTags interface{} `json:"serviceTags,omitempty"`
    // ServiceProperties - The properties of the deployed service.
    ServiceProperties interface{} `json:"serviceProperties,omitempty"`
}

type MachineLearningServicesModelRegisteredEventData

MachineLearningServicesModelRegisteredEventData schema of the Data property of an EventGridEvent for an Microsoft.MachineLearningServices.ModelRegistered event.

type MachineLearningServicesModelRegisteredEventData struct {
    // ModelName - The name of the model that was registered.
    ModelName *string `json:"modelName,omitempty"`
    // ModelVersion - The version of the model that was registered.
    ModelVersion *string `json:"modelVersion,omitempty"`
    // ModelTags - The tags of the model that was registered.
    ModelTags interface{} `json:"modelTags,omitempty"`
    // ModelProperties - The properties of the model that was registered.
    ModelProperties interface{} `json:"modelProperties,omitempty"`
}

type MachineLearningServicesRunCompletedEventData

MachineLearningServicesRunCompletedEventData schema of the Data property of an EventGridEvent for an Microsoft.MachineLearningServices.RunCompleted event.

type MachineLearningServicesRunCompletedEventData struct {
    // ExperimentID - The ID of the experiment that the run belongs to.
    ExperimentID *string `json:"experimentId,omitempty"`
    // ExperimentName - The name of the experiment that the run belongs to.
    ExperimentName *string `json:"experimentName,omitempty"`
    // RunID - The ID of the Run that was completed.
    RunID *string `json:"runId,omitempty"`
    // RunType - The Run Type of the completed Run.
    RunType *string `json:"runType,omitempty"`
    // RunTags - The tags of the completed Run.
    RunTags interface{} `json:"runTags,omitempty"`
    // RunProperties - The properties of the completed Run.
    RunProperties interface{} `json:"runProperties,omitempty"`
}

type MachineLearningServicesRunStatusChangedEventData

MachineLearningServicesRunStatusChangedEventData schema of the Data property of an EventGridEvent for an Microsoft.MachineLearningServices.RunStatusChanged event.

type MachineLearningServicesRunStatusChangedEventData struct {
    // ExperimentID - The ID of the experiment that the Machine Learning Run belongs to.
    ExperimentID *string `json:"experimentId,omitempty"`
    // ExperimentName - The name of the experiment that the Machine Learning Run belongs to.
    ExperimentName *string `json:"experimentName,omitempty"`
    // RunID - The ID of the Machine Learning Run.
    RunID *string `json:"runId,omitempty"`
    // RunType - The Run Type of the Machine Learning Run.
    RunType *string `json:"runType,omitempty"`
    // RunTags - The tags of the Machine Learning Run.
    RunTags interface{} `json:"runTags,omitempty"`
    // RunProperties - The properties of the Machine Learning Run.
    RunProperties interface{} `json:"runProperties,omitempty"`
    // RunStatus - The status of the Machine Learning Run.
    RunStatus *string `json:"runStatus,omitempty"`
}

type MapsGeofenceEnteredEventData

MapsGeofenceEnteredEventData schema of the Data property of an EventGridEvent for a Microsoft.Maps.GeofenceEntered event.

type MapsGeofenceEnteredEventData struct {
    // ExpiredGeofenceGeometryID - Lists of the geometry ID of the geofence which is expired relative to the user time in the request.
    ExpiredGeofenceGeometryID *[]string `json:"expiredGeofenceGeometryId,omitempty"`
    // Geometries - Lists the fence geometries that either fully contain the coordinate position or have an overlap with the searchBuffer around the fence.
    Geometries *[]MapsGeofenceGeometry `json:"geometries,omitempty"`
    // InvalidPeriodGeofenceGeometryID - Lists of the geometry ID of the geofence which is in invalid period relative to the user time in the request.
    InvalidPeriodGeofenceGeometryID *[]string `json:"invalidPeriodGeofenceGeometryId,omitempty"`
    // IsEventPublished - 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 `json:"isEventPublished,omitempty"`
}

type MapsGeofenceEventProperties

MapsGeofenceEventProperties schema of the Data property of an EventGridEvent for a Geofence event (GeofenceEntered, GeofenceExited, GeofenceResult).

type MapsGeofenceEventProperties struct {
    // ExpiredGeofenceGeometryID - Lists of the geometry ID of the geofence which is expired relative to the user time in the request.
    ExpiredGeofenceGeometryID *[]string `json:"expiredGeofenceGeometryId,omitempty"`
    // Geometries - Lists the fence geometries that either fully contain the coordinate position or have an overlap with the searchBuffer around the fence.
    Geometries *[]MapsGeofenceGeometry `json:"geometries,omitempty"`
    // InvalidPeriodGeofenceGeometryID - Lists of the geometry ID of the geofence which is in invalid period relative to the user time in the request.
    InvalidPeriodGeofenceGeometryID *[]string `json:"invalidPeriodGeofenceGeometryId,omitempty"`
    // IsEventPublished - 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 `json:"isEventPublished,omitempty"`
}

type MapsGeofenceExitedEventData

MapsGeofenceExitedEventData schema of the Data property of an EventGridEvent for a Microsoft.Maps.GeofenceExited event.

type MapsGeofenceExitedEventData struct {
    // ExpiredGeofenceGeometryID - Lists of the geometry ID of the geofence which is expired relative to the user time in the request.
    ExpiredGeofenceGeometryID *[]string `json:"expiredGeofenceGeometryId,omitempty"`
    // Geometries - Lists the fence geometries that either fully contain the coordinate position or have an overlap with the searchBuffer around the fence.
    Geometries *[]MapsGeofenceGeometry `json:"geometries,omitempty"`
    // InvalidPeriodGeofenceGeometryID - Lists of the geometry ID of the geofence which is in invalid period relative to the user time in the request.
    InvalidPeriodGeofenceGeometryID *[]string `json:"invalidPeriodGeofenceGeometryId,omitempty"`
    // IsEventPublished - 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 `json:"isEventPublished,omitempty"`
}

type MapsGeofenceGeometry

MapsGeofenceGeometry the geofence geometry.

type MapsGeofenceGeometry struct {
    // DeviceID - ID of the device.
    DeviceID *string `json:"deviceId,omitempty"`
    // Distance - 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 *float64 `json:"distance,omitempty"`
    // GeometryID - The unique ID for the geofence geometry.
    GeometryID *string `json:"geometryId,omitempty"`
    // NearestLat - Latitude of the nearest point of the geometry.
    NearestLat *float64 `json:"nearestLat,omitempty"`
    // NearestLon - Longitude of the nearest point of the geometry.
    NearestLon *float64 `json:"nearestLon,omitempty"`
    // UdID - The unique id returned from user upload service when uploading a geofence. Will not be included in geofencing post API.
    UdID *string `json:"udId,omitempty"`
}

type MapsGeofenceResultEventData

MapsGeofenceResultEventData schema of the Data property of an EventGridEvent for a Microsoft.Maps.GeofenceResult event.

type MapsGeofenceResultEventData struct {
    // ExpiredGeofenceGeometryID - Lists of the geometry ID of the geofence which is expired relative to the user time in the request.
    ExpiredGeofenceGeometryID *[]string `json:"expiredGeofenceGeometryId,omitempty"`
    // Geometries - Lists the fence geometries that either fully contain the coordinate position or have an overlap with the searchBuffer around the fence.
    Geometries *[]MapsGeofenceGeometry `json:"geometries,omitempty"`
    // InvalidPeriodGeofenceGeometryID - Lists of the geometry ID of the geofence which is in invalid period relative to the user time in the request.
    InvalidPeriodGeofenceGeometryID *[]string `json:"invalidPeriodGeofenceGeometryId,omitempty"`
    // IsEventPublished - 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 `json:"isEventPublished,omitempty"`
}

type MediaJobCanceledEventData

MediaJobCanceledEventData job canceled event data

type MediaJobCanceledEventData struct {
    // Outputs - Gets the Job outputs.
    Outputs *[]BasicMediaJobOutput `json:"outputs,omitempty"`
    // PreviousState - READ-ONLY; The previous state of the Job. Possible values include: 'Canceled', 'Canceling', 'Error', 'Finished', 'Processing', 'Queued', 'Scheduled'
    PreviousState MediaJobState `json:"previousState,omitempty"`
    // State - READ-ONLY; The new state of the Job. Possible values include: 'Canceled', 'Canceling', 'Error', 'Finished', 'Processing', 'Queued', 'Scheduled'
    State MediaJobState `json:"state,omitempty"`
    // CorrelationData - Gets the Job correlation data.
    CorrelationData map[string]*string `json:"correlationData"`
}

func (MediaJobCanceledEventData) MarshalJSON

func (mjced MediaJobCanceledEventData) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for MediaJobCanceledEventData.

func (*MediaJobCanceledEventData) UnmarshalJSON

func (mjced *MediaJobCanceledEventData) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for MediaJobCanceledEventData struct.

type MediaJobCancelingEventData

MediaJobCancelingEventData job canceling event data

type MediaJobCancelingEventData struct {
    // PreviousState - READ-ONLY; The previous state of the Job. Possible values include: 'Canceled', 'Canceling', 'Error', 'Finished', 'Processing', 'Queued', 'Scheduled'
    PreviousState MediaJobState `json:"previousState,omitempty"`
    // State - READ-ONLY; The new state of the Job. Possible values include: 'Canceled', 'Canceling', 'Error', 'Finished', 'Processing', 'Queued', 'Scheduled'
    State MediaJobState `json:"state,omitempty"`
    // CorrelationData - Gets the Job correlation data.
    CorrelationData map[string]*string `json:"correlationData"`
}

func (MediaJobCancelingEventData) MarshalJSON

func (mjced MediaJobCancelingEventData) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for MediaJobCancelingEventData.

type MediaJobError

MediaJobError details of JobOutput errors.

type MediaJobError struct {
    // Code - READ-ONLY; Error code describing the error. Possible values include: 'ServiceError', 'ServiceTransientError', 'DownloadNotAccessible', 'DownloadTransientError', 'UploadNotAccessible', 'UploadTransientError', 'ConfigurationUnsupported', 'ContentMalformed', 'ContentUnsupported'
    Code MediaJobErrorCode `json:"code,omitempty"`
    // Message - READ-ONLY; A human-readable language-dependent representation of the error.
    Message *string `json:"message,omitempty"`
    // Category - READ-ONLY; Helps with categorization of errors. Possible values include: 'Service', 'Download', 'Upload', 'Configuration', 'Content'
    Category MediaJobErrorCategory `json:"category,omitempty"`
    // Retry - READ-ONLY; Indicates that it may be possible to retry the Job. If retry is unsuccessful, please contact Azure support via Azure Portal. Possible values include: 'DoNotRetry', 'MayRetry'
    Retry MediaJobRetry `json:"retry,omitempty"`
    // Details - READ-ONLY; An array of details about specific errors that led to this reported error.
    Details *[]MediaJobErrorDetail `json:"details,omitempty"`
}

func (MediaJobError) MarshalJSON

func (mje MediaJobError) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for MediaJobError.

type MediaJobErrorCategory

MediaJobErrorCategory enumerates the values for media job error category.

type MediaJobErrorCategory string
const (
    // Configuration The error is configuration related.
    Configuration MediaJobErrorCategory = "Configuration"
    // Content The error is related to data in the input files.
    Content MediaJobErrorCategory = "Content"
    // Download The error is download related.
    Download MediaJobErrorCategory = "Download"
    // Service The error is service related.
    Service MediaJobErrorCategory = "Service"
    // Upload The error is upload related.
    Upload MediaJobErrorCategory = "Upload"
)

func PossibleMediaJobErrorCategoryValues

func PossibleMediaJobErrorCategoryValues() []MediaJobErrorCategory

PossibleMediaJobErrorCategoryValues returns an array of possible values for the MediaJobErrorCategory const type.

type MediaJobErrorCode

MediaJobErrorCode enumerates the values for media job error code.

type MediaJobErrorCode string
const (
    // ConfigurationUnsupported There was a problem with the combination of input files and the configuration
    // settings applied, fix the configuration settings and retry with the same input, or change input to match
    // the configuration.
    ConfigurationUnsupported MediaJobErrorCode = "ConfigurationUnsupported"
    // ContentMalformed There was a problem with the input content (for example: zero byte files, or
    // corrupt/non-decodable files), check the input files.
    ContentMalformed MediaJobErrorCode = "ContentMalformed"
    // ContentUnsupported There was a problem with the format of the input (not valid media file, or an
    // unsupported file/codec), check the validity of the input files.
    ContentUnsupported MediaJobErrorCode = "ContentUnsupported"
    // DownloadNotAccessible While trying to download the input files, the files were not accessible, please
    // check the availability of the source.
    DownloadNotAccessible MediaJobErrorCode = "DownloadNotAccessible"
    // DownloadTransientError While trying to download the input files, there was an issue during transfer
    // (storage service, network errors), see details and check your source.
    DownloadTransientError MediaJobErrorCode = "DownloadTransientError"
    // ServiceError Fatal service error, please contact support.
    ServiceError MediaJobErrorCode = "ServiceError"
    // ServiceTransientError Transient error, please retry, if retry is unsuccessful, please contact support.
    ServiceTransientError MediaJobErrorCode = "ServiceTransientError"
    // UploadNotAccessible While trying to upload the output files, the destination was not reachable, please
    // check the availability of the destination.
    UploadNotAccessible MediaJobErrorCode = "UploadNotAccessible"
    // UploadTransientError While trying to upload the output files, there was an issue during transfer
    // (storage service, network errors), see details and check your destination.
    UploadTransientError MediaJobErrorCode = "UploadTransientError"
)

func PossibleMediaJobErrorCodeValues

func PossibleMediaJobErrorCodeValues() []MediaJobErrorCode

PossibleMediaJobErrorCodeValues returns an array of possible values for the MediaJobErrorCode const type.

type MediaJobErrorDetail

MediaJobErrorDetail details of JobOutput errors.

type MediaJobErrorDetail struct {
    // Code - READ-ONLY; Code describing the error detail.
    Code *string `json:"code,omitempty"`
    // Message - READ-ONLY; A human-readable representation of the error.
    Message *string `json:"message,omitempty"`
}

func (MediaJobErrorDetail) MarshalJSON

func (mjed MediaJobErrorDetail) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for MediaJobErrorDetail.

type MediaJobErroredEventData

MediaJobErroredEventData job error state event data

type MediaJobErroredEventData struct {
    // Outputs - Gets the Job outputs.
    Outputs *[]BasicMediaJobOutput `json:"outputs,omitempty"`
    // PreviousState - READ-ONLY; The previous state of the Job. Possible values include: 'Canceled', 'Canceling', 'Error', 'Finished', 'Processing', 'Queued', 'Scheduled'
    PreviousState MediaJobState `json:"previousState,omitempty"`
    // State - READ-ONLY; The new state of the Job. Possible values include: 'Canceled', 'Canceling', 'Error', 'Finished', 'Processing', 'Queued', 'Scheduled'
    State MediaJobState `json:"state,omitempty"`
    // CorrelationData - Gets the Job correlation data.
    CorrelationData map[string]*string `json:"correlationData"`
}

func (MediaJobErroredEventData) MarshalJSON

func (mjeed MediaJobErroredEventData) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for MediaJobErroredEventData.

func (*MediaJobErroredEventData) UnmarshalJSON

func (mjeed *MediaJobErroredEventData) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for MediaJobErroredEventData struct.

type MediaJobFinishedEventData

MediaJobFinishedEventData job finished event data

type MediaJobFinishedEventData struct {
    // Outputs - Gets the Job outputs.
    Outputs *[]BasicMediaJobOutput `json:"outputs,omitempty"`
    // PreviousState - READ-ONLY; The previous state of the Job. Possible values include: 'Canceled', 'Canceling', 'Error', 'Finished', 'Processing', 'Queued', 'Scheduled'
    PreviousState MediaJobState `json:"previousState,omitempty"`
    // State - READ-ONLY; The new state of the Job. Possible values include: 'Canceled', 'Canceling', 'Error', 'Finished', 'Processing', 'Queued', 'Scheduled'
    State MediaJobState `json:"state,omitempty"`
    // CorrelationData - Gets the Job correlation data.
    CorrelationData map[string]*string `json:"correlationData"`
}

func (MediaJobFinishedEventData) MarshalJSON

func (mjfed MediaJobFinishedEventData) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for MediaJobFinishedEventData.

func (*MediaJobFinishedEventData) UnmarshalJSON

func (mjfed *MediaJobFinishedEventData) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for MediaJobFinishedEventData struct.

type MediaJobOutput

MediaJobOutput the event data for a Job output.

type MediaJobOutput struct {
    // Error - Gets the Job output error.
    Error *MediaJobError `json:"error,omitempty"`
    // Label - Gets the Job output label.
    Label *string `json:"label,omitempty"`
    // Progress - Gets the Job output progress.
    Progress *int64 `json:"progress,omitempty"`
    // State - Gets the Job output state. Possible values include: 'Canceled', 'Canceling', 'Error', 'Finished', 'Processing', 'Queued', 'Scheduled'
    State MediaJobState `json:"state,omitempty"`
    // OdataType - Possible values include: 'OdataTypeMediaJobOutput', 'OdataTypeMicrosoftMediaJobOutputAsset'
    OdataType OdataType `json:"@odata.type,omitempty"`
}

func (MediaJobOutput) AsBasicMediaJobOutput

func (mjo MediaJobOutput) AsBasicMediaJobOutput() (BasicMediaJobOutput, bool)

AsBasicMediaJobOutput is the BasicMediaJobOutput implementation for MediaJobOutput.

func (MediaJobOutput) AsMediaJobOutput

func (mjo MediaJobOutput) AsMediaJobOutput() (*MediaJobOutput, bool)

AsMediaJobOutput is the BasicMediaJobOutput implementation for MediaJobOutput.

func (MediaJobOutput) AsMediaJobOutputAsset

func (mjo MediaJobOutput) AsMediaJobOutputAsset() (*MediaJobOutputAsset, bool)

AsMediaJobOutputAsset is the BasicMediaJobOutput implementation for MediaJobOutput.

func (MediaJobOutput) MarshalJSON

func (mjo MediaJobOutput) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for MediaJobOutput.

type MediaJobOutputAsset

MediaJobOutputAsset the event data for a Job output asset.

type MediaJobOutputAsset struct {
    // AssetName - Gets the Job output asset name.
    AssetName *string `json:"assetName,omitempty"`
    // Error - Gets the Job output error.
    Error *MediaJobError `json:"error,omitempty"`
    // Label - Gets the Job output label.
    Label *string `json:"label,omitempty"`
    // Progress - Gets the Job output progress.
    Progress *int64 `json:"progress,omitempty"`
    // State - Gets the Job output state. Possible values include: 'Canceled', 'Canceling', 'Error', 'Finished', 'Processing', 'Queued', 'Scheduled'
    State MediaJobState `json:"state,omitempty"`
    // OdataType - Possible values include: 'OdataTypeMediaJobOutput', 'OdataTypeMicrosoftMediaJobOutputAsset'
    OdataType OdataType `json:"@odata.type,omitempty"`
}

func (MediaJobOutputAsset) AsBasicMediaJobOutput

func (mjoa MediaJobOutputAsset) AsBasicMediaJobOutput() (BasicMediaJobOutput, bool)

AsBasicMediaJobOutput is the BasicMediaJobOutput implementation for MediaJobOutputAsset.

func (MediaJobOutputAsset) AsMediaJobOutput

func (mjoa MediaJobOutputAsset) AsMediaJobOutput() (*MediaJobOutput, bool)

AsMediaJobOutput is the BasicMediaJobOutput implementation for MediaJobOutputAsset.

func (MediaJobOutputAsset) AsMediaJobOutputAsset

func (mjoa MediaJobOutputAsset) AsMediaJobOutputAsset() (*MediaJobOutputAsset, bool)

AsMediaJobOutputAsset is the BasicMediaJobOutput implementation for MediaJobOutputAsset.

func (MediaJobOutputAsset) MarshalJSON

func (mjoa MediaJobOutputAsset) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for MediaJobOutputAsset.

type MediaJobOutputCanceledEventData

MediaJobOutputCanceledEventData job output canceled event data

type MediaJobOutputCanceledEventData struct {
    // PreviousState - READ-ONLY; The previous state of the Job. Possible values include: 'Canceled', 'Canceling', 'Error', 'Finished', 'Processing', 'Queued', 'Scheduled'
    PreviousState MediaJobState `json:"previousState,omitempty"`
    // Output - Gets the output.
    Output BasicMediaJobOutput `json:"output,omitempty"`
    // JobCorrelationData - Gets the Job correlation data.
    JobCorrelationData map[string]*string `json:"jobCorrelationData"`
}

func (MediaJobOutputCanceledEventData) MarshalJSON

func (mjoced MediaJobOutputCanceledEventData) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for MediaJobOutputCanceledEventData.

func (*MediaJobOutputCanceledEventData) UnmarshalJSON

func (mjoced *MediaJobOutputCanceledEventData) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for MediaJobOutputCanceledEventData struct.

type MediaJobOutputCancelingEventData

MediaJobOutputCancelingEventData job output canceling event data

type MediaJobOutputCancelingEventData struct {
    // PreviousState - READ-ONLY; The previous state of the Job. Possible values include: 'Canceled', 'Canceling', 'Error', 'Finished', 'Processing', 'Queued', 'Scheduled'
    PreviousState MediaJobState `json:"previousState,omitempty"`
    // Output - Gets the output.
    Output BasicMediaJobOutput `json:"output,omitempty"`
    // JobCorrelationData - Gets the Job correlation data.
    JobCorrelationData map[string]*string `json:"jobCorrelationData"`
}

func (MediaJobOutputCancelingEventData) MarshalJSON

func (mjoced MediaJobOutputCancelingEventData) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for MediaJobOutputCancelingEventData.

func (*MediaJobOutputCancelingEventData) UnmarshalJSON

func (mjoced *MediaJobOutputCancelingEventData) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for MediaJobOutputCancelingEventData struct.

type MediaJobOutputErroredEventData

MediaJobOutputErroredEventData job output error event data

type MediaJobOutputErroredEventData struct {
    // PreviousState - READ-ONLY; The previous state of the Job. Possible values include: 'Canceled', 'Canceling', 'Error', 'Finished', 'Processing', 'Queued', 'Scheduled'
    PreviousState MediaJobState `json:"previousState,omitempty"`
    // Output - Gets the output.
    Output BasicMediaJobOutput `json:"output,omitempty"`
    // JobCorrelationData - Gets the Job correlation data.
    JobCorrelationData map[string]*string `json:"jobCorrelationData"`
}

func (MediaJobOutputErroredEventData) MarshalJSON

func (mjoeed MediaJobOutputErroredEventData) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for MediaJobOutputErroredEventData.

func (*MediaJobOutputErroredEventData) UnmarshalJSON

func (mjoeed *MediaJobOutputErroredEventData) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for MediaJobOutputErroredEventData struct.

type MediaJobOutputFinishedEventData

MediaJobOutputFinishedEventData job output finished event data

type MediaJobOutputFinishedEventData struct {
    // PreviousState - READ-ONLY; The previous state of the Job. Possible values include: 'Canceled', 'Canceling', 'Error', 'Finished', 'Processing', 'Queued', 'Scheduled'
    PreviousState MediaJobState `json:"previousState,omitempty"`
    // Output - Gets the output.
    Output BasicMediaJobOutput `json:"output,omitempty"`
    // JobCorrelationData - Gets the Job correlation data.
    JobCorrelationData map[string]*string `json:"jobCorrelationData"`
}

func (MediaJobOutputFinishedEventData) MarshalJSON

func (mjofed MediaJobOutputFinishedEventData) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for MediaJobOutputFinishedEventData.

func (*MediaJobOutputFinishedEventData) UnmarshalJSON

func (mjofed *MediaJobOutputFinishedEventData) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for MediaJobOutputFinishedEventData struct.

type MediaJobOutputProcessingEventData

MediaJobOutputProcessingEventData job output processing event data

type MediaJobOutputProcessingEventData struct {
    // PreviousState - READ-ONLY; The previous state of the Job. Possible values include: 'Canceled', 'Canceling', 'Error', 'Finished', 'Processing', 'Queued', 'Scheduled'
    PreviousState MediaJobState `json:"previousState,omitempty"`
    // Output - Gets the output.
    Output BasicMediaJobOutput `json:"output,omitempty"`
    // JobCorrelationData - Gets the Job correlation data.
    JobCorrelationData map[string]*string `json:"jobCorrelationData"`
}

func (MediaJobOutputProcessingEventData) MarshalJSON

func (mjoped MediaJobOutputProcessingEventData) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for MediaJobOutputProcessingEventData.

func (*MediaJobOutputProcessingEventData) UnmarshalJSON

func (mjoped *MediaJobOutputProcessingEventData) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for MediaJobOutputProcessingEventData struct.

type MediaJobOutputProgressEventData

MediaJobOutputProgressEventData job Output Progress Event Data.

type MediaJobOutputProgressEventData struct {
    // Label - Gets the Job output label.
    Label *string `json:"label,omitempty"`
    // Progress - Gets the Job output progress.
    Progress *int64 `json:"progress,omitempty"`
    // JobCorrelationData - Gets the Job correlation data.
    JobCorrelationData map[string]*string `json:"jobCorrelationData"`
}

func (MediaJobOutputProgressEventData) MarshalJSON

func (mjoped MediaJobOutputProgressEventData) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for MediaJobOutputProgressEventData.

type MediaJobOutputScheduledEventData

MediaJobOutputScheduledEventData job output scheduled event data

type MediaJobOutputScheduledEventData struct {
    // PreviousState - READ-ONLY; The previous state of the Job. Possible values include: 'Canceled', 'Canceling', 'Error', 'Finished', 'Processing', 'Queued', 'Scheduled'
    PreviousState MediaJobState `json:"previousState,omitempty"`
    // Output - Gets the output.
    Output BasicMediaJobOutput `json:"output,omitempty"`
    // JobCorrelationData - Gets the Job correlation data.
    JobCorrelationData map[string]*string `json:"jobCorrelationData"`
}

func (MediaJobOutputScheduledEventData) MarshalJSON

func (mjosed MediaJobOutputScheduledEventData) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for MediaJobOutputScheduledEventData.

func (*MediaJobOutputScheduledEventData) UnmarshalJSON

func (mjosed *MediaJobOutputScheduledEventData) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for MediaJobOutputScheduledEventData struct.

type MediaJobOutputStateChangeEventData

MediaJobOutputStateChangeEventData schema of the Data property of an EventGridEvent for a Microsoft.Media.JobOutputStateChange event.

type MediaJobOutputStateChangeEventData struct {
    // PreviousState - READ-ONLY; The previous state of the Job. Possible values include: 'Canceled', 'Canceling', 'Error', 'Finished', 'Processing', 'Queued', 'Scheduled'
    PreviousState MediaJobState `json:"previousState,omitempty"`
    // Output - Gets the output.
    Output BasicMediaJobOutput `json:"output,omitempty"`
    // JobCorrelationData - Gets the Job correlation data.
    JobCorrelationData map[string]*string `json:"jobCorrelationData"`
}

func (MediaJobOutputStateChangeEventData) MarshalJSON

func (mjosced MediaJobOutputStateChangeEventData) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for MediaJobOutputStateChangeEventData.

func (*MediaJobOutputStateChangeEventData) UnmarshalJSON

func (mjosced *MediaJobOutputStateChangeEventData) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for MediaJobOutputStateChangeEventData struct.

type MediaJobProcessingEventData

MediaJobProcessingEventData job processing event data

type MediaJobProcessingEventData struct {
    // PreviousState - READ-ONLY; The previous state of the Job. Possible values include: 'Canceled', 'Canceling', 'Error', 'Finished', 'Processing', 'Queued', 'Scheduled'
    PreviousState MediaJobState `json:"previousState,omitempty"`
    // State - READ-ONLY; The new state of the Job. Possible values include: 'Canceled', 'Canceling', 'Error', 'Finished', 'Processing', 'Queued', 'Scheduled'
    State MediaJobState `json:"state,omitempty"`
    // CorrelationData - Gets the Job correlation data.
    CorrelationData map[string]*string `json:"correlationData"`
}

func (MediaJobProcessingEventData) MarshalJSON

func (mjped MediaJobProcessingEventData) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for MediaJobProcessingEventData.

type MediaJobRetry

MediaJobRetry enumerates the values for media job retry.

type MediaJobRetry string
const (
    // DoNotRetry Issue needs to be investigated and then the job resubmitted with corrections or retried once
    // the underlying issue has been corrected.
    DoNotRetry MediaJobRetry = "DoNotRetry"
    // MayRetry Issue may be resolved after waiting for a period of time and resubmitting the same Job.
    MayRetry MediaJobRetry = "MayRetry"
)

func PossibleMediaJobRetryValues

func PossibleMediaJobRetryValues() []MediaJobRetry

PossibleMediaJobRetryValues returns an array of possible values for the MediaJobRetry const type.

type MediaJobScheduledEventData

MediaJobScheduledEventData job scheduled event data

type MediaJobScheduledEventData struct {
    // PreviousState - READ-ONLY; The previous state of the Job. Possible values include: 'Canceled', 'Canceling', 'Error', 'Finished', 'Processing', 'Queued', 'Scheduled'
    PreviousState MediaJobState `json:"previousState,omitempty"`
    // State - READ-ONLY; The new state of the Job. Possible values include: 'Canceled', 'Canceling', 'Error', 'Finished', 'Processing', 'Queued', 'Scheduled'
    State MediaJobState `json:"state,omitempty"`
    // CorrelationData - Gets the Job correlation data.
    CorrelationData map[string]*string `json:"correlationData"`
}

func (MediaJobScheduledEventData) MarshalJSON

func (mjsed MediaJobScheduledEventData) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for MediaJobScheduledEventData.

type MediaJobState

MediaJobState enumerates the values for media job state.

type MediaJobState string
const (
    // Canceled The job was canceled. This is a final state for the job.
    Canceled MediaJobState = "Canceled"
    // Canceling The job is in the process of being canceled. This is a transient state for the job.
    Canceling MediaJobState = "Canceling"
    // Error The job has encountered an error. This is a final state for the job.
    Error MediaJobState = "Error"
    // Finished The job is finished. This is a final state for the job.
    Finished MediaJobState = "Finished"
    // Processing The job is processing. This is a transient state for the job.
    Processing MediaJobState = "Processing"
    // Queued The job is in a queued state, waiting for resources to become available. This is a transient
    // state.
    Queued MediaJobState = "Queued"
    // Scheduled The job is being scheduled to run on an available resource. This is a transient state, between
    // queued and processing states.
    Scheduled MediaJobState = "Scheduled"
)

func PossibleMediaJobStateValues

func PossibleMediaJobStateValues() []MediaJobState

PossibleMediaJobStateValues returns an array of possible values for the MediaJobState const type.

type MediaJobStateChangeEventData

MediaJobStateChangeEventData schema of the Data property of an EventGridEvent for a Microsoft.Media.JobStateChange event.

type MediaJobStateChangeEventData struct {
    // PreviousState - READ-ONLY; The previous state of the Job. Possible values include: 'Canceled', 'Canceling', 'Error', 'Finished', 'Processing', 'Queued', 'Scheduled'
    PreviousState MediaJobState `json:"previousState,omitempty"`
    // State - READ-ONLY; The new state of the Job. Possible values include: 'Canceled', 'Canceling', 'Error', 'Finished', 'Processing', 'Queued', 'Scheduled'
    State MediaJobState `json:"state,omitempty"`
    // CorrelationData - Gets the Job correlation data.
    CorrelationData map[string]*string `json:"correlationData"`
}

func (MediaJobStateChangeEventData) MarshalJSON

func (mjsced MediaJobStateChangeEventData) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for MediaJobStateChangeEventData.

type MediaLiveEventConnectionRejectedEventData

MediaLiveEventConnectionRejectedEventData encoder connection rejected event data.

type MediaLiveEventConnectionRejectedEventData struct {
    // IngestURL - READ-ONLY; Gets the ingest URL provided by the live event.
    IngestURL *string `json:"ingestUrl,omitempty"`
    // StreamID - READ-ONLY; Gets the stream Id.
    StreamID *string `json:"streamId,omitempty"`
    // EncoderIP - READ-ONLY; Gets the remote IP.
    EncoderIP *string `json:"encoderIp,omitempty"`
    // EncoderPort - READ-ONLY; Gets the remote port.
    EncoderPort *string `json:"encoderPort,omitempty"`
    // ResultCode - READ-ONLY; Gets the result code.
    ResultCode *string `json:"resultCode,omitempty"`
}

func (MediaLiveEventConnectionRejectedEventData) MarshalJSON

func (mlecred MediaLiveEventConnectionRejectedEventData) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for MediaLiveEventConnectionRejectedEventData.

type MediaLiveEventEncoderConnectedEventData

MediaLiveEventEncoderConnectedEventData encoder connect event data.

type MediaLiveEventEncoderConnectedEventData struct {
    // IngestURL - READ-ONLY; Gets the ingest URL provided by the live event.
    IngestURL *string `json:"ingestUrl,omitempty"`
    // StreamID - READ-ONLY; Gets the stream Id.
    StreamID *string `json:"streamId,omitempty"`
    // EncoderIP - READ-ONLY; Gets the remote IP.
    EncoderIP *string `json:"encoderIp,omitempty"`
    // EncoderPort - READ-ONLY; Gets the remote port.
    EncoderPort *string `json:"encoderPort,omitempty"`
}

func (MediaLiveEventEncoderConnectedEventData) MarshalJSON

func (mleeced MediaLiveEventEncoderConnectedEventData) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for MediaLiveEventEncoderConnectedEventData.

type MediaLiveEventEncoderDisconnectedEventData

MediaLiveEventEncoderDisconnectedEventData encoder disconnected event data.

type MediaLiveEventEncoderDisconnectedEventData struct {
    // IngestURL - READ-ONLY; Gets the ingest URL provided by the live event.
    IngestURL *string `json:"ingestUrl,omitempty"`
    // StreamID - READ-ONLY; Gets the stream Id.
    StreamID *string `json:"streamId,omitempty"`
    // EncoderIP - READ-ONLY; Gets the remote IP.
    EncoderIP *string `json:"encoderIp,omitempty"`
    // EncoderPort - READ-ONLY; Gets the remote port.
    EncoderPort *string `json:"encoderPort,omitempty"`
    // ResultCode - READ-ONLY; Gets the result code.
    ResultCode *string `json:"resultCode,omitempty"`
}

func (MediaLiveEventEncoderDisconnectedEventData) MarshalJSON

func (mleeded MediaLiveEventEncoderDisconnectedEventData) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for MediaLiveEventEncoderDisconnectedEventData.

type MediaLiveEventIncomingDataChunkDroppedEventData

MediaLiveEventIncomingDataChunkDroppedEventData ingest fragment dropped event data.

type MediaLiveEventIncomingDataChunkDroppedEventData struct {
    // Timestamp - READ-ONLY; Gets the timestamp of the data chunk dropped.
    Timestamp *string `json:"timestamp,omitempty"`
    // TrackType - READ-ONLY; Gets the type of the track (Audio / Video).
    TrackType *string `json:"trackType,omitempty"`
    // Bitrate - READ-ONLY; Gets the bitrate of the track.
    Bitrate *int64 `json:"bitrate,omitempty"`
    // Timescale - READ-ONLY; Gets the timescale of the Timestamp.
    Timescale *string `json:"timescale,omitempty"`
    // ResultCode - READ-ONLY; Gets the result code for fragment drop operation.
    ResultCode *string `json:"resultCode,omitempty"`
    // TrackName - READ-ONLY; Gets the name of the track for which fragment is dropped.
    TrackName *string `json:"trackName,omitempty"`
}

func (MediaLiveEventIncomingDataChunkDroppedEventData) MarshalJSON

func (mleidcded MediaLiveEventIncomingDataChunkDroppedEventData) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for MediaLiveEventIncomingDataChunkDroppedEventData.

type MediaLiveEventIncomingStreamReceivedEventData

MediaLiveEventIncomingStreamReceivedEventData encoder connect event data.

type MediaLiveEventIncomingStreamReceivedEventData struct {
    // IngestURL - READ-ONLY; Gets the ingest URL provided by the live event.
    IngestURL *string `json:"ingestUrl,omitempty"`
    // TrackType - READ-ONLY; Gets the type of the track (Audio / Video).
    TrackType *string `json:"trackType,omitempty"`
    // TrackName - READ-ONLY; Gets the track name.
    TrackName *string `json:"trackName,omitempty"`
    // Bitrate - READ-ONLY; Gets the bitrate of the track.
    Bitrate *int64 `json:"bitrate,omitempty"`
    // EncoderIP - READ-ONLY; Gets the remote IP.
    EncoderIP *string `json:"encoderIp,omitempty"`
    // EncoderPort - READ-ONLY; Gets the remote port.
    EncoderPort *string `json:"encoderPort,omitempty"`
    // Timestamp - READ-ONLY; Gets the first timestamp of the data chunk received.
    Timestamp *string `json:"timestamp,omitempty"`
    // Duration - READ-ONLY; Gets the duration of the first data chunk.
    Duration *string `json:"duration,omitempty"`
    // Timescale - READ-ONLY; Gets the timescale in which timestamp is represented.
    Timescale *string `json:"timescale,omitempty"`
}

func (MediaLiveEventIncomingStreamReceivedEventData) MarshalJSON

func (mleisred MediaLiveEventIncomingStreamReceivedEventData) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for MediaLiveEventIncomingStreamReceivedEventData.

type MediaLiveEventIncomingStreamsOutOfSyncEventData

MediaLiveEventIncomingStreamsOutOfSyncEventData incoming streams out of sync event data.

type MediaLiveEventIncomingStreamsOutOfSyncEventData struct {
    // MinLastTimestamp - READ-ONLY; Gets the minimum last timestamp received.
    MinLastTimestamp *string `json:"minLastTimestamp,omitempty"`
    // TypeOfStreamWithMinLastTimestamp - READ-ONLY; Gets the type of stream with minimum last timestamp.
    TypeOfStreamWithMinLastTimestamp *string `json:"typeOfStreamWithMinLastTimestamp,omitempty"`
    // MaxLastTimestamp - READ-ONLY; Gets the maximum timestamp among all the tracks (audio or video).
    MaxLastTimestamp *string `json:"maxLastTimestamp,omitempty"`
    // TypeOfStreamWithMaxLastTimestamp - READ-ONLY; Gets the type of stream with maximum last timestamp.
    TypeOfStreamWithMaxLastTimestamp *string `json:"typeOfStreamWithMaxLastTimestamp,omitempty"`
    // TimescaleOfMinLastTimestamp - READ-ONLY; Gets the timescale in which "MinLastTimestamp" is represented.
    TimescaleOfMinLastTimestamp *string `json:"timescaleOfMinLastTimestamp,omitempty"`
    // TimescaleOfMaxLastTimestamp - READ-ONLY; Gets the timescale in which "MaxLastTimestamp" is represented.
    TimescaleOfMaxLastTimestamp *string `json:"timescaleOfMaxLastTimestamp,omitempty"`
}

func (MediaLiveEventIncomingStreamsOutOfSyncEventData) MarshalJSON

func (mleisoosed MediaLiveEventIncomingStreamsOutOfSyncEventData) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for MediaLiveEventIncomingStreamsOutOfSyncEventData.

type MediaLiveEventIncomingVideoStreamsOutOfSyncEventData

MediaLiveEventIncomingVideoStreamsOutOfSyncEventData incoming video stream out of synch event data.

type MediaLiveEventIncomingVideoStreamsOutOfSyncEventData struct {
    // FirstTimestamp - READ-ONLY; Gets the first timestamp received for one of the quality levels.
    FirstTimestamp *string `json:"firstTimestamp,omitempty"`
    // FirstDuration - READ-ONLY; Gets the duration of the data chunk with first timestamp.
    FirstDuration *string `json:"firstDuration,omitempty"`
    // SecondTimestamp - READ-ONLY; Gets the timestamp received for some other quality levels.
    SecondTimestamp *string `json:"secondTimestamp,omitempty"`
    // SecondDuration - READ-ONLY; Gets the duration of the data chunk with second timestamp.
    SecondDuration *string `json:"secondDuration,omitempty"`
    // Timescale - READ-ONLY; Gets the timescale in which both the timestamps and durations are represented.
    Timescale *string `json:"timescale,omitempty"`
}

func (MediaLiveEventIncomingVideoStreamsOutOfSyncEventData) MarshalJSON

func (mleivsoosed MediaLiveEventIncomingVideoStreamsOutOfSyncEventData) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for MediaLiveEventIncomingVideoStreamsOutOfSyncEventData.

type MediaLiveEventIngestHeartbeatEventData

MediaLiveEventIngestHeartbeatEventData ingest fragment dropped event data.

type MediaLiveEventIngestHeartbeatEventData struct {
    // TrackType - READ-ONLY; Gets the type of the track (Audio / Video).
    TrackType *string `json:"trackType,omitempty"`
    // TrackName - READ-ONLY; Gets the track name.
    TrackName *string `json:"trackName,omitempty"`
    // Bitrate - READ-ONLY; Gets the bitrate of the track.
    Bitrate *int64 `json:"bitrate,omitempty"`
    // IncomingBitrate - READ-ONLY; Gets the incoming bitrate.
    IncomingBitrate *int64 `json:"incomingBitrate,omitempty"`
    // LastTimestamp - READ-ONLY; Gets the last timestamp.
    LastTimestamp *string `json:"lastTimestamp,omitempty"`
    // Timescale - READ-ONLY; Gets the timescale of the last timestamp.
    Timescale *string `json:"timescale,omitempty"`
    // OverlapCount - READ-ONLY; Gets the fragment Overlap count.
    OverlapCount *int64 `json:"overlapCount,omitempty"`
    // DiscontinuityCount - READ-ONLY; Gets the fragment Discontinuity count.
    DiscontinuityCount *int64 `json:"discontinuityCount,omitempty"`
    // NonincreasingCount - READ-ONLY; Gets Non increasing count.
    NonincreasingCount *int64 `json:"nonincreasingCount,omitempty"`
    // UnexpectedBitrate - READ-ONLY; Gets a value indicating whether unexpected bitrate is present or not.
    UnexpectedBitrate *bool `json:"unexpectedBitrate,omitempty"`
    // State - READ-ONLY; Gets the state of the live event.
    State *string `json:"state,omitempty"`
    // Healthy - READ-ONLY; Gets a value indicating whether preview is healthy or not.
    Healthy *bool `json:"healthy,omitempty"`
}

func (MediaLiveEventIngestHeartbeatEventData) MarshalJSON

func (mleihed MediaLiveEventIngestHeartbeatEventData) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for MediaLiveEventIngestHeartbeatEventData.

type MediaLiveEventTrackDiscontinuityDetectedEventData

MediaLiveEventTrackDiscontinuityDetectedEventData ingest track discontinuity detected event data.

type MediaLiveEventTrackDiscontinuityDetectedEventData struct {
    // TrackType - READ-ONLY; Gets the type of the track (Audio / Video).
    TrackType *string `json:"trackType,omitempty"`
    // TrackName - READ-ONLY; Gets the track name.
    TrackName *string `json:"trackName,omitempty"`
    // Bitrate - READ-ONLY; Gets the bitrate.
    Bitrate *int64 `json:"bitrate,omitempty"`
    // PreviousTimestamp - READ-ONLY; Gets the timestamp of the previous fragment.
    PreviousTimestamp *string `json:"previousTimestamp,omitempty"`
    // NewTimestamp - READ-ONLY; Gets the timestamp of the current fragment.
    NewTimestamp *string `json:"newTimestamp,omitempty"`
    // Timescale - READ-ONLY; Gets the timescale in which both timestamps and discontinuity gap are represented.
    Timescale *string `json:"timescale,omitempty"`
    // DiscontinuityGap - READ-ONLY; Gets the discontinuity gap between PreviousTimestamp and NewTimestamp.
    DiscontinuityGap *string `json:"discontinuityGap,omitempty"`
}

func (MediaLiveEventTrackDiscontinuityDetectedEventData) MarshalJSON

func (mletdded MediaLiveEventTrackDiscontinuityDetectedEventData) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for MediaLiveEventTrackDiscontinuityDetectedEventData.

type OdataType

OdataType enumerates the values for odata type.

type OdataType string
const (
    // OdataTypeMediaJobOutput ...
    OdataTypeMediaJobOutput OdataType = "MediaJobOutput"
    // OdataTypeMicrosoftMediaJobOutputAsset ...
    OdataTypeMicrosoftMediaJobOutputAsset OdataType = "#Microsoft.Media.JobOutputAsset"
)

func PossibleOdataTypeValues

func PossibleOdataTypeValues() []OdataType

PossibleOdataTypeValues returns an array of possible values for the OdataType const type.

type RedisExportRDBCompletedEventData

RedisExportRDBCompletedEventData schema of the Data property of an EventGridEvent for an Microsoft.Cache.ExportRDBCompleted event.

type RedisExportRDBCompletedEventData struct {
    // Timestamp - The time at which the event occurred.
    Timestamp *date.Time `json:"timestamp,omitempty"`
    // Name - The name of this event.
    Name *string `json:"name,omitempty"`
    // Status - The status of this event. Failed or  succeeded
    Status *string `json:"status,omitempty"`
}

type RedisImportRDBCompletedEventData

RedisImportRDBCompletedEventData schema of the Data property of an EventGridEvent for an Microsoft.Cache.ImportRDBCompleted event.

type RedisImportRDBCompletedEventData struct {
    // Timestamp - The time at which the event occurred.
    Timestamp *date.Time `json:"timestamp,omitempty"`
    // Name - The name of this event.
    Name *string `json:"name,omitempty"`
    // Status - The status of this event. Failed or  succeeded
    Status *string `json:"status,omitempty"`
}

type RedisPatchingCompletedEventData

RedisPatchingCompletedEventData schema of the Data property of an EventGridEvent for an Microsoft.Cache.PatchingCompleted event.

type RedisPatchingCompletedEventData struct {
    // Timestamp - The time at which the event occurred.
    Timestamp *date.Time `json:"timestamp,omitempty"`
    // Name - The name of this event.
    Name *string `json:"name,omitempty"`
    // Status - The status of this event. Failed or  succeeded
    Status *string `json:"status,omitempty"`
}

type RedisScalingCompletedEventData

RedisScalingCompletedEventData schema of the Data property of an EventGridEvent for an Microsoft.Cache.ScalingCompleted event.

type RedisScalingCompletedEventData struct {
    // Timestamp - The time at which the event occurred.
    Timestamp *date.Time `json:"timestamp,omitempty"`
    // Name - The name of this event.
    Name *string `json:"name,omitempty"`
    // Status - The status of this event. Failed or  succeeded
    Status *string `json:"status,omitempty"`
}

type ResourceActionCancelData

ResourceActionCancelData schema of the Data property of an EventGridEvent for an Microsoft.Resources.ResourceActionCancel event. This is raised when a resource action operation is canceled.

type ResourceActionCancelData struct {
    // TenantID - The tenant ID of the resource.
    TenantID *string `json:"tenantId,omitempty"`
    // SubscriptionID - The subscription ID of the resource.
    SubscriptionID *string `json:"subscriptionId,omitempty"`
    // ResourceGroup - The resource group of the resource.
    ResourceGroup *string `json:"resourceGroup,omitempty"`
    // ResourceProvider - The resource provider performing the operation.
    ResourceProvider *string `json:"resourceProvider,omitempty"`
    // ResourceURI - The URI of the resource in the operation.
    ResourceURI *string `json:"resourceUri,omitempty"`
    // OperationName - The operation that was performed.
    OperationName *string `json:"operationName,omitempty"`
    // Status - The status of the operation.
    Status *string `json:"status,omitempty"`
    // Authorization - The requested authorization for the operation.
    Authorization *string `json:"authorization,omitempty"`
    // Claims - The properties of the claims.
    Claims *string `json:"claims,omitempty"`
    // CorrelationID - An operation ID used for troubleshooting.
    CorrelationID *string `json:"correlationId,omitempty"`
    // HTTPRequest - The details of the operation.
    HTTPRequest *string `json:"httpRequest,omitempty"`
}

type ResourceActionFailureData

ResourceActionFailureData schema of the Data property of an EventGridEvent for a Microsoft.Resources.ResourceActionFailure event. This is raised when a resource action operation fails.

type ResourceActionFailureData struct {
    // TenantID - The tenant ID of the resource.
    TenantID *string `json:"tenantId,omitempty"`
    // SubscriptionID - The subscription ID of the resource.
    SubscriptionID *string `json:"subscriptionId,omitempty"`
    // ResourceGroup - The resource group of the resource.
    ResourceGroup *string `json:"resourceGroup,omitempty"`
    // ResourceProvider - The resource provider performing the operation.
    ResourceProvider *string `json:"resourceProvider,omitempty"`
    // ResourceURI - The URI of the resource in the operation.
    ResourceURI *string `json:"resourceUri,omitempty"`
    // OperationName - The operation that was performed.
    OperationName *string `json:"operationName,omitempty"`
    // Status - The status of the operation.
    Status *string `json:"status,omitempty"`
    // Authorization - The requested authorization for the operation.
    Authorization *string `json:"authorization,omitempty"`
    // Claims - The properties of the claims.
    Claims *string `json:"claims,omitempty"`
    // CorrelationID - An operation ID used for troubleshooting.
    CorrelationID *string `json:"correlationId,omitempty"`
    // HTTPRequest - The details of the operation.
    HTTPRequest *string `json:"httpRequest,omitempty"`
}

type ResourceActionSuccessData

ResourceActionSuccessData schema of the Data property of an EventGridEvent for a Microsoft.Resources.ResourceActionSuccess event. This is raised when a resource action operation succeeds.

type ResourceActionSuccessData struct {
    // TenantID - The tenant ID of the resource.
    TenantID *string `json:"tenantId,omitempty"`
    // SubscriptionID - The subscription ID of the resource.
    SubscriptionID *string `json:"subscriptionId,omitempty"`
    // ResourceGroup - The resource group of the resource.
    ResourceGroup *string `json:"resourceGroup,omitempty"`
    // ResourceProvider - The resource provider performing the operation.
    ResourceProvider *string `json:"resourceProvider,omitempty"`
    // ResourceURI - The URI of the resource in the operation.
    ResourceURI *string `json:"resourceUri,omitempty"`
    // OperationName - The operation that was performed.
    OperationName *string `json:"operationName,omitempty"`
    // Status - The status of the operation.
    Status *string `json:"status,omitempty"`
    // Authorization - The requested authorization for the operation.
    Authorization *string `json:"authorization,omitempty"`
    // Claims - The properties of the claims.
    Claims *string `json:"claims,omitempty"`
    // CorrelationID - An operation ID used for troubleshooting.
    CorrelationID *string `json:"correlationId,omitempty"`
    // HTTPRequest - The details of the operation.
    HTTPRequest *string `json:"httpRequest,omitempty"`
}

type ResourceDeleteCancelData

ResourceDeleteCancelData schema of the Data property of an EventGridEvent for an Microsoft.Resources.ResourceDeleteCancel event. This is raised when a resource delete operation is canceled.

type ResourceDeleteCancelData struct {
    // TenantID - The tenant ID of the resource.
    TenantID *string `json:"tenantId,omitempty"`
    // SubscriptionID - The subscription ID of the resource.
    SubscriptionID *string `json:"subscriptionId,omitempty"`
    // ResourceGroup - The resource group of the resource.
    ResourceGroup *string `json:"resourceGroup,omitempty"`
    // ResourceProvider - The resource provider performing the operation.
    ResourceProvider *string `json:"resourceProvider,omitempty"`
    // ResourceURI - The URI of the resource in the operation.
    ResourceURI *string `json:"resourceUri,omitempty"`
    // OperationName - The operation that was performed.
    OperationName *string `json:"operationName,omitempty"`
    // Status - The status of the operation.
    Status *string `json:"status,omitempty"`
    // Authorization - The requested authorization for the operation.
    Authorization *string `json:"authorization,omitempty"`
    // Claims - The properties of the claims.
    Claims *string `json:"claims,omitempty"`
    // CorrelationID - An operation ID used for troubleshooting.
    CorrelationID *string `json:"correlationId,omitempty"`
    // HTTPRequest - The details of the operation.
    HTTPRequest *string `json:"httpRequest,omitempty"`
}

type ResourceDeleteFailureData

ResourceDeleteFailureData schema of the Data property of an EventGridEvent for a Microsoft.Resources.ResourceDeleteFailure event. This is raised when a resource delete operation fails.

type ResourceDeleteFailureData struct {
    // TenantID - The tenant ID of the resource.
    TenantID *string `json:"tenantId,omitempty"`
    // SubscriptionID - The subscription ID of the resource.
    SubscriptionID *string `json:"subscriptionId,omitempty"`
    // ResourceGroup - The resource group of the resource.
    ResourceGroup *string `json:"resourceGroup,omitempty"`
    // ResourceProvider - The resource provider performing the operation.
    ResourceProvider *string `json:"resourceProvider,omitempty"`
    // ResourceURI - The URI of the resource in the operation.
    ResourceURI *string `json:"resourceUri,omitempty"`
    // OperationName - The operation that was performed.
    OperationName *string `json:"operationName,omitempty"`
    // Status - The status of the operation.
    Status *string `json:"status,omitempty"`
    // Authorization - The requested authorization for the operation.
    Authorization *string `json:"authorization,omitempty"`
    // Claims - The properties of the claims.
    Claims *string `json:"claims,omitempty"`
    // CorrelationID - An operation ID used for troubleshooting.
    CorrelationID *string `json:"correlationId,omitempty"`
    // HTTPRequest - The details of the operation.
    HTTPRequest *string `json:"httpRequest,omitempty"`
}

type ResourceDeleteSuccessData

ResourceDeleteSuccessData schema of the Data property of an EventGridEvent for a Microsoft.Resources.ResourceDeleteSuccess event. This is raised when a resource delete operation succeeds.

type ResourceDeleteSuccessData struct {
    // TenantID - The tenant ID of the resource.
    TenantID *string `json:"tenantId,omitempty"`
    // SubscriptionID - The subscription ID of the resource.
    SubscriptionID *string `json:"subscriptionId,omitempty"`
    // ResourceGroup - The resource group of the resource.
    ResourceGroup *string `json:"resourceGroup,omitempty"`
    // ResourceProvider - The resource provider performing the operation.
    ResourceProvider *string `json:"resourceProvider,omitempty"`
    // ResourceURI - The URI of the resource in the operation.
    ResourceURI *string `json:"resourceUri,omitempty"`
    // OperationName - The operation that was performed.
    OperationName *string `json:"operationName,omitempty"`
    // Status - The status of the operation.
    Status *string `json:"status,omitempty"`
    // Authorization - The requested authorization for the operation.
    Authorization *string `json:"authorization,omitempty"`
    // Claims - The properties of the claims.
    Claims *string `json:"claims,omitempty"`
    // CorrelationID - An operation ID used for troubleshooting.
    CorrelationID *string `json:"correlationId,omitempty"`
    // HTTPRequest - The details of the operation.
    HTTPRequest *string `json:"httpRequest,omitempty"`
}

type ResourceWriteCancelData

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

type ResourceWriteCancelData struct {
    // TenantID - The tenant ID of the resource.
    TenantID *string `json:"tenantId,omitempty"`
    // SubscriptionID - The subscription ID of the resource.
    SubscriptionID *string `json:"subscriptionId,omitempty"`
    // ResourceGroup - The resource group of the resource.
    ResourceGroup *string `json:"resourceGroup,omitempty"`
    // ResourceProvider - The resource provider performing the operation.
    ResourceProvider *string `json:"resourceProvider,omitempty"`
    // ResourceURI - The URI of the resource in the operation.
    ResourceURI *string `json:"resourceUri,omitempty"`
    // OperationName - The operation that was performed.
    OperationName *string `json:"operationName,omitempty"`
    // Status - The status of the operation.
    Status *string `json:"status,omitempty"`
    // Authorization - The requested authorization for the operation.
    Authorization *string `json:"authorization,omitempty"`
    // Claims - The properties of the claims.
    Claims *string `json:"claims,omitempty"`
    // CorrelationID - An operation ID used for troubleshooting.
    CorrelationID *string `json:"correlationId,omitempty"`
    // HTTPRequest - The details of the operation.
    HTTPRequest *string `json:"httpRequest,omitempty"`
}

type ResourceWriteFailureData

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

type ResourceWriteFailureData struct {
    // TenantID - The tenant ID of the resource.
    TenantID *string `json:"tenantId,omitempty"`
    // SubscriptionID - The subscription ID of the resource.
    SubscriptionID *string `json:"subscriptionId,omitempty"`
    // ResourceGroup - The resource group of the resource.
    ResourceGroup *string `json:"resourceGroup,omitempty"`
    // ResourceProvider - The resource provider performing the operation.
    ResourceProvider *string `json:"resourceProvider,omitempty"`
    // ResourceURI - The URI of the resource in the operation.
    ResourceURI *string `json:"resourceUri,omitempty"`
    // OperationName - The operation that was performed.
    OperationName *string `json:"operationName,omitempty"`
    // Status - The status of the operation.
    Status *string `json:"status,omitempty"`
    // Authorization - The requested authorization for the operation.
    Authorization *string `json:"authorization,omitempty"`
    // Claims - The properties of the claims.
    Claims *string `json:"claims,omitempty"`
    // CorrelationID - An operation ID used for troubleshooting.
    CorrelationID *string `json:"correlationId,omitempty"`
    // HTTPRequest - The details of the operation.
    HTTPRequest *string `json:"httpRequest,omitempty"`
}

type ResourceWriteSuccessData

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

type ResourceWriteSuccessData struct {
    // TenantID - The tenant ID of the resource.
    TenantID *string `json:"tenantId,omitempty"`
    // SubscriptionID - The subscription ID of the resource.
    SubscriptionID *string `json:"subscriptionId,omitempty"`
    // ResourceGroup - The resource group of the resource.
    ResourceGroup *string `json:"resourceGroup,omitempty"`
    // ResourceProvider - The resource provider performing the operation.
    ResourceProvider *string `json:"resourceProvider,omitempty"`
    // ResourceURI - The URI of the resource in the operation.
    ResourceURI *string `json:"resourceUri,omitempty"`
    // OperationName - The operation that was performed.
    OperationName *string `json:"operationName,omitempty"`
    // Status - The status of the operation.
    Status *string `json:"status,omitempty"`
    // Authorization - The requested authorization for the operation.
    Authorization *string `json:"authorization,omitempty"`
    // Claims - The properties of the claims.
    Claims *string `json:"claims,omitempty"`
    // CorrelationID - An operation ID used for troubleshooting.
    CorrelationID *string `json:"correlationId,omitempty"`
    // HTTPRequest - The details of the operation.
    HTTPRequest *string `json:"httpRequest,omitempty"`
}

type ServiceBusActiveMessagesAvailableWithNoListenersEventData

ServiceBusActiveMessagesAvailableWithNoListenersEventData schema of the Data property of an EventGridEvent for a Microsoft.ServiceBus.ActiveMessagesAvailableWithNoListeners event.

type ServiceBusActiveMessagesAvailableWithNoListenersEventData struct {
    // NamespaceName - The namespace name of the Microsoft.ServiceBus resource.
    NamespaceName *string `json:"namespaceName,omitempty"`
    // RequestURI - The endpoint of the Microsoft.ServiceBus resource.
    RequestURI *string `json:"requestUri,omitempty"`
    // EntityType - The entity type of the Microsoft.ServiceBus resource. Could be one of 'queue' or 'subscriber'.
    EntityType *string `json:"entityType,omitempty"`
    // QueueName - The name of the Microsoft.ServiceBus queue. If the entity type is of type 'subscriber', then this value will be null.
    QueueName *string `json:"queueName,omitempty"`
    // TopicName - The name of the Microsoft.ServiceBus topic. If the entity type is of type 'queue', then this value will be null.
    TopicName *string `json:"topicName,omitempty"`
    // SubscriptionName - 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 `json:"subscriptionName,omitempty"`
}

type ServiceBusDeadletterMessagesAvailableWithNoListenersEventData

ServiceBusDeadletterMessagesAvailableWithNoListenersEventData schema of the Data property of an EventGridEvent for a Microsoft.ServiceBus.DeadletterMessagesAvailableWithNoListenersEvent event.

type ServiceBusDeadletterMessagesAvailableWithNoListenersEventData struct {
    // NamespaceName - The namespace name of the Microsoft.ServiceBus resource.
    NamespaceName *string `json:"namespaceName,omitempty"`
    // RequestURI - The endpoint of the Microsoft.ServiceBus resource.
    RequestURI *string `json:"requestUri,omitempty"`
    // EntityType - The entity type of the Microsoft.ServiceBus resource. Could be one of 'queue' or 'subscriber'.
    EntityType *string `json:"entityType,omitempty"`
    // QueueName - The name of the Microsoft.ServiceBus queue. If the entity type is of type 'subscriber', then this value will be null.
    QueueName *string `json:"queueName,omitempty"`
    // TopicName - The name of the Microsoft.ServiceBus topic. If the entity type is of type 'queue', then this value will be null.
    TopicName *string `json:"topicName,omitempty"`
    // SubscriptionName - 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 `json:"subscriptionName,omitempty"`
}

type SignalRServiceClientConnectionConnectedEventData

SignalRServiceClientConnectionConnectedEventData schema of the Data property of an EventGridEvent for a Microsoft.SignalRService.ClientConnectionConnected event.

type SignalRServiceClientConnectionConnectedEventData struct {
    // Timestamp - The time at which the event occurred.
    Timestamp *date.Time `json:"timestamp,omitempty"`
    // HubName - The hub of connected client connection.
    HubName *string `json:"hubName,omitempty"`
    // ConnectionID - The connection Id of connected client connection.
    ConnectionID *string `json:"connectionId,omitempty"`
    // UserID - The user Id of connected client connection.
    UserID *string `json:"userId,omitempty"`
}

type SignalRServiceClientConnectionDisconnectedEventData

SignalRServiceClientConnectionDisconnectedEventData schema of the Data property of an EventGridEvent for a Microsoft.SignalRService.ClientConnectionDisconnected event.

type SignalRServiceClientConnectionDisconnectedEventData struct {
    // Timestamp - The time at which the event occurred.
    Timestamp *date.Time `json:"timestamp,omitempty"`
    // HubName - The hub of connected client connection.
    HubName *string `json:"hubName,omitempty"`
    // ConnectionID - The connection Id of connected client connection.
    ConnectionID *string `json:"connectionId,omitempty"`
    // UserID - The user Id of connected client connection.
    UserID *string `json:"userId,omitempty"`
    // ErrorMessage - The message of error that cause the client connection disconnected.
    ErrorMessage *string `json:"errorMessage,omitempty"`
}

type StampKind

StampKind enumerates the values for stamp kind.

type StampKind string
const (
    // AseV1 App Service Plan is running on an App Service Environment V1.
    AseV1 StampKind = "AseV1"
    // AseV2 App Service Plan is running on an App Service Environment V2.
    AseV2 StampKind = "AseV2"
    // Public App Service Plan is running on a public stamp.
    Public StampKind = "Public"
)

func PossibleStampKindValues

func PossibleStampKindValues() []StampKind

PossibleStampKindValues returns an array of possible values for the StampKind const type.

type StorageBlobCreatedEventData

StorageBlobCreatedEventData schema of the Data property of an EventGridEvent for an Microsoft.Storage.BlobCreated event.

type StorageBlobCreatedEventData struct {
    // API - The name of the API/operation that triggered this event.
    API *string `json:"api,omitempty"`
    // ClientRequestID - A request id provided by the client of the storage API operation that triggered this event.
    ClientRequestID *string `json:"clientRequestId,omitempty"`
    // RequestID - The request id generated by the Storage service for the storage API operation that triggered this event.
    RequestID *string `json:"requestId,omitempty"`
    // ETag - The etag of the blob at the time this event was triggered.
    ETag *string `json:"eTag,omitempty"`
    // ContentType - 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 `json:"contentType,omitempty"`
    // ContentLength - 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 `json:"contentLength,omitempty"`
    // ContentOffset - The offset of the blob in bytes.
    ContentOffset *int64 `json:"contentOffset,omitempty"`
    // BlobType - The type of blob.
    BlobType *string `json:"blobType,omitempty"`
    // URL - The path to the blob.
    URL *string `json:"url,omitempty"`
    // Sequencer - 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 `json:"sequencer,omitempty"`
    // Identity - The identity of the requester that triggered this event.
    Identity *string `json:"identity,omitempty"`
    // StorageDiagnostics - For service use only. Diagnostic data occasionally included by the Azure Storage service. This property should be ignored by event consumers.
    StorageDiagnostics interface{} `json:"storageDiagnostics,omitempty"`
}

type StorageBlobDeletedEventData

StorageBlobDeletedEventData schema of the Data property of an EventGridEvent for an Microsoft.Storage.BlobDeleted event.

type StorageBlobDeletedEventData struct {
    // API - The name of the API/operation that triggered this event.
    API *string `json:"api,omitempty"`
    // ClientRequestID - A request id provided by the client of the storage API operation that triggered this event.
    ClientRequestID *string `json:"clientRequestId,omitempty"`
    // RequestID - The request id generated by the Storage service for the storage API operation that triggered this event.
    RequestID *string `json:"requestId,omitempty"`
    // ContentType - 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 `json:"contentType,omitempty"`
    // BlobType - The type of blob.
    BlobType *string `json:"blobType,omitempty"`
    // URL - The path to the blob.
    URL *string `json:"url,omitempty"`
    // Sequencer - 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 `json:"sequencer,omitempty"`
    // Identity - The identity of the requester that triggered this event.
    Identity *string `json:"identity,omitempty"`
    // StorageDiagnostics - For service use only. Diagnostic data occasionally included by the Azure Storage service. This property should be ignored by event consumers.
    StorageDiagnostics interface{} `json:"storageDiagnostics,omitempty"`
}

type StorageBlobRenamedEventData

StorageBlobRenamedEventData schema of the Data property of an EventGridEvent for an Microsoft.Storage.BlobRenamed event.

type StorageBlobRenamedEventData struct {
    // API - The name of the API/operation that triggered this event.
    API *string `json:"api,omitempty"`
    // ClientRequestID - A request id provided by the client of the storage API operation that triggered this event.
    ClientRequestID *string `json:"clientRequestId,omitempty"`
    // RequestID - The request id generated by the storage service for the storage API operation that triggered this event.
    RequestID *string `json:"requestId,omitempty"`
    // SourceURL - The path to the blob that was renamed.
    SourceURL *string `json:"sourceUrl,omitempty"`
    // DestinationURL - The new path to the blob after the rename operation.
    DestinationURL *string `json:"destinationUrl,omitempty"`
    // Sequencer - 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 `json:"sequencer,omitempty"`
    // Identity - The identity of the requester that triggered this event.
    Identity *string `json:"identity,omitempty"`
    // StorageDiagnostics - For service use only. Diagnostic data occasionally included by the Azure Storage service. This property should be ignored by event consumers.
    StorageDiagnostics interface{} `json:"storageDiagnostics,omitempty"`
}

type StorageDirectoryCreatedEventData

StorageDirectoryCreatedEventData schema of the Data property of an EventGridEvent for an Microsoft.Storage.DirectoryCreated event.

type StorageDirectoryCreatedEventData struct {
    // API - The name of the API/operation that triggered this event.
    API *string `json:"api,omitempty"`
    // ClientRequestID - A request id provided by the client of the storage API operation that triggered this event.
    ClientRequestID *string `json:"clientRequestId,omitempty"`
    // RequestID - The request id generated by the storage service for the storage API operation that triggered this event.
    RequestID *string `json:"requestId,omitempty"`
    // ETag - The etag of the directory at the time this event was triggered.
    ETag *string `json:"eTag,omitempty"`
    // URL - The path to the directory.
    URL *string `json:"url,omitempty"`
    // Sequencer - 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 `json:"sequencer,omitempty"`
    // Identity - The identity of the requester that triggered this event.
    Identity *string `json:"identity,omitempty"`
    // StorageDiagnostics - For service use only. Diagnostic data occasionally included by the Azure Storage service. This property should be ignored by event consumers.
    StorageDiagnostics interface{} `json:"storageDiagnostics,omitempty"`
}

type StorageDirectoryDeletedEventData

StorageDirectoryDeletedEventData schema of the Data property of an EventGridEvent for an Microsoft.Storage.DirectoryDeleted event.

type StorageDirectoryDeletedEventData struct {
    // API - The name of the API/operation that triggered this event.
    API *string `json:"api,omitempty"`
    // ClientRequestID - A request id provided by the client of the storage API operation that triggered this event.
    ClientRequestID *string `json:"clientRequestId,omitempty"`
    // RequestID - The request id generated by the storage service for the storage API operation that triggered this event.
    RequestID *string `json:"requestId,omitempty"`
    // URL - The path to the deleted directory.
    URL *string `json:"url,omitempty"`
    // Recursive - Is this event for a recursive delete operation.
    Recursive *bool `json:"recursive,omitempty"`
    // Sequencer - 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 `json:"sequencer,omitempty"`
    // Identity - The identity of the requester that triggered this event.
    Identity *string `json:"identity,omitempty"`
    // StorageDiagnostics - For service use only. Diagnostic data occasionally included by the Azure Storage service. This property should be ignored by event consumers.
    StorageDiagnostics interface{} `json:"storageDiagnostics,omitempty"`
}

type StorageDirectoryRenamedEventData

StorageDirectoryRenamedEventData schema of the Data property of an EventGridEvent for an Microsoft.Storage.DirectoryRenamed event.

type StorageDirectoryRenamedEventData struct {
    // API - The name of the API/operation that triggered this event.
    API *string `json:"api,omitempty"`
    // ClientRequestID - A request id provided by the client of the storage API operation that triggered this event.
    ClientRequestID *string `json:"clientRequestId,omitempty"`
    // RequestID - The request id generated by the storage service for the storage API operation that triggered this event.
    RequestID *string `json:"requestId,omitempty"`
    // SourceURL - The path to the directory that was renamed.
    SourceURL *string `json:"sourceUrl,omitempty"`
    // DestinationURL - The new path to the directory after the rename operation.
    DestinationURL *string `json:"destinationUrl,omitempty"`
    // Sequencer - 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 `json:"sequencer,omitempty"`
    // Identity - The identity of the requester that triggered this event.
    Identity *string `json:"identity,omitempty"`
    // StorageDiagnostics - For service use only. Diagnostic data occasionally included by the Azure Storage service. This property should be ignored by event consumers.
    StorageDiagnostics interface{} `json:"storageDiagnostics,omitempty"`
}

type StorageLifecyclePolicyActionSummaryDetail

StorageLifecyclePolicyActionSummaryDetail execution statistics of a specific policy action in a Blob Management cycle.

type StorageLifecyclePolicyActionSummaryDetail struct {
    // TotalObjectsCount - Total number of objects to be acted on by this action.
    TotalObjectsCount *int64 `json:"totalObjectsCount,omitempty"`
    // SuccessCount - Number of success operations of this action.
    SuccessCount *int64 `json:"successCount,omitempty"`
    // ErrorList - Error messages of this action if any.
    ErrorList *string `json:"errorList,omitempty"`
}

type StorageLifecyclePolicyCompletedEventData

StorageLifecyclePolicyCompletedEventData schema of the Data property of an EventGridEvent for an Microsoft.Storage.LifecyclePolicyCompleted event.

type StorageLifecyclePolicyCompletedEventData struct {
    // ScheduleTime - The time the policy task was scheduled.
    ScheduleTime         *string                                    `json:"scheduleTime,omitempty"`
    DeleteSummary        *StorageLifecyclePolicyActionSummaryDetail `json:"deleteSummary,omitempty"`
    TierToCoolSummary    *StorageLifecyclePolicyActionSummaryDetail `json:"tierToCoolSummary,omitempty"`
    TierToArchiveSummary *StorageLifecyclePolicyActionSummaryDetail `json:"tierToArchiveSummary,omitempty"`
}

type SubscriptionDeletedEventData

SubscriptionDeletedEventData schema of the Data property of an EventGridEvent for a Microsoft.EventGrid.SubscriptionDeletedEvent.

type SubscriptionDeletedEventData struct {
    // EventSubscriptionID - READ-ONLY; The Azure resource ID of the deleted event subscription.
    EventSubscriptionID *string `json:"eventSubscriptionId,omitempty"`
}

func (SubscriptionDeletedEventData) MarshalJSON

func (sded SubscriptionDeletedEventData) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for SubscriptionDeletedEventData.

type SubscriptionValidationEventData

SubscriptionValidationEventData schema of the Data property of an EventGridEvent for a Microsoft.EventGrid.SubscriptionValidationEvent.

type SubscriptionValidationEventData struct {
    // ValidationCode - READ-ONLY; The validation code sent by Azure Event Grid to validate an event subscription. To complete the validation handshake, the subscriber must either respond with this validation code as part of the validation response, or perform a GET request on the validationUrl (available starting version 2018-05-01-preview).
    ValidationCode *string `json:"validationCode,omitempty"`
    // ValidationURL - READ-ONLY; The validation URL sent by Azure Event Grid (available starting version 2018-05-01-preview). To complete the validation handshake, the subscriber must either respond with the validationCode as part of the validation response, or perform a GET request on the validationUrl (available starting version 2018-05-01-preview).
    ValidationURL *string `json:"validationUrl,omitempty"`
}

func (SubscriptionValidationEventData) MarshalJSON

func (sved SubscriptionValidationEventData) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for SubscriptionValidationEventData.

type SubscriptionValidationResponse

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.

type SubscriptionValidationResponse struct {
    // ValidationResponse - The validation response sent by the subscriber to Azure Event Grid to complete the validation of an event subscription.
    ValidationResponse *string `json:"validationResponse,omitempty"`
}

type WebAppServicePlanUpdatedEventData

WebAppServicePlanUpdatedEventData schema of the Data property of an EventGridEvent for an Microsoft.Web.AppServicePlanUpdated event.

type WebAppServicePlanUpdatedEventData struct {
    AppServicePlanEventTypeDetail *AppServicePlanEventTypeDetail `json:"appServicePlanEventTypeDetail,omitempty"`
    // Sku - sku of app service plan.
    Sku *WebAppServicePlanUpdatedEventDataSku `json:"sku,omitempty"`
    // Name - name of the app service plan that had this event.
    Name *string `json:"name,omitempty"`
    // ClientRequestID - The client request id generated by the app service for the app service plan API operation that triggered this event.
    ClientRequestID *string `json:"clientRequestId,omitempty"`
    // CorrelationRequestID - The correlation request id generated by the app service for the app service plan API operation that triggered this event.
    CorrelationRequestID *string `json:"correlationRequestId,omitempty"`
    // RequestID - The request id generated by the app service for the app service plan API operation that triggered this event.
    RequestID *string `json:"requestId,omitempty"`
    // Address - HTTP request URL of this operation.
    Address *string `json:"address,omitempty"`
    // Verb - HTTP verb of this operation.
    Verb *string `json:"verb,omitempty"`
}

type WebAppServicePlanUpdatedEventDataSku

WebAppServicePlanUpdatedEventDataSku sku of app service plan.

type WebAppServicePlanUpdatedEventDataSku struct {
    // Name - name of app service plan sku.
    Name *string `json:"name,omitempty"`
    // Tier - tier of app service plan sku.
    Tier *string `json:"Tier,omitempty"`
    // Size - size of app service plan sku.
    Size *string `json:"Size,omitempty"`
    // Family - family of app service plan sku.
    Family *string `json:"Family,omitempty"`
    // Capacity - capacity of app service plan sku.
    Capacity *string `json:"Capacity,omitempty"`
}

type WebAppUpdatedEventData

WebAppUpdatedEventData schema of the Data property of an EventGridEvent for an Microsoft.Web.AppUpdated event.

type WebAppUpdatedEventData struct {
    AppEventTypeDetail *AppEventTypeDetail `json:"appEventTypeDetail,omitempty"`
    // Name - name of the web site that had this event.
    Name *string `json:"name,omitempty"`
    // ClientRequestID - The client request id generated by the app service for the site API operation that triggered this event.
    ClientRequestID *string `json:"clientRequestId,omitempty"`
    // CorrelationRequestID - The correlation request id generated by the app service for the site API operation that triggered this event.
    CorrelationRequestID *string `json:"correlationRequestId,omitempty"`
    // RequestID - The request id generated by the app service for the site API operation that triggered this event.
    RequestID *string `json:"requestId,omitempty"`
    // Address - HTTP request URL of this operation.
    Address *string `json:"address,omitempty"`
    // Verb - HTTP verb of this operation.
    Verb *string `json:"verb,omitempty"`
}

type WebBackupOperationCompletedEventData

WebBackupOperationCompletedEventData schema of the Data property of an EventGridEvent for an Microsoft.Web.BackupOperationCompleted event.

type WebBackupOperationCompletedEventData struct {
    AppEventTypeDetail *AppEventTypeDetail `json:"appEventTypeDetail,omitempty"`
    // Name - name of the web site that had this event.
    Name *string `json:"name,omitempty"`
    // ClientRequestID - The client request id generated by the app service for the site API operation that triggered this event.
    ClientRequestID *string `json:"clientRequestId,omitempty"`
    // CorrelationRequestID - The correlation request id generated by the app service for the site API operation that triggered this event.
    CorrelationRequestID *string `json:"correlationRequestId,omitempty"`
    // RequestID - The request id generated by the app service for the site API operation that triggered this event.
    RequestID *string `json:"requestId,omitempty"`
    // Address - HTTP request URL of this operation.
    Address *string `json:"address,omitempty"`
    // Verb - HTTP verb of this operation.
    Verb *string `json:"verb,omitempty"`
}

type WebBackupOperationFailedEventData

WebBackupOperationFailedEventData schema of the Data property of an EventGridEvent for an Microsoft.Web.BackupOperationFailed event.

type WebBackupOperationFailedEventData struct {
    AppEventTypeDetail *AppEventTypeDetail `json:"appEventTypeDetail,omitempty"`
    // Name - name of the web site that had this event.
    Name *string `json:"name,omitempty"`
    // ClientRequestID - The client request id generated by the app service for the site API operation that triggered this event.
    ClientRequestID *string `json:"clientRequestId,omitempty"`
    // CorrelationRequestID - The correlation request id generated by the app service for the site API operation that triggered this event.
    CorrelationRequestID *string `json:"correlationRequestId,omitempty"`
    // RequestID - The request id generated by the app service for the site API operation that triggered this event.
    RequestID *string `json:"requestId,omitempty"`
    // Address - HTTP request URL of this operation.
    Address *string `json:"address,omitempty"`
    // Verb - HTTP verb of this operation.
    Verb *string `json:"verb,omitempty"`
}

type WebBackupOperationStartedEventData

WebBackupOperationStartedEventData schema of the Data property of an EventGridEvent for an Microsoft.Web.BackupOperationStarted event.

type WebBackupOperationStartedEventData struct {
    AppEventTypeDetail *AppEventTypeDetail `json:"appEventTypeDetail,omitempty"`
    // Name - name of the web site that had this event.
    Name *string `json:"name,omitempty"`
    // ClientRequestID - The client request id generated by the app service for the site API operation that triggered this event.
    ClientRequestID *string `json:"clientRequestId,omitempty"`
    // CorrelationRequestID - The correlation request id generated by the app service for the site API operation that triggered this event.
    CorrelationRequestID *string `json:"correlationRequestId,omitempty"`
    // RequestID - The request id generated by the app service for the site API operation that triggered this event.
    RequestID *string `json:"requestId,omitempty"`
    // Address - HTTP request URL of this operation.
    Address *string `json:"address,omitempty"`
    // Verb - HTTP verb of this operation.
    Verb *string `json:"verb,omitempty"`
}

type WebRestoreOperationCompletedEventData

WebRestoreOperationCompletedEventData schema of the Data property of an EventGridEvent for an Microsoft.Web.RestoreOperationCompleted event.

type WebRestoreOperationCompletedEventData struct {
    AppEventTypeDetail *AppEventTypeDetail `json:"appEventTypeDetail,omitempty"`
    // Name - name of the web site that had this event.
    Name *string `json:"name,omitempty"`
    // ClientRequestID - The client request id generated by the app service for the site API operation that triggered this event.
    ClientRequestID *string `json:"clientRequestId,omitempty"`
    // CorrelationRequestID - The correlation request id generated by the app service for the site API operation that triggered this event.
    CorrelationRequestID *string `json:"correlationRequestId,omitempty"`
    // RequestID - The request id generated by the app service for the site API operation that triggered this event.
    RequestID *string `json:"requestId,omitempty"`
    // Address - HTTP request URL of this operation.
    Address *string `json:"address,omitempty"`
    // Verb - HTTP verb of this operation.
    Verb *string `json:"verb,omitempty"`
}

type WebRestoreOperationFailedEventData

WebRestoreOperationFailedEventData schema of the Data property of an EventGridEvent for an Microsoft.Web.RestoreOperationFailed event.

type WebRestoreOperationFailedEventData struct {
    AppEventTypeDetail *AppEventTypeDetail `json:"appEventTypeDetail,omitempty"`
    // Name - name of the web site that had this event.
    Name *string `json:"name,omitempty"`
    // ClientRequestID - The client request id generated by the app service for the site API operation that triggered this event.
    ClientRequestID *string `json:"clientRequestId,omitempty"`
    // CorrelationRequestID - The correlation request id generated by the app service for the site API operation that triggered this event.
    CorrelationRequestID *string `json:"correlationRequestId,omitempty"`
    // RequestID - The request id generated by the app service for the site API operation that triggered this event.
    RequestID *string `json:"requestId,omitempty"`
    // Address - HTTP request URL of this operation.
    Address *string `json:"address,omitempty"`
    // Verb - HTTP verb of this operation.
    Verb *string `json:"verb,omitempty"`
}

type WebRestoreOperationStartedEventData

WebRestoreOperationStartedEventData schema of the Data property of an EventGridEvent for an Microsoft.Web.RestoreOperationStarted event.

type WebRestoreOperationStartedEventData struct {
    AppEventTypeDetail *AppEventTypeDetail `json:"appEventTypeDetail,omitempty"`
    // Name - name of the web site that had this event.
    Name *string `json:"name,omitempty"`
    // ClientRequestID - The client request id generated by the app service for the site API operation that triggered this event.
    ClientRequestID *string `json:"clientRequestId,omitempty"`
    // CorrelationRequestID - The correlation request id generated by the app service for the site API operation that triggered this event.
    CorrelationRequestID *string `json:"correlationRequestId,omitempty"`
    // RequestID - The request id generated by the app service for the site API operation that triggered this event.
    RequestID *string `json:"requestId,omitempty"`
    // Address - HTTP request URL of this operation.
    Address *string `json:"address,omitempty"`
    // Verb - HTTP verb of this operation.
    Verb *string `json:"verb,omitempty"`
}

type WebSlotSwapCompletedEventData

WebSlotSwapCompletedEventData schema of the Data property of an EventGridEvent for an Microsoft.Web.SlotSwapCompleted event.

type WebSlotSwapCompletedEventData struct {
    AppEventTypeDetail *AppEventTypeDetail `json:"appEventTypeDetail,omitempty"`
    // Name - name of the web site that had this event.
    Name *string `json:"name,omitempty"`
    // ClientRequestID - The client request id generated by the app service for the site API operation that triggered this event.
    ClientRequestID *string `json:"clientRequestId,omitempty"`
    // CorrelationRequestID - The correlation request id generated by the app service for the site API operation that triggered this event.
    CorrelationRequestID *string `json:"correlationRequestId,omitempty"`
    // RequestID - The request id generated by the app service for the site API operation that triggered this event.
    RequestID *string `json:"requestId,omitempty"`
    // Address - HTTP request URL of this operation.
    Address *string `json:"address,omitempty"`
    // Verb - HTTP verb of this operation.
    Verb *string `json:"verb,omitempty"`
}

type WebSlotSwapFailedEventData

WebSlotSwapFailedEventData schema of the Data property of an EventGridEvent for an Microsoft.Web.SlotSwapFailed event.

type WebSlotSwapFailedEventData struct {
    AppEventTypeDetail *AppEventTypeDetail `json:"appEventTypeDetail,omitempty"`
    // Name - name of the web site that had this event.
    Name *string `json:"name,omitempty"`
    // ClientRequestID - The client request id generated by the app service for the site API operation that triggered this event.
    ClientRequestID *string `json:"clientRequestId,omitempty"`
    // CorrelationRequestID - The correlation request id generated by the app service for the site API operation that triggered this event.
    CorrelationRequestID *string `json:"correlationRequestId,omitempty"`
    // RequestID - The request id generated by the app service for the site API operation that triggered this event.
    RequestID *string `json:"requestId,omitempty"`
    // Address - HTTP request URL of this operation.
    Address *string `json:"address,omitempty"`
    // Verb - HTTP verb of this operation.
    Verb *string `json:"verb,omitempty"`
}

type WebSlotSwapStartedEventData

WebSlotSwapStartedEventData schema of the Data property of an EventGridEvent for an Microsoft.Web.SlotSwapStarted event.

type WebSlotSwapStartedEventData struct {
    AppEventTypeDetail *AppEventTypeDetail `json:"appEventTypeDetail,omitempty"`
    // Name - name of the web site that had this event.
    Name *string `json:"name,omitempty"`
    // ClientRequestID - The client request id generated by the app service for the site API operation that triggered this event.
    ClientRequestID *string `json:"clientRequestId,omitempty"`
    // CorrelationRequestID - The correlation request id generated by the app service for the site API operation that triggered this event.
    CorrelationRequestID *string `json:"correlationRequestId,omitempty"`
    // RequestID - The request id generated by the app service for the site API operation that triggered this event.
    RequestID *string `json:"requestId,omitempty"`
    // Address - HTTP request URL of this operation.
    Address *string `json:"address,omitempty"`
    // Verb - HTTP verb of this operation.
    Verb *string `json:"verb,omitempty"`
}

type WebSlotSwapWithPreviewCancelledEventData

WebSlotSwapWithPreviewCancelledEventData schema of the Data property of an EventGridEvent for an Microsoft.Web.SlotSwapWithPreviewCancelled event.

type WebSlotSwapWithPreviewCancelledEventData struct {
    AppEventTypeDetail *AppEventTypeDetail `json:"appEventTypeDetail,omitempty"`
    // Name - name of the web site that had this event.
    Name *string `json:"name,omitempty"`
    // ClientRequestID - The client request id generated by the app service for the site API operation that triggered this event.
    ClientRequestID *string `json:"clientRequestId,omitempty"`
    // CorrelationRequestID - The correlation request id generated by the app service for the site API operation that triggered this event.
    CorrelationRequestID *string `json:"correlationRequestId,omitempty"`
    // RequestID - The request id generated by the app service for the site API operation that triggered this event.
    RequestID *string `json:"requestId,omitempty"`
    // Address - HTTP request URL of this operation.
    Address *string `json:"address,omitempty"`
    // Verb - HTTP verb of this operation.
    Verb *string `json:"verb,omitempty"`
}

type WebSlotSwapWithPreviewStartedEventData

WebSlotSwapWithPreviewStartedEventData schema of the Data property of an EventGridEvent for an Microsoft.Web.SlotSwapWithPreviewStarted event.

type WebSlotSwapWithPreviewStartedEventData struct {
    AppEventTypeDetail *AppEventTypeDetail `json:"appEventTypeDetail,omitempty"`
    // Name - name of the web site that had this event.
    Name *string `json:"name,omitempty"`
    // ClientRequestID - The client request id generated by the app service for the site API operation that triggered this event.
    ClientRequestID *string `json:"clientRequestId,omitempty"`
    // CorrelationRequestID - The correlation request id generated by the app service for the site API operation that triggered this event.
    CorrelationRequestID *string `json:"correlationRequestId,omitempty"`
    // RequestID - The request id generated by the app service for the site API operation that triggered this event.
    RequestID *string `json:"requestId,omitempty"`
    // Address - HTTP request URL of this operation.
    Address *string `json:"address,omitempty"`
    // Verb - HTTP verb of this operation.
    Verb *string `json:"verb,omitempty"`
}

Subdirectories

Name Synopsis
..
eventgridapi