eventgrid

package
Version: v55.6.0+incompatible Latest Latest
Warning

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

Go to latest
Published: Jul 9, 2021 License: MIT Imports: 10 Imported by: 0

Documentation

Overview

Package eventgrid implements the Azure ARM Eventgrid service API version 2021-06-01-preview.

Azure EventGrid Management Client

Index

Constants

View Source
const (
	// DefaultBaseURI is the default URI used for the service Eventgrid
	DefaultBaseURI = "https://management.azure.com"
)

Variables

This section is empty.

Functions

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.

Types

type AdvancedFilter

type AdvancedFilter struct {
	// Key - The field/property in the event based on which you want to filter.
	Key *string `json:"key,omitempty"`
	// OperatorType - Possible values include: 'OperatorTypeAdvancedFilter', 'OperatorTypeNumberIn', 'OperatorTypeNumberNotIn', 'OperatorTypeNumberLessThan', 'OperatorTypeNumberGreaterThan', 'OperatorTypeNumberLessThanOrEquals', 'OperatorTypeNumberGreaterThanOrEquals', 'OperatorTypeBoolEquals', 'OperatorTypeStringIn', 'OperatorTypeStringNotIn', 'OperatorTypeStringBeginsWith', 'OperatorTypeStringEndsWith', 'OperatorTypeStringContains', 'OperatorTypeNumberInRange', 'OperatorTypeNumberNotInRange', 'OperatorTypeStringNotBeginsWith', 'OperatorTypeStringNotEndsWith', 'OperatorTypeStringNotContains', 'OperatorTypeIsNullOrUndefined', 'OperatorTypeIsNotNull'
	OperatorType OperatorType `json:"operatorType,omitempty"`
}

AdvancedFilter this is the base type that represents an advanced filter. To configure an advanced filter, do not directly instantiate an object of this class. Instead, instantiate an object of a derived class such as BoolEqualsAdvancedFilter, NumberInAdvancedFilter, StringEqualsAdvancedFilter etc. depending on the type of the key based on which you want to filter.

func (AdvancedFilter) AsAdvancedFilter

func (af AdvancedFilter) AsAdvancedFilter() (*AdvancedFilter, bool)

AsAdvancedFilter is the BasicAdvancedFilter implementation for AdvancedFilter.

func (AdvancedFilter) AsBasicAdvancedFilter

func (af AdvancedFilter) AsBasicAdvancedFilter() (BasicAdvancedFilter, bool)

AsBasicAdvancedFilter is the BasicAdvancedFilter implementation for AdvancedFilter.

func (AdvancedFilter) AsBoolEqualsAdvancedFilter

func (af AdvancedFilter) AsBoolEqualsAdvancedFilter() (*BoolEqualsAdvancedFilter, bool)

AsBoolEqualsAdvancedFilter is the BasicAdvancedFilter implementation for AdvancedFilter.

func (AdvancedFilter) AsIsNotNullAdvancedFilter

func (af AdvancedFilter) AsIsNotNullAdvancedFilter() (*IsNotNullAdvancedFilter, bool)

AsIsNotNullAdvancedFilter is the BasicAdvancedFilter implementation for AdvancedFilter.

func (AdvancedFilter) AsIsNullOrUndefinedAdvancedFilter

func (af AdvancedFilter) AsIsNullOrUndefinedAdvancedFilter() (*IsNullOrUndefinedAdvancedFilter, bool)

AsIsNullOrUndefinedAdvancedFilter is the BasicAdvancedFilter implementation for AdvancedFilter.

func (AdvancedFilter) AsNumberGreaterThanAdvancedFilter

func (af AdvancedFilter) AsNumberGreaterThanAdvancedFilter() (*NumberGreaterThanAdvancedFilter, bool)

AsNumberGreaterThanAdvancedFilter is the BasicAdvancedFilter implementation for AdvancedFilter.

func (AdvancedFilter) AsNumberGreaterThanOrEqualsAdvancedFilter

func (af AdvancedFilter) AsNumberGreaterThanOrEqualsAdvancedFilter() (*NumberGreaterThanOrEqualsAdvancedFilter, bool)

AsNumberGreaterThanOrEqualsAdvancedFilter is the BasicAdvancedFilter implementation for AdvancedFilter.

func (AdvancedFilter) AsNumberInAdvancedFilter

func (af AdvancedFilter) AsNumberInAdvancedFilter() (*NumberInAdvancedFilter, bool)

AsNumberInAdvancedFilter is the BasicAdvancedFilter implementation for AdvancedFilter.

func (AdvancedFilter) AsNumberInRangeAdvancedFilter

func (af AdvancedFilter) AsNumberInRangeAdvancedFilter() (*NumberInRangeAdvancedFilter, bool)

AsNumberInRangeAdvancedFilter is the BasicAdvancedFilter implementation for AdvancedFilter.

func (AdvancedFilter) AsNumberLessThanAdvancedFilter

func (af AdvancedFilter) AsNumberLessThanAdvancedFilter() (*NumberLessThanAdvancedFilter, bool)

AsNumberLessThanAdvancedFilter is the BasicAdvancedFilter implementation for AdvancedFilter.

func (AdvancedFilter) AsNumberLessThanOrEqualsAdvancedFilter

func (af AdvancedFilter) AsNumberLessThanOrEqualsAdvancedFilter() (*NumberLessThanOrEqualsAdvancedFilter, bool)

AsNumberLessThanOrEqualsAdvancedFilter is the BasicAdvancedFilter implementation for AdvancedFilter.

func (AdvancedFilter) AsNumberNotInAdvancedFilter

func (af AdvancedFilter) AsNumberNotInAdvancedFilter() (*NumberNotInAdvancedFilter, bool)

AsNumberNotInAdvancedFilter is the BasicAdvancedFilter implementation for AdvancedFilter.

func (AdvancedFilter) AsNumberNotInRangeAdvancedFilter

func (af AdvancedFilter) AsNumberNotInRangeAdvancedFilter() (*NumberNotInRangeAdvancedFilter, bool)

AsNumberNotInRangeAdvancedFilter is the BasicAdvancedFilter implementation for AdvancedFilter.

func (AdvancedFilter) AsStringBeginsWithAdvancedFilter

func (af AdvancedFilter) AsStringBeginsWithAdvancedFilter() (*StringBeginsWithAdvancedFilter, bool)

AsStringBeginsWithAdvancedFilter is the BasicAdvancedFilter implementation for AdvancedFilter.

func (AdvancedFilter) AsStringContainsAdvancedFilter

func (af AdvancedFilter) AsStringContainsAdvancedFilter() (*StringContainsAdvancedFilter, bool)

AsStringContainsAdvancedFilter is the BasicAdvancedFilter implementation for AdvancedFilter.

func (AdvancedFilter) AsStringEndsWithAdvancedFilter

func (af AdvancedFilter) AsStringEndsWithAdvancedFilter() (*StringEndsWithAdvancedFilter, bool)

AsStringEndsWithAdvancedFilter is the BasicAdvancedFilter implementation for AdvancedFilter.

func (AdvancedFilter) AsStringInAdvancedFilter

func (af AdvancedFilter) AsStringInAdvancedFilter() (*StringInAdvancedFilter, bool)

AsStringInAdvancedFilter is the BasicAdvancedFilter implementation for AdvancedFilter.

func (AdvancedFilter) AsStringNotBeginsWithAdvancedFilter

func (af AdvancedFilter) AsStringNotBeginsWithAdvancedFilter() (*StringNotBeginsWithAdvancedFilter, bool)

AsStringNotBeginsWithAdvancedFilter is the BasicAdvancedFilter implementation for AdvancedFilter.

func (AdvancedFilter) AsStringNotContainsAdvancedFilter

func (af AdvancedFilter) AsStringNotContainsAdvancedFilter() (*StringNotContainsAdvancedFilter, bool)

AsStringNotContainsAdvancedFilter is the BasicAdvancedFilter implementation for AdvancedFilter.

func (AdvancedFilter) AsStringNotEndsWithAdvancedFilter

func (af AdvancedFilter) AsStringNotEndsWithAdvancedFilter() (*StringNotEndsWithAdvancedFilter, bool)

AsStringNotEndsWithAdvancedFilter is the BasicAdvancedFilter implementation for AdvancedFilter.

func (AdvancedFilter) AsStringNotInAdvancedFilter

func (af AdvancedFilter) AsStringNotInAdvancedFilter() (*StringNotInAdvancedFilter, bool)

AsStringNotInAdvancedFilter is the BasicAdvancedFilter implementation for AdvancedFilter.

func (AdvancedFilter) MarshalJSON

func (af AdvancedFilter) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for AdvancedFilter.

type AzureFunctionEventSubscriptionDestination

type AzureFunctionEventSubscriptionDestination struct {
	// AzureFunctionEventSubscriptionDestinationProperties - Azure Function Properties of the event subscription destination.
	*AzureFunctionEventSubscriptionDestinationProperties `json:"properties,omitempty"`
	// EndpointType - Possible values include: 'EndpointTypeEventSubscriptionDestination', 'EndpointTypeWebHook', 'EndpointTypeEventHub', 'EndpointTypeStorageQueue', 'EndpointTypeHybridConnection', 'EndpointTypeServiceBusQueue', 'EndpointTypeServiceBusTopic', 'EndpointTypeAzureFunction'
	EndpointType EndpointType `json:"endpointType,omitempty"`
}

AzureFunctionEventSubscriptionDestination information about the azure function destination for an event subscription.

func (AzureFunctionEventSubscriptionDestination) AsAzureFunctionEventSubscriptionDestination

func (afesd AzureFunctionEventSubscriptionDestination) AsAzureFunctionEventSubscriptionDestination() (*AzureFunctionEventSubscriptionDestination, bool)

AsAzureFunctionEventSubscriptionDestination is the BasicEventSubscriptionDestination implementation for AzureFunctionEventSubscriptionDestination.

func (AzureFunctionEventSubscriptionDestination) AsBasicEventSubscriptionDestination

func (afesd AzureFunctionEventSubscriptionDestination) AsBasicEventSubscriptionDestination() (BasicEventSubscriptionDestination, bool)

AsBasicEventSubscriptionDestination is the BasicEventSubscriptionDestination implementation for AzureFunctionEventSubscriptionDestination.

func (AzureFunctionEventSubscriptionDestination) AsEventHubEventSubscriptionDestination

func (afesd AzureFunctionEventSubscriptionDestination) AsEventHubEventSubscriptionDestination() (*EventHubEventSubscriptionDestination, bool)

AsEventHubEventSubscriptionDestination is the BasicEventSubscriptionDestination implementation for AzureFunctionEventSubscriptionDestination.

func (AzureFunctionEventSubscriptionDestination) AsEventSubscriptionDestination

func (afesd AzureFunctionEventSubscriptionDestination) AsEventSubscriptionDestination() (*EventSubscriptionDestination, bool)

AsEventSubscriptionDestination is the BasicEventSubscriptionDestination implementation for AzureFunctionEventSubscriptionDestination.

func (AzureFunctionEventSubscriptionDestination) AsHybridConnectionEventSubscriptionDestination

func (afesd AzureFunctionEventSubscriptionDestination) AsHybridConnectionEventSubscriptionDestination() (*HybridConnectionEventSubscriptionDestination, bool)

AsHybridConnectionEventSubscriptionDestination is the BasicEventSubscriptionDestination implementation for AzureFunctionEventSubscriptionDestination.

func (AzureFunctionEventSubscriptionDestination) AsServiceBusQueueEventSubscriptionDestination

func (afesd AzureFunctionEventSubscriptionDestination) AsServiceBusQueueEventSubscriptionDestination() (*ServiceBusQueueEventSubscriptionDestination, bool)

AsServiceBusQueueEventSubscriptionDestination is the BasicEventSubscriptionDestination implementation for AzureFunctionEventSubscriptionDestination.

func (AzureFunctionEventSubscriptionDestination) AsServiceBusTopicEventSubscriptionDestination

func (afesd AzureFunctionEventSubscriptionDestination) AsServiceBusTopicEventSubscriptionDestination() (*ServiceBusTopicEventSubscriptionDestination, bool)

AsServiceBusTopicEventSubscriptionDestination is the BasicEventSubscriptionDestination implementation for AzureFunctionEventSubscriptionDestination.

func (AzureFunctionEventSubscriptionDestination) AsStorageQueueEventSubscriptionDestination

func (afesd AzureFunctionEventSubscriptionDestination) AsStorageQueueEventSubscriptionDestination() (*StorageQueueEventSubscriptionDestination, bool)

AsStorageQueueEventSubscriptionDestination is the BasicEventSubscriptionDestination implementation for AzureFunctionEventSubscriptionDestination.

func (AzureFunctionEventSubscriptionDestination) AsWebHookEventSubscriptionDestination

func (afesd AzureFunctionEventSubscriptionDestination) AsWebHookEventSubscriptionDestination() (*WebHookEventSubscriptionDestination, bool)

AsWebHookEventSubscriptionDestination is the BasicEventSubscriptionDestination implementation for AzureFunctionEventSubscriptionDestination.

func (AzureFunctionEventSubscriptionDestination) MarshalJSON

func (afesd AzureFunctionEventSubscriptionDestination) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for AzureFunctionEventSubscriptionDestination.

func (*AzureFunctionEventSubscriptionDestination) UnmarshalJSON

func (afesd *AzureFunctionEventSubscriptionDestination) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for AzureFunctionEventSubscriptionDestination struct.

type AzureFunctionEventSubscriptionDestinationProperties

type AzureFunctionEventSubscriptionDestinationProperties struct {
	// ResourceID - The Azure Resource Id that represents the endpoint of the Azure Function destination of an event subscription.
	ResourceID *string `json:"resourceId,omitempty"`
	// MaxEventsPerBatch - Maximum number of events per batch.
	MaxEventsPerBatch *int32 `json:"maxEventsPerBatch,omitempty"`
	// PreferredBatchSizeInKilobytes - Preferred batch size in Kilobytes.
	PreferredBatchSizeInKilobytes *int32 `json:"preferredBatchSizeInKilobytes,omitempty"`
	// DeliveryAttributeMappings - Delivery attribute details.
	DeliveryAttributeMappings *[]BasicDeliveryAttributeMapping `json:"deliveryAttributeMappings,omitempty"`
}

AzureFunctionEventSubscriptionDestinationProperties the properties that represent the Azure Function destination of an event subscription.

func (*AzureFunctionEventSubscriptionDestinationProperties) UnmarshalJSON

func (afesdp *AzureFunctionEventSubscriptionDestinationProperties) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for AzureFunctionEventSubscriptionDestinationProperties struct.

type BaseClient

type BaseClient struct {
	autorest.Client
	BaseURI        string
	SubscriptionID string
}

BaseClient is the base client for Eventgrid.

func New

func New(subscriptionID string) BaseClient

New creates an instance of the BaseClient client.

func NewWithBaseURI

func NewWithBaseURI(baseURI string, subscriptionID string) BaseClient

NewWithBaseURI creates an instance of the BaseClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

type BasicAdvancedFilter

type BasicAdvancedFilter interface {
	AsNumberInAdvancedFilter() (*NumberInAdvancedFilter, bool)
	AsNumberNotInAdvancedFilter() (*NumberNotInAdvancedFilter, bool)
	AsNumberLessThanAdvancedFilter() (*NumberLessThanAdvancedFilter, bool)
	AsNumberGreaterThanAdvancedFilter() (*NumberGreaterThanAdvancedFilter, bool)
	AsNumberLessThanOrEqualsAdvancedFilter() (*NumberLessThanOrEqualsAdvancedFilter, bool)
	AsNumberGreaterThanOrEqualsAdvancedFilter() (*NumberGreaterThanOrEqualsAdvancedFilter, bool)
	AsBoolEqualsAdvancedFilter() (*BoolEqualsAdvancedFilter, bool)
	AsStringInAdvancedFilter() (*StringInAdvancedFilter, bool)
	AsStringNotInAdvancedFilter() (*StringNotInAdvancedFilter, bool)
	AsStringBeginsWithAdvancedFilter() (*StringBeginsWithAdvancedFilter, bool)
	AsStringEndsWithAdvancedFilter() (*StringEndsWithAdvancedFilter, bool)
	AsStringContainsAdvancedFilter() (*StringContainsAdvancedFilter, bool)
	AsNumberInRangeAdvancedFilter() (*NumberInRangeAdvancedFilter, bool)
	AsNumberNotInRangeAdvancedFilter() (*NumberNotInRangeAdvancedFilter, bool)
	AsStringNotBeginsWithAdvancedFilter() (*StringNotBeginsWithAdvancedFilter, bool)
	AsStringNotEndsWithAdvancedFilter() (*StringNotEndsWithAdvancedFilter, bool)
	AsStringNotContainsAdvancedFilter() (*StringNotContainsAdvancedFilter, bool)
	AsIsNullOrUndefinedAdvancedFilter() (*IsNullOrUndefinedAdvancedFilter, bool)
	AsIsNotNullAdvancedFilter() (*IsNotNullAdvancedFilter, bool)
	AsAdvancedFilter() (*AdvancedFilter, bool)
}

BasicAdvancedFilter this is the base type that represents an advanced filter. To configure an advanced filter, do not directly instantiate an object of this class. Instead, instantiate an object of a derived class such as BoolEqualsAdvancedFilter, NumberInAdvancedFilter, StringEqualsAdvancedFilter etc. depending on the type of the key based on which you want to filter.

type BasicDeadLetterDestination

type BasicDeadLetterDestination interface {
	AsStorageBlobDeadLetterDestination() (*StorageBlobDeadLetterDestination, bool)
	AsDeadLetterDestination() (*DeadLetterDestination, bool)
}

BasicDeadLetterDestination information about the dead letter destination for an event subscription. To configure a deadletter destination, do not directly instantiate an object of this class. Instead, instantiate an object of a derived class. Currently, StorageBlobDeadLetterDestination is the only class that derives from this class.

type BasicDeliveryAttributeMapping

type BasicDeliveryAttributeMapping interface {
	AsStaticDeliveryAttributeMapping() (*StaticDeliveryAttributeMapping, bool)
	AsDynamicDeliveryAttributeMapping() (*DynamicDeliveryAttributeMapping, bool)
	AsDeliveryAttributeMapping() (*DeliveryAttributeMapping, bool)
}

BasicDeliveryAttributeMapping delivery attribute mapping details.

type BasicEventSubscriptionDestination

type BasicEventSubscriptionDestination interface {
	AsWebHookEventSubscriptionDestination() (*WebHookEventSubscriptionDestination, bool)
	AsEventHubEventSubscriptionDestination() (*EventHubEventSubscriptionDestination, bool)
	AsStorageQueueEventSubscriptionDestination() (*StorageQueueEventSubscriptionDestination, bool)
	AsHybridConnectionEventSubscriptionDestination() (*HybridConnectionEventSubscriptionDestination, bool)
	AsServiceBusQueueEventSubscriptionDestination() (*ServiceBusQueueEventSubscriptionDestination, bool)
	AsServiceBusTopicEventSubscriptionDestination() (*ServiceBusTopicEventSubscriptionDestination, bool)
	AsAzureFunctionEventSubscriptionDestination() (*AzureFunctionEventSubscriptionDestination, bool)
	AsEventSubscriptionDestination() (*EventSubscriptionDestination, bool)
}

BasicEventSubscriptionDestination information about the destination for an event subscription.

type BasicInputSchemaMapping

type BasicInputSchemaMapping interface {
	AsJSONInputSchemaMapping() (*JSONInputSchemaMapping, bool)
	AsInputSchemaMapping() (*InputSchemaMapping, bool)
}

BasicInputSchemaMapping by default, Event Grid expects events to be in the Event Grid event schema. Specifying an input schema mapping enables publishing to Event Grid using a custom input schema. Currently, the only supported type of InputSchemaMapping is 'JsonInputSchemaMapping'.

type BoolEqualsAdvancedFilter

type BoolEqualsAdvancedFilter struct {
	// Value - The boolean filter value.
	Value *bool `json:"value,omitempty"`
	// Key - The field/property in the event based on which you want to filter.
	Key *string `json:"key,omitempty"`
	// OperatorType - Possible values include: 'OperatorTypeAdvancedFilter', 'OperatorTypeNumberIn', 'OperatorTypeNumberNotIn', 'OperatorTypeNumberLessThan', 'OperatorTypeNumberGreaterThan', 'OperatorTypeNumberLessThanOrEquals', 'OperatorTypeNumberGreaterThanOrEquals', 'OperatorTypeBoolEquals', 'OperatorTypeStringIn', 'OperatorTypeStringNotIn', 'OperatorTypeStringBeginsWith', 'OperatorTypeStringEndsWith', 'OperatorTypeStringContains', 'OperatorTypeNumberInRange', 'OperatorTypeNumberNotInRange', 'OperatorTypeStringNotBeginsWith', 'OperatorTypeStringNotEndsWith', 'OperatorTypeStringNotContains', 'OperatorTypeIsNullOrUndefined', 'OperatorTypeIsNotNull'
	OperatorType OperatorType `json:"operatorType,omitempty"`
}

BoolEqualsAdvancedFilter boolEquals Advanced Filter.

func (BoolEqualsAdvancedFilter) AsAdvancedFilter

func (beaf BoolEqualsAdvancedFilter) AsAdvancedFilter() (*AdvancedFilter, bool)

AsAdvancedFilter is the BasicAdvancedFilter implementation for BoolEqualsAdvancedFilter.

func (BoolEqualsAdvancedFilter) AsBasicAdvancedFilter

func (beaf BoolEqualsAdvancedFilter) AsBasicAdvancedFilter() (BasicAdvancedFilter, bool)

AsBasicAdvancedFilter is the BasicAdvancedFilter implementation for BoolEqualsAdvancedFilter.

func (BoolEqualsAdvancedFilter) AsBoolEqualsAdvancedFilter

func (beaf BoolEqualsAdvancedFilter) AsBoolEqualsAdvancedFilter() (*BoolEqualsAdvancedFilter, bool)

AsBoolEqualsAdvancedFilter is the BasicAdvancedFilter implementation for BoolEqualsAdvancedFilter.

func (BoolEqualsAdvancedFilter) AsIsNotNullAdvancedFilter

func (beaf BoolEqualsAdvancedFilter) AsIsNotNullAdvancedFilter() (*IsNotNullAdvancedFilter, bool)

AsIsNotNullAdvancedFilter is the BasicAdvancedFilter implementation for BoolEqualsAdvancedFilter.

func (BoolEqualsAdvancedFilter) AsIsNullOrUndefinedAdvancedFilter

func (beaf BoolEqualsAdvancedFilter) AsIsNullOrUndefinedAdvancedFilter() (*IsNullOrUndefinedAdvancedFilter, bool)

AsIsNullOrUndefinedAdvancedFilter is the BasicAdvancedFilter implementation for BoolEqualsAdvancedFilter.

func (BoolEqualsAdvancedFilter) AsNumberGreaterThanAdvancedFilter

func (beaf BoolEqualsAdvancedFilter) AsNumberGreaterThanAdvancedFilter() (*NumberGreaterThanAdvancedFilter, bool)

AsNumberGreaterThanAdvancedFilter is the BasicAdvancedFilter implementation for BoolEqualsAdvancedFilter.

func (BoolEqualsAdvancedFilter) AsNumberGreaterThanOrEqualsAdvancedFilter

func (beaf BoolEqualsAdvancedFilter) AsNumberGreaterThanOrEqualsAdvancedFilter() (*NumberGreaterThanOrEqualsAdvancedFilter, bool)

AsNumberGreaterThanOrEqualsAdvancedFilter is the BasicAdvancedFilter implementation for BoolEqualsAdvancedFilter.

func (BoolEqualsAdvancedFilter) AsNumberInAdvancedFilter

func (beaf BoolEqualsAdvancedFilter) AsNumberInAdvancedFilter() (*NumberInAdvancedFilter, bool)

AsNumberInAdvancedFilter is the BasicAdvancedFilter implementation for BoolEqualsAdvancedFilter.

func (BoolEqualsAdvancedFilter) AsNumberInRangeAdvancedFilter

func (beaf BoolEqualsAdvancedFilter) AsNumberInRangeAdvancedFilter() (*NumberInRangeAdvancedFilter, bool)

AsNumberInRangeAdvancedFilter is the BasicAdvancedFilter implementation for BoolEqualsAdvancedFilter.

func (BoolEqualsAdvancedFilter) AsNumberLessThanAdvancedFilter

func (beaf BoolEqualsAdvancedFilter) AsNumberLessThanAdvancedFilter() (*NumberLessThanAdvancedFilter, bool)

AsNumberLessThanAdvancedFilter is the BasicAdvancedFilter implementation for BoolEqualsAdvancedFilter.

func (BoolEqualsAdvancedFilter) AsNumberLessThanOrEqualsAdvancedFilter

func (beaf BoolEqualsAdvancedFilter) AsNumberLessThanOrEqualsAdvancedFilter() (*NumberLessThanOrEqualsAdvancedFilter, bool)

AsNumberLessThanOrEqualsAdvancedFilter is the BasicAdvancedFilter implementation for BoolEqualsAdvancedFilter.

func (BoolEqualsAdvancedFilter) AsNumberNotInAdvancedFilter

func (beaf BoolEqualsAdvancedFilter) AsNumberNotInAdvancedFilter() (*NumberNotInAdvancedFilter, bool)

AsNumberNotInAdvancedFilter is the BasicAdvancedFilter implementation for BoolEqualsAdvancedFilter.

func (BoolEqualsAdvancedFilter) AsNumberNotInRangeAdvancedFilter

func (beaf BoolEqualsAdvancedFilter) AsNumberNotInRangeAdvancedFilter() (*NumberNotInRangeAdvancedFilter, bool)

AsNumberNotInRangeAdvancedFilter is the BasicAdvancedFilter implementation for BoolEqualsAdvancedFilter.

func (BoolEqualsAdvancedFilter) AsStringBeginsWithAdvancedFilter

func (beaf BoolEqualsAdvancedFilter) AsStringBeginsWithAdvancedFilter() (*StringBeginsWithAdvancedFilter, bool)

AsStringBeginsWithAdvancedFilter is the BasicAdvancedFilter implementation for BoolEqualsAdvancedFilter.

func (BoolEqualsAdvancedFilter) AsStringContainsAdvancedFilter

func (beaf BoolEqualsAdvancedFilter) AsStringContainsAdvancedFilter() (*StringContainsAdvancedFilter, bool)

AsStringContainsAdvancedFilter is the BasicAdvancedFilter implementation for BoolEqualsAdvancedFilter.

func (BoolEqualsAdvancedFilter) AsStringEndsWithAdvancedFilter

func (beaf BoolEqualsAdvancedFilter) AsStringEndsWithAdvancedFilter() (*StringEndsWithAdvancedFilter, bool)

AsStringEndsWithAdvancedFilter is the BasicAdvancedFilter implementation for BoolEqualsAdvancedFilter.

func (BoolEqualsAdvancedFilter) AsStringInAdvancedFilter

func (beaf BoolEqualsAdvancedFilter) AsStringInAdvancedFilter() (*StringInAdvancedFilter, bool)

AsStringInAdvancedFilter is the BasicAdvancedFilter implementation for BoolEqualsAdvancedFilter.

func (BoolEqualsAdvancedFilter) AsStringNotBeginsWithAdvancedFilter

func (beaf BoolEqualsAdvancedFilter) AsStringNotBeginsWithAdvancedFilter() (*StringNotBeginsWithAdvancedFilter, bool)

AsStringNotBeginsWithAdvancedFilter is the BasicAdvancedFilter implementation for BoolEqualsAdvancedFilter.

func (BoolEqualsAdvancedFilter) AsStringNotContainsAdvancedFilter

func (beaf BoolEqualsAdvancedFilter) AsStringNotContainsAdvancedFilter() (*StringNotContainsAdvancedFilter, bool)

AsStringNotContainsAdvancedFilter is the BasicAdvancedFilter implementation for BoolEqualsAdvancedFilter.

func (BoolEqualsAdvancedFilter) AsStringNotEndsWithAdvancedFilter

func (beaf BoolEqualsAdvancedFilter) AsStringNotEndsWithAdvancedFilter() (*StringNotEndsWithAdvancedFilter, bool)

AsStringNotEndsWithAdvancedFilter is the BasicAdvancedFilter implementation for BoolEqualsAdvancedFilter.

func (BoolEqualsAdvancedFilter) AsStringNotInAdvancedFilter

func (beaf BoolEqualsAdvancedFilter) AsStringNotInAdvancedFilter() (*StringNotInAdvancedFilter, bool)

AsStringNotInAdvancedFilter is the BasicAdvancedFilter implementation for BoolEqualsAdvancedFilter.

func (BoolEqualsAdvancedFilter) MarshalJSON

func (beaf BoolEqualsAdvancedFilter) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for BoolEqualsAdvancedFilter.

type ConnectionState

type ConnectionState struct {
	// Status - Status of the connection. Possible values include: 'PersistedConnectionStatusPending', 'PersistedConnectionStatusApproved', 'PersistedConnectionStatusRejected', 'PersistedConnectionStatusDisconnected'
	Status PersistedConnectionStatus `json:"status,omitempty"`
	// Description - Description of the connection state.
	Description *string `json:"description,omitempty"`
	// ActionsRequired - Actions required (if any).
	ActionsRequired *string `json:"actionsRequired,omitempty"`
}

ConnectionState connectionState information.

type CreatedByType

type CreatedByType string

CreatedByType enumerates the values for created by type.

const (
	// CreatedByTypeApplication ...
	CreatedByTypeApplication CreatedByType = "Application"
	// CreatedByTypeKey ...
	CreatedByTypeKey CreatedByType = "Key"
	// CreatedByTypeManagedIdentity ...
	CreatedByTypeManagedIdentity CreatedByType = "ManagedIdentity"
	// CreatedByTypeUser ...
	CreatedByTypeUser CreatedByType = "User"
)

func PossibleCreatedByTypeValues

func PossibleCreatedByTypeValues() []CreatedByType

PossibleCreatedByTypeValues returns an array of possible values for the CreatedByType const type.

type DeadLetterDestination

type DeadLetterDestination struct {
	// EndpointType - Possible values include: 'EndpointTypeBasicDeadLetterDestinationEndpointTypeDeadLetterDestination', 'EndpointTypeBasicDeadLetterDestinationEndpointTypeStorageBlob'
	EndpointType EndpointTypeBasicDeadLetterDestination `json:"endpointType,omitempty"`
}

DeadLetterDestination information about the dead letter destination for an event subscription. To configure a deadletter destination, do not directly instantiate an object of this class. Instead, instantiate an object of a derived class. Currently, StorageBlobDeadLetterDestination is the only class that derives from this class.

func (DeadLetterDestination) AsBasicDeadLetterDestination

func (dld DeadLetterDestination) AsBasicDeadLetterDestination() (BasicDeadLetterDestination, bool)

AsBasicDeadLetterDestination is the BasicDeadLetterDestination implementation for DeadLetterDestination.

func (DeadLetterDestination) AsDeadLetterDestination

func (dld DeadLetterDestination) AsDeadLetterDestination() (*DeadLetterDestination, bool)

AsDeadLetterDestination is the BasicDeadLetterDestination implementation for DeadLetterDestination.

func (DeadLetterDestination) AsStorageBlobDeadLetterDestination

func (dld DeadLetterDestination) AsStorageBlobDeadLetterDestination() (*StorageBlobDeadLetterDestination, bool)

AsStorageBlobDeadLetterDestination is the BasicDeadLetterDestination implementation for DeadLetterDestination.

func (DeadLetterDestination) MarshalJSON

func (dld DeadLetterDestination) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for DeadLetterDestination.

type DeadLetterWithResourceIdentity

type DeadLetterWithResourceIdentity struct {
	// Identity - The identity to use when dead-lettering events.
	Identity *EventSubscriptionIdentity `json:"identity,omitempty"`
	// DeadLetterDestination - Information about the destination where events have to be delivered for the event subscription.
	// Uses the managed identity setup on the parent resource (namely, topic or domain) to acquire the authentication tokens being used during delivery / dead-lettering.
	DeadLetterDestination BasicDeadLetterDestination `json:"deadLetterDestination,omitempty"`
}

DeadLetterWithResourceIdentity information about the deadletter destination with resource identity.

func (*DeadLetterWithResourceIdentity) UnmarshalJSON

func (dlwri *DeadLetterWithResourceIdentity) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for DeadLetterWithResourceIdentity struct.

type DeliveryAttributeListResult

type DeliveryAttributeListResult struct {
	autorest.Response `json:"-"`
	// Value - A collection of DeliveryAttributeMapping
	Value *[]BasicDeliveryAttributeMapping `json:"value,omitempty"`
}

DeliveryAttributeListResult result of the Get delivery attributes operation.

func (*DeliveryAttributeListResult) UnmarshalJSON

func (dalr *DeliveryAttributeListResult) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for DeliveryAttributeListResult struct.

type DeliveryAttributeMapping

type DeliveryAttributeMapping struct {
	// Name - Name of the delivery attribute or header.
	Name *string `json:"name,omitempty"`
	// Type - Possible values include: 'TypeDeliveryAttributeMapping', 'TypeStatic', 'TypeDynamic'
	Type Type `json:"type,omitempty"`
}

DeliveryAttributeMapping delivery attribute mapping details.

func (DeliveryAttributeMapping) AsBasicDeliveryAttributeMapping

func (dam DeliveryAttributeMapping) AsBasicDeliveryAttributeMapping() (BasicDeliveryAttributeMapping, bool)

AsBasicDeliveryAttributeMapping is the BasicDeliveryAttributeMapping implementation for DeliveryAttributeMapping.

func (DeliveryAttributeMapping) AsDeliveryAttributeMapping

func (dam DeliveryAttributeMapping) AsDeliveryAttributeMapping() (*DeliveryAttributeMapping, bool)

AsDeliveryAttributeMapping is the BasicDeliveryAttributeMapping implementation for DeliveryAttributeMapping.

func (DeliveryAttributeMapping) AsDynamicDeliveryAttributeMapping

func (dam DeliveryAttributeMapping) AsDynamicDeliveryAttributeMapping() (*DynamicDeliveryAttributeMapping, bool)

AsDynamicDeliveryAttributeMapping is the BasicDeliveryAttributeMapping implementation for DeliveryAttributeMapping.

func (DeliveryAttributeMapping) AsStaticDeliveryAttributeMapping

func (dam DeliveryAttributeMapping) AsStaticDeliveryAttributeMapping() (*StaticDeliveryAttributeMapping, bool)

AsStaticDeliveryAttributeMapping is the BasicDeliveryAttributeMapping implementation for DeliveryAttributeMapping.