eventgrid

package
v1.0.3 Latest Latest
Warning

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

Go to latest
Published: May 19, 2023 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type EventGridEventResource

type EventGridEventResource struct {
	// the event grid event message
	Message *eventgrid.Event

	// the azure resource instance
	Resource *armresources.GenericResource
	// the lookup tags for the resource
	Tags deployment.LookupTags
}

combines event grid event message and the resource instance it's related to

type EventGridEventResources

type EventGridEventResources []*EventGridEventResource

list of event grid event resources

type ResourceEventData

type ResourceEventData struct {
	CorrelationID    string `mapstructure:"correlationId"`
	ResourceProvider string `mapstructure:"resourceProvider"`
	ResourceURI      string `mapstructure:"resourceUri"`
	OperationName    string `mapstructure:"operationName"`
	Status           string `mapstructure:"status"`
	SubscriptionID   string `mapstructure:"subscriptionId"`
	TenantID         string `mapstructure:"tenantId"`
}

ResourceEventData is the data structure for the event grid event use only for unmarshalling in order to map to resource this is the .Data field of the event grid event when the event type is Microsoft.Resources.ResourceWriteSuccess, for example.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL