eventgrid

package
v64.0.0+incompatible Latest Latest
Warning

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

Go to latest
Published: May 9, 2022 License: MIT Imports: 11 Imported by: 0

Documentation

Overview

Package eventgrid implements the Azure ARM Eventgrid service API version 2021-10-15-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 AzureADPartnerClientAuthentication

type AzureADPartnerClientAuthentication struct {
	// AzureADPartnerClientAuthenticationProperties - AzureAD ClientAuthentication Properties
	*AzureADPartnerClientAuthenticationProperties `json:"properties,omitempty"`
	// ClientAuthenticationType - Possible values include: 'ClientAuthenticationTypePartnerClientAuthentication', 'ClientAuthenticationTypeAzureAD'
	ClientAuthenticationType ClientAuthenticationType `json:"clientAuthenticationType,omitempty"`
}

AzureADPartnerClientAuthentication azure Active Directory Partner Client Authentication

func (AzureADPartnerClientAuthentication) AsAzureADPartnerClientAuthentication

func (aapca AzureADPartnerClientAuthentication) AsAzureADPartnerClientAuthentication() (*AzureADPartnerClientAuthentication, bool)

AsAzureADPartnerClientAuthentication is the BasicPartnerClientAuthentication implementation for AzureADPartnerClientAuthentication.

func (AzureADPartnerClientAuthentication) AsBasicPartnerClientAuthentication

func (aapca AzureADPartnerClientAuthentication) AsBasicPartnerClientAuthentication() (BasicPartnerClientAuthentication, bool)

AsBasicPartnerClientAuthentication is the BasicPartnerClientAuthentication implementation for AzureADPartnerClientAuthentication.

func (AzureADPartnerClientAuthentication) AsPartnerClientAuthentication

func (aapca AzureADPartnerClientAuthentication) AsPartnerClientAuthentication() (*PartnerClientAuthentication, bool)

AsPartnerClientAuthentication is the BasicPartnerClientAuthentication implementation for AzureADPartnerClientAuthentication.

func (AzureADPartnerClientAuthentication) MarshalJSON

func (aapca AzureADPartnerClientAuthentication) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for AzureADPartnerClientAuthentication.

func (*AzureADPartnerClientAuthentication) UnmarshalJSON

func (aapca *AzureADPartnerClientAuthentication) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for AzureADPartnerClientAuthentication struct.

type AzureADPartnerClientAuthenticationProperties

type AzureADPartnerClientAuthenticationProperties struct {
	// AzureActiveDirectoryTenantID - The Azure Active Directory Tenant ID to get the access token that will be included as the bearer token in delivery requests.
	AzureActiveDirectoryTenantID *string `json:"azureActiveDirectoryTenantId,omitempty"`
	// AzureActiveDirectoryApplicationIDOrURI - The Azure Active Directory Application ID or URI to get the access token that will be included as the bearer token in delivery requests.
	AzureActiveDirectoryApplicationIDOrURI *string `json:"azureActiveDirectoryApplicationIdOrUri,omitempty"`
}

AzureADPartnerClientAuthenticationProperties properties of an Azure Active Directory Partner Client Authentication.

type AzureFunctionEventSubscriptionDestination

type AzureFunctionEventSubscriptionDestination struct {
	// AzureFunctionEventSubscriptionDestinationProperties - Azure Function Properties of the event subscription destination.
	*AzureFunctionEventSubscriptionDestinationProperties `json:"properties,omitempty"`
	// EndpointType - Possible values include: 'EndpointTypeBasicEventSubscriptionDestinationEndpointTypeEventSubscriptionDestination', 'EndpointTypeBasicEventSubscriptionDestinationEndpointTypeWebHook', 'EndpointTypeBasicEventSubscriptionDestinationEndpointTypeEventHub', 'EndpointTypeBasicEventSubscriptionDestinationEndpointTypeStorageQueue', 'EndpointTypeBasicEventSubscriptionDestinationEndpointTypeHybridConnection', 'EndpointTypeBasicEventSubscriptionDestinationEndpointTypeServiceBusQueue', 'EndpointTypeBasicEventSubscriptionDestinationEndpointTypeServiceBusTopic', 'EndpointTypeBasicEventSubscriptionDestinationEndpointTypeAzureFunction', 'EndpointTypeBasicEventSubscriptionDestinationEndpointTypePartnerDestination'
	EndpointType EndpointTypeBasicEventSubscriptionDestination `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) AsPartnerEventSubscriptionDestination

func (afesd AzureFunctionEventSubscriptionDestination) AsPartnerEventSubscriptionDestination() (*PartnerEventSubscriptionDestination, bool)

AsPartnerEventSubscriptionDestination 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)
	AsPartnerEventSubscriptionDestination() (*PartnerEventSubscriptionDestination, 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 BasicPartnerClientAuthentication

type BasicPartnerClientAuthentication interface {
	AsAzureADPartnerClientAuthentication() (*AzureADPartnerClientAuthentication, bool)
	AsPartnerClientAuthentication() (*PartnerClientAuthentication, bool)
}

BasicPartnerClientAuthentication partner client authentication

type BasicPartnerDestinationInfo

type BasicPartnerDestinationInfo interface {
	AsWebhookPartnerDestinationInfo() (*WebhookPartnerDestinationInfo, bool)
	AsPartnerDestinationInfo() (*PartnerDestinationInfo, bool)
}

BasicPartnerDestinationInfo properties of the corresponding partner destination of a Channel.

type BasicPartnerUpdateDestinationInfo

type BasicPartnerUpdateDestinationInfo interface {
	AsWebhookUpdatePartnerDestinationInfo() (*WebhookUpdatePartnerDestinationInfo, bool)
	AsPartnerUpdateDestinationInfo() (*PartnerUpdateDestinationInfo, bool)
}

BasicPartnerUpdateDestinationInfo properties of the corresponding partner destination of a Channel.

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 Channel

type Channel struct {
	autorest.Response `json:"-"`
	// ChannelProperties - Properties of the Channel.
	*ChannelProperties `json:"properties,omitempty"`
	// SystemData - READ-ONLY; The system metadata relating to Channel resource.
	SystemData *SystemData `json:"systemData,omitempty"`
	// ID - READ-ONLY; Fully qualified identifier of the resource.
	ID *string `json:"id,omitempty"`
	// Name - READ-ONLY; Name of the resource.
	Name *string `json:"name,omitempty"`
	// Type - READ-ONLY; Type of the resource.
	Type *string `json:"type,omitempty"`
}

Channel channel info.

func (Channel) MarshalJSON

func (c Channel) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for Channel.

func (*Channel) UnmarshalJSON

func (c *Channel) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for Channel struct.

type ChannelProperties

type ChannelProperties struct {
	// ChannelType - The type of the event channel which represents the  direction flow of events. Possible values include: 'ChannelTypePartnerTopic', 'ChannelTypePartnerDestination'
	ChannelType ChannelType `json:"channelType,omitempty"`
	// PartnerTopicInfo - This property should be populated when channelType is PartnerTopic and represents information about the partner topic resource corresponding to the channel.
	PartnerTopicInfo *PartnerTopicInfo `json:"partnerTopicInfo,omitempty"`
	// PartnerDestinationInfo - This property should be populated when channelType is PartnerDestination and represents information about the partner destination resource corresponding to the channel.
	PartnerDestinationInfo BasicPartnerDestinationInfo `json:"partnerDestinationInfo,omitempty"`
	// MessageForActivation - Context or helpful message that can be used during the approval process by the subscriber.
	MessageForActivation *string `json:"messageForActivation,omitempty"`
	// ProvisioningState - Provisioning state of the channel. Possible values include: 'ChannelProvisioningStateCreating', 'ChannelProvisioningStateUpdating', 'ChannelProvisioningStateDeleting', 'ChannelProvisioningStateSucceeded', 'ChannelProvisioningStateCanceled', 'ChannelProvisioningStateFailed'
	ProvisioningState ChannelProvisioningState `json:"provisioningState,omitempty"`
	// ReadinessState - The readiness state of the corresponding partner topic. Possible values include: 'ReadinessStateNeverActivated', 'ReadinessStateActivated'
	ReadinessState ReadinessState `json:"readinessState,omitempty"`
	// ExpirationTimeIfNotActivatedUtc - Expiration time of the channel. If this timer expires while the corresponding partner topic is never activated,
	// the channel and corresponding partner topic are deleted.
	ExpirationTimeIfNotActivatedUtc *date.Time `json:"expirationTimeIfNotActivatedUtc,omitempty"`
}

ChannelProperties properties of the Channel.

func (*ChannelProperties) UnmarshalJSON

func (cp *ChannelProperties) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for ChannelProperties struct.

type ChannelProvisioningState

type ChannelProvisioningState string

ChannelProvisioningState enumerates the values for channel provisioning state.

const (
	// ChannelProvisioningStateCanceled ...
	ChannelProvisioningStateCanceled ChannelProvisioningState = "Canceled"
	// ChannelProvisioningStateCreating ...
	ChannelProvisioningStateCreating ChannelProvisioningState = "Creating"
	// ChannelProvisioningStateDeleting ...
	ChannelProvisioningStateDeleting ChannelProvisioningState = "Deleting"
	// ChannelProvisioningStateFailed ...
	ChannelProvisioningStateFailed ChannelProvisioningState = "Failed"
	// ChannelProvisioningStateSucceeded ...
	ChannelProvisioningStateSucceeded ChannelProvisioningState = "Succeeded"
	// ChannelProvisioningStateUpdating ...
	ChannelProvisioningStateUpdating ChannelProvisioningState = "Updating"
)

func PossibleChannelProvisioningStateValues

func PossibleChannelProvisioningStateValues() []ChannelProvisioningState

PossibleChannelProvisioningStateValues returns an array of possible values for the ChannelProvisioningState const type.

type ChannelType

type ChannelType string

ChannelType enumerates the values for channel type.

const (
	// ChannelTypePartnerDestination ...
	ChannelTypePartnerDestination ChannelType = "PartnerDestination"
	// ChannelTypePartnerTopic ...
	ChannelTypePartnerTopic ChannelType = "PartnerTopic"
)

func PossibleChannelTypeValues

func PossibleChannelTypeValues() []ChannelType

PossibleChannelTypeValues returns an array of possible values for the ChannelType const type.

type ChannelUpdateParameters

type ChannelUpdateParameters struct {
	*ChannelUpdateParametersProperties `json:"properties,omitempty"`
}

ChannelUpdateParameters properties of the Channel update.

func (ChannelUpdateParameters) MarshalJSON

func (cup ChannelUpdateParameters) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ChannelUpdateParameters.

func (*ChannelUpdateParameters) UnmarshalJSON

func (cup *ChannelUpdateParameters) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for ChannelUpdateParameters struct.

type ChannelUpdateParametersProperties

type ChannelUpdateParametersProperties struct {
	// ExpirationTimeIfNotActivatedUtc - Expiration time of the event channel. If this timer expires while the corresponding partner topic or partner destination is never activated,
	// the channel and corresponding partner topic or partner destination are deleted.
	ExpirationTimeIfNotActivatedUtc *date.Time `json:"expirationTimeIfNotActivatedUtc,omitempty"`
	// PartnerDestinationInfo - Partner destination properties which can be updated if the channel is of type PartnerDestination.
	PartnerDestinationInfo BasicPartnerUpdateDestinationInfo `json:"partnerDestinationInfo,omitempty"`
	// PartnerTopicInfo - Partner topic properties which can be updated if the channel is of type PartnerTopic.
	PartnerTopicInfo *PartnerUpdateTopicInfo `json:"partnerTopicInfo,omitempty"`
}

ChannelUpdateParametersProperties properties of the channel update parameters.

func (*ChannelUpdateParametersProperties) UnmarshalJSON

func (cupp *ChannelUpdateParametersProperties) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for ChannelUpdateParametersProperties struct.

type ChannelsClient

type ChannelsClient struct {
	BaseClient
}

ChannelsClient is the azure EventGrid Management Client

func NewChannelsClient

func NewChannelsClient(subscriptionID string) ChannelsClient

NewChannelsClient creates an instance of the ChannelsClient client.

func NewChannelsClientWithBaseURI

func NewChannelsClientWithBaseURI(baseURI string, subscriptionID string) ChannelsClient

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

func (ChannelsClient) CreateOrUpdate

func (client ChannelsClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, partnerNamespaceName string, channelName string, channelInfo Channel) (result Channel, err error)

CreateOrUpdate synchronously creates or updates a new channel with the specified parameters. Parameters: resourceGroupName - the name of the resource group within the partners subscription. partnerNamespaceName - name of the partner namespace. channelName - name of the channel. channelInfo - channel information.

func (ChannelsClient) CreateOrUpdatePreparer

func (client ChannelsClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, partnerNamespaceName string, channelName string, channelInfo Channel) (*http.Request, error)

CreateOrUpdatePreparer prepares the CreateOrUpdate request.

func (ChannelsClient) CreateOrUpdateResponder

func (client ChannelsClient) CreateOrUpdateResponder(resp *http.Response) (result Channel, err error)

CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always closes the http.Response Body.

func (ChannelsClient) CreateOrUpdateSender

func (client ChannelsClient) CreateOrUpdateSender(req *http.Request) (*http.Response, error)

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

func (ChannelsClient) Delete

func (client ChannelsClient) Delete(ctx context.Context, resourceGroupName string, partnerNamespaceName string, channelName string) (result ChannelsDeleteFuture, err error)

Delete delete an existing channel. Parameters: resourceGroupName - the name of the resource group within the partners subscription. partnerNamespaceName - name of the partner namespace. channelName - name of the channel.

func (ChannelsClient) DeletePreparer

func (client ChannelsClient) DeletePreparer(ctx context.Context, resourceGroupName string, partnerNamespaceName string, channelName string) (*http.Request, error)

DeletePreparer prepares the Delete request.

func (ChannelsClient) DeleteResponder

func (client ChannelsClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)

DeleteResponder handles the response to the Delete request. The method always closes the http.Response Body.

func (ChannelsClient) DeleteSender

func (client ChannelsClient) DeleteSender(req *http.Request) (future ChannelsDeleteFuture, err error)

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

func (ChannelsClient) Get

func (client ChannelsClient) Get(ctx context.Context, resourceGroupName string, partnerNamespaceName string, channelName string) (result Channel, err error)

Get get properties of a channel. Parameters: resourceGroupName - the name of the resource group within the partners subscription. partnerNamespaceName - name of the partner namespace. channelName - name of the channel.

func (ChannelsClient) GetFullURL

func (client ChannelsClient) GetFullURL(ctx context.Context, resourceGroupName string, partnerNamespaceName string, channelName string) (result EventSubscriptionFullURL, err error)

GetFullURL get the full endpoint URL of a partner destination channel. Parameters: resourceGroupName - the name of the resource group within the partners subscription. partnerNamespaceName - name of the partner namespace. channelName - name of the Channel.

func (ChannelsClient) GetFullURLPreparer

func (client ChannelsClient) GetFullURLPreparer(ctx context.Context, resourceGroupName string, partnerNamespaceName string, channelName string) (*http.Request, error)

GetFullURLPreparer prepares the GetFullURL request.

func (ChannelsClient) GetFullURLResponder

func (client ChannelsClient) GetFullURLResponder(resp *http.Response) (result EventSubscriptionFullURL, err error)

GetFullURLResponder handles the response to the GetFullURL request. The method always closes the http.Response Body.

func (ChannelsClient) GetFullURLSender

func (client ChannelsClient) GetFullURLSender(req *http.Request) (*http.Response, error)

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

func (ChannelsClient) GetPreparer

func (client ChannelsClient) GetPreparer(ctx context.Context, resourceGroupName string, partnerNamespaceName string, channelName string) (*http.Request, error)

GetPreparer prepares the Get request.

func (ChannelsClient) GetResponder

func (client ChannelsClient) GetResponder(resp *http.Response) (result Channel, err error)

GetResponder handles the response to the Get request. The method always closes the http.Response Body.

func (ChannelsClient) GetSender

func (client ChannelsClient) GetSender(req *http.Request) (*http.Response, error)

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

func (ChannelsClient) ListByPartnerNamespace

func (client ChannelsClient) ListByPartnerNamespace(ctx context.Context, resourceGroupName string, partnerNamespaceName string, filter string, top *int32) (result ChannelsListResultPage, err error)

ListByPartnerNamespace list all the channels in a partner namespace. Parameters: resourceGroupName - the name of the resource group within the partners subscription. partnerNamespaceName - name of the partner namespace. filter - the query used to filter the search results using OData syntax. Filtering is permitted on the 'name' property only and with limited number of OData operations. These operations are: the 'contains' function as well as the following logical operations: not, and, or, eq (for equal), and ne (for not equal). No arithmetic operations are supported. The following is a valid filter example: $filter=contains(namE, 'PATTERN') and name ne 'PATTERN-1'. The following is not a valid filter example: $filter=location eq 'westus'. top - the number of results to return per page for the list operation. Valid range for top parameter is 1 to 100. If not specified, the default number of results to be returned is 20 items per page.

func (ChannelsClient) ListByPartnerNamespaceComplete

func (client ChannelsClient) ListByPartnerNamespaceComplete(ctx context.Context, resourceGroupName string, partnerNamespaceName string, filter string, top *int32) (result ChannelsListResultIterator, err error)

ListByPartnerNamespaceComplete enumerates all values, automatically crossing page boundaries as required.

func (ChannelsClient) ListByPartnerNamespacePreparer

func (client ChannelsClient) ListByPartnerNamespacePreparer(ctx context.Context, resourceGroupName string, partnerNamespaceName string, filter string, top *int32) (*http.Request, error)

ListByPartnerNamespacePreparer prepares the ListByPartnerNamespace request.

func (ChannelsClient) ListByPartnerNamespaceResponder

func (client ChannelsClient) ListByPartnerNamespaceResponder(resp *http.Response) (result ChannelsListResult, err error)

ListByPartnerNamespaceResponder handles the response to the ListByPartnerNamespace request. The method always closes the http.Response Body.

func (ChannelsClient) ListByPartnerNamespaceSender

func (client ChannelsClient) ListByPartnerNamespaceSender(req *http.Request) (*http.Response, error)

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

func (ChannelsClient) Update

func (client ChannelsClient) Update(ctx context.Context, resourceGroupName string, partnerNamespaceName string, channelName string, channelUpdateParameters ChannelUpdateParameters) (result autorest.Response, err error)

Update synchronously updates a channel with the specified parameters. Parameters: resourceGroupName - the name of the resource group within the partners subscription. partnerNamespaceName - name of the partner namespace. channelName - name of the channel. channelUpdateParameters - channel update information.

func (ChannelsClient) UpdatePreparer

func (client ChannelsClient) UpdatePreparer(ctx context.Context, resourceGroupName string, partnerNamespaceName string, channelName string, channelUpdateParameters ChannelUpdateParameters) (*http.Request, error)

UpdatePreparer prepares the Update request.

func (ChannelsClient) UpdateResponder

func (client ChannelsClient) UpdateResponder(resp *http.Response) (result autorest.Response, err error)

UpdateResponder handles the response to the Update request. The method always closes the http.Response Body.

func (ChannelsClient) UpdateSender

func (client ChannelsClient) UpdateSender(req *http.Request) (*http.Response, error)

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

type ChannelsDeleteFuture

type ChannelsDeleteFuture struct {
	azure.FutureAPI
	// Result returns the result of the asynchronous operation.
	// If the operation has not completed it will return an error.
	Result func(ChannelsClient) (autorest.Response, error)
}

ChannelsDeleteFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*ChannelsDeleteFuture) UnmarshalJSON

func (future *ChannelsDeleteFuture) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type ChannelsListResult

type ChannelsListResult struct {
	autorest.Response `json:"-"`
	// Value - A collection of Channels.
	Value *[]Channel `json:"value,omitempty"`
	// NextLink - A link for the next page of channels.
	NextLink *string `json:"nextLink,omitempty"`
}

ChannelsListResult result of the List Channels operation

func (ChannelsListResult) IsEmpty

func (clr ChannelsListResult) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type ChannelsListResultIterator

type ChannelsListResultIterator struct {
	// contains filtered or unexported fields
}

ChannelsListResultIterator provides access to a complete listing of Channel values.

func NewChannelsListResultIterator

func NewChannelsListResultIterator(page ChannelsListResultPage) ChannelsListResultIterator

Creates a new instance of the ChannelsListResultIterator type.

func (*ChannelsListResultIterator) Next

func (iter *ChannelsListResultIterator) Next() error

Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*ChannelsListResultIterator) NextWithContext

func (iter *ChannelsListResultIterator) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.

func (ChannelsListResultIterator) NotDone

func (iter ChannelsListResultIterator) NotDone() bool

NotDone returns true if the enumeration should be started or is not yet complete.

func (ChannelsListResultIterator) Response

Response returns the raw server response from the last page request.

func (ChannelsListResultIterator) Value

func (iter ChannelsListResultIterator) Value() Channel

Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.

type ChannelsListResultPage

type ChannelsListResultPage struct {
	// contains filtered or unexported fields
}

ChannelsListResultPage contains a page of Channel values.

func NewChannelsListResultPage

func NewChannelsListResultPage(cur ChannelsListResult, getNextPage func(context.Context, ChannelsListResult) (ChannelsListResult, error)) ChannelsListResultPage

Creates a new instance of the ChannelsListResultPage type.

func (*ChannelsListResultPage) Next

func (page *ChannelsListResultPage) Next() error

Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*ChannelsListResultPage) NextWithContext

func (page *ChannelsListResultPage) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.

func (ChannelsListResultPage) NotDone

func (page ChannelsListResultPage) NotDone() bool

NotDone returns true if the page enumeration should be started or is not yet complete.

func (ChannelsListResultPage) Response

Response returns the raw server response from the last page request.

func (ChannelsListResultPage) Values

func (page ChannelsListResultPage) Values() []Channel

Values returns the slice of values for the current page or nil if there are no values.

type ClientAuthenticationType

type ClientAuthenticationType string

ClientAuthenticationType enumerates the values for client authentication type.

const (
	// ClientAuthenticationTypeAzureAD ...
	ClientAuthenticationTypeAzureAD ClientAuthenticationType = "AzureAD"
	// ClientAuthenticationTypePartnerClientAuthentication ...
	ClientAuthenticationTypePartnerClientAuthentication ClientAuthenticationType = "PartnerClientAuthentication"
)

func PossibleClientAuthenticationTypeValues

func PossibleClientAuthenticationTypeValues() []ClientAuthenticationType

PossibleClientAuthenticationTypeValues returns an array of possible values for the ClientAuthenticationType const type.

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 DataResidencyBoundary

type DataResidencyBoundary string

DataResidencyBoundary enumerates the values for data residency boundary.

const (
	// DataResidencyBoundaryWithinGeopair ...
	DataResidencyBoundaryWithinGeopair DataResidencyBoundary = "WithinGeopair"
	// DataResidencyBoundaryWithinRegion ...
	DataResidencyBoundaryWithinRegion DataResidencyBoundary = "WithinRegion"
)

func PossibleDataResidencyBoundaryValues

func PossibleDataResidencyBoundaryValues() []DataResidencyBoundary

PossibleDataResidencyBoundaryValues returns an array of possible values for the DataResidencyBoundary 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.

func (DeliveryAttributeMapping) MarshalJSON

func (dam DeliveryAttributeMapping) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for DeliveryAttributeMapping.

type DeliveryWithResourceIdentity

type DeliveryWithResourceIdentity struct {
	// Identity - The identity to use when delivering events.
	Identity *EventSubscriptionIdentity `json:"identity,omitempty"`
	// Destination - Information about the destination where events have to be delivered for the event subscription.
	// Uses Azure Event Grid's identity to acquire the authentication tokens being used during delivery / dead-lettering.
	Destination BasicEventSubscriptionDestination `json:"destination,omitempty"`
}

DeliveryWithResourceIdentity information about the delivery for an event subscription with resource identity.

func (*DeliveryWithResourceIdentity) UnmarshalJSON

func (dwri *DeliveryWithResourceIdentity) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for DeliveryWithResourceIdentity struct.

type Domain

type Domain struct {
	autorest.Response `json:"-"`
	// DomainProperties - Properties of the Event Grid Domain resource.
	*DomainProperties `json:"properties,omitempty"`
	// Sku - The Sku pricing tier for the Event Grid Domain resource.
	Sku *ResourceSku `json:"sku,omitempty"`
	// Identity - Identity information for the Event Grid Domain resource.
	Identity *IdentityInfo `json:"identity,omitempty"`
	// SystemData - READ-ONLY; The system metadata relating to the Event Grid Domain resource.
	SystemData *SystemData `json:"systemData,omitempty"`
	// Location - Location of the resource.
	Location *string `json:"location,omitempty"`
	// Tags - Tags of the resource.
	Tags map[string]*string `json:"tags"`
	// ID - READ-ONLY; Fully qualified identifier of the resource.
	ID *string `json:"id,omitempty"`
	// Name - READ-ONLY; Name of the resource.
	Name *string `json:"name,omitempty"`
	// Type - READ-ONLY; Type of the resource.
	Type *string `json:"type,omitempty"`
}

Domain eventGrid Domain.

func (Domain) MarshalJSON

func (d Domain) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for Domain.

func (*Domain) UnmarshalJSON

func (d *Domain) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for Domain struct.

type DomainEventSubscriptionsClient

type DomainEventSubscriptionsClient struct {
	BaseClient
}

DomainEventSubscriptionsClient is the azure EventGrid Management Client

func NewDomainEventSubscriptionsClient

func NewDomainEventSubscriptionsClient(subscriptionID string) DomainEventSubscriptionsClient

NewDomainEventSubscriptionsClient creates an instance of the DomainEventSubscriptionsClient client.

func NewDomainEventSubscriptionsClientWithBaseURI

func NewDomainEventSubscriptionsClientWithBaseURI(baseURI string, subscriptionID string) DomainEventSubscriptionsClient

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

func (DomainEventSubscriptionsClient) CreateOrUpdate

func (client DomainEventSubscriptionsClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, domainName string, eventSubscriptionName string, eventSubscriptionInfo EventSubscription) (result DomainEventSubscriptionsCreateOrUpdateFuture, err error)

CreateOrUpdate asynchronously creates a new event subscription or updates an existing event subscription. Parameters: resourceGroupName - the name of the resource group within the user's subscription. domainName - name of the domain topic. eventSubscriptionName - name of the event subscription to be created. Event subscription names must be between 3 and 100 characters in length and use alphanumeric letters only. eventSubscriptionInfo - event subscription properties containing the destination and filter information.

func (DomainEventSubscriptionsClient) CreateOrUpdatePreparer

func (client DomainEventSubscriptionsClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, domainName string, eventSubscriptionName string, eventSubscriptionInfo EventSubscription) (*http.Request, error)

CreateOrUpdatePreparer prepares the CreateOrUpdate request.

func (DomainEventSubscriptionsClient) CreateOrUpdateResponder

func (client DomainEventSubscriptionsClient) CreateOrUpdateResponder(resp *http.Response) (result EventSubscription, err error)

CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always closes the http.Response Body.

func (DomainEventSubscriptionsClient) CreateOrUpdateSender

func (client DomainEventSubscriptionsClient) CreateOrUpdateSender(req *http.Request) (future DomainEventSubscriptionsCreateOrUpdateFuture, err error)

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

func (DomainEventSubscriptionsClient) Delete

func (client DomainEventSubscriptionsClient) Delete(ctx context.Context, resourceGroupName string, domainName string, eventSubscriptionName string) (result DomainEventSubscriptionsDeleteFuture, err error)

Delete delete an existing event subscription for a domain. Parameters: resourceGroupName - the name of the resource group within the user's subscription. domainName - name of the domain. eventSubscriptionName - name of the event subscription to be deleted. Event subscription names must be between 3 and 100 characters in length and use alphanumeric letters only.

func (DomainEventSubscriptionsClient) DeletePreparer

func (client DomainEventSubscriptionsClient) DeletePreparer(ctx context.Context, resourceGroupName string, domainName string, eventSubscriptionName string) (*http.Request, error)

DeletePreparer prepares the Delete request.

func (DomainEventSubscriptionsClient) DeleteResponder

func (client DomainEventSubscriptionsClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)

DeleteResponder handles the response to the Delete request. The method always closes the http.Response Body.

func (DomainEventSubscriptionsClient) DeleteSender

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

func (DomainEventSubscriptionsClient) Get

func (client DomainEventSubscriptionsClient) Get(ctx context.Context, resourceGroupName string, domainName string, eventSubscriptionName string) (result EventSubscription, err error)

Get get properties of an event subscription of a domain. Parameters: resourceGroupName - the name of the resource group within the user's subscription. domainName - name of the partner topic. eventSubscriptionName - name of the event subscription to be found. Event subscription names must be between 3 and 100 characters in length and use alphanumeric letters only.

func (DomainEventSubscriptionsClient) GetDeliveryAttributes

func (client DomainEventSubscriptionsClient) GetDeliveryAttributes(ctx context.Context, resourceGroupName string, domainName string, eventSubscriptionName string) (result DeliveryAttributeListResult, err error)

GetDeliveryAttributes get all delivery attributes for an event subscription for domain. Parameters: resourceGroupName - the name of the resource group within the user's subscription. domainName - name of the domain topic. eventSubscriptionName - name of the event subscription.

func (DomainEventSubscriptionsClient) GetDeliveryAttributesPreparer

func (client DomainEventSubscriptionsClient) GetDeliveryAttributesPreparer(ctx context.Context, resourceGroupName string, domainName string, eventSubscriptionName string) (*http.Request, error)

GetDeliveryAttributesPreparer prepares the GetDeliveryAttributes request.

func (DomainEventSubscriptionsClient) GetDeliveryAttributesResponder

func (client DomainEventSubscriptionsClient) GetDeliveryAttributesResponder(resp *http.Response) (result DeliveryAttributeListResult, err error)

GetDeliveryAttributesResponder handles the response to the GetDeliveryAttributes request. The method always closes the http.Response Body.

func (DomainEventSubscriptionsClient) GetDeliveryAttributesSender

func (client DomainEventSubscriptionsClient) GetDeliveryAttributesSender(req *http.Request) (*http.Response, error)

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

func (DomainEventSubscriptionsClient) GetFullURL

func (client DomainEventSubscriptionsClient) GetFullURL(ctx context.Context, resourceGroupName string, domainName string, eventSubscriptionName string) (result EventSubscriptionFullURL, err error)

GetFullURL get the full endpoint URL for an event subscription for domain. Parameters: resourceGroupName - the name of the resource group within the user's subscription. domainName - name of the domain topic. eventSubscriptionName - name of the event subscription.

func (DomainEventSubscriptionsClient) GetFullURLPreparer

func (client DomainEventSubscriptionsClient) GetFullURLPreparer(ctx context.Context, resourceGroupName string, domainName string, eventSubscriptionName string) (*http.Request, error)

GetFullURLPreparer prepares the GetFullURL request.

func (DomainEventSubscriptionsClient) GetFullURLResponder

func (client DomainEventSubscriptionsClient) GetFullURLResponder(resp *http.Response) (result EventSubscriptionFullURL, err error)

GetFullURLResponder handles the response to the GetFullURL request. The method always closes the http.Response Body.

func (DomainEventSubscriptionsClient) GetFullURLSender

func (client DomainEventSubscriptionsClient) GetFullURLSender(req *http.Request) (*http.Response, error)

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

func (DomainEventSubscriptionsClient) GetPreparer

func (client DomainEventSubscriptionsClient) GetPreparer(ctx context.Context, resourceGroupName string, domainName string, eventSubscriptionName string) (*http.Request, error)

GetPreparer prepares the Get request.

func (DomainEventSubscriptionsClient) GetResponder

func (client DomainEventSubscriptionsClient) GetResponder(resp *http.Response) (result EventSubscription, err error)

GetResponder handles the response to the Get request. The method always closes the http.Response Body.

func (DomainEventSubscriptionsClient) GetSender

func (client DomainEventSubscriptionsClient) GetSender(req *http.Request) (*http.Response, error)

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

func (DomainEventSubscriptionsClient) List

func (client DomainEventSubscriptionsClient) List(ctx context.Context, resourceGroupName string, domainName string) (result EventSubscriptionsListResult, err error)

List list all event subscriptions that have been created for a specific topic. Parameters: resourceGroupName - the name of the resource group within the user's subscription. domainName - name of the domain.

func (DomainEventSubscriptionsClient) ListPreparer

func (client DomainEventSubscriptionsClient) ListPreparer(ctx context.Context, resourceGroupName string, domainName string) (*http.Request, error)

ListPreparer prepares the List request.

func (DomainEventSubscriptionsClient) ListResponder

func (client DomainEventSubscriptionsClient) ListResponder(resp *http.Response) (result EventSubscriptionsListResult, err error)

ListResponder handles the response to the List request. The method always closes the http.Response Body.

func (DomainEventSubscriptionsClient) ListSender

func (client DomainEventSubscriptionsClient) ListSender(req *http.Request) (*http.Response, error)

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

func (DomainEventSubscriptionsClient) Update

func (client DomainEventSubscriptionsClient) Update(ctx context.Context, resourceGroupName string, domainName string, eventSubscriptionName string, eventSubscriptionUpdateParameters EventSubscriptionUpdateParameters) (result DomainEventSubscriptionsUpdateFuture, err error)

Update update an existing event subscription for a topic. Parameters: resourceGroupName - the name of the resource group within the user's subscription. domainName - name of the domain. eventSubscriptionName - name of the event subscription to be updated. eventSubscriptionUpdateParameters - updated event subscription information.

func (DomainEventSubscriptionsClient) UpdatePreparer

func (client DomainEventSubscriptionsClient) UpdatePreparer(ctx context.Context, resourceGroupName string, domainName string, eventSubscriptionName string, eventSubscriptionUpdateParameters EventSubscriptionUpdateParameters) (*http.Request, error)

UpdatePreparer prepares the Update request.

func (DomainEventSubscriptionsClient) UpdateResponder

func (client DomainEventSubscriptionsClient) UpdateResponder(resp *http.Response) (result EventSubscription, err error)

UpdateResponder handles the response to the Update request. The method always closes the http.Response Body.

func (DomainEventSubscriptionsClient) UpdateSender

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

type DomainEventSubscriptionsCreateOrUpdateFuture

type DomainEventSubscriptionsCreateOrUpdateFuture struct {
	azure.FutureAPI
	// Result returns the result of the asynchronous operation.
	// If the operation has not completed it will return an error.
	Result func(DomainEventSubscriptionsClient) (EventSubscription, error)
}

DomainEventSubscriptionsCreateOrUpdateFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*DomainEventSubscriptionsCreateOrUpdateFuture) UnmarshalJSON

func (future *DomainEventSubscriptionsCreateOrUpdateFuture) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type DomainEventSubscriptionsDeleteFuture

type DomainEventSubscriptionsDeleteFuture struct {
	azure.FutureAPI
	// Result returns the result of the asynchronous operation.
	// If the operation has not completed it will return an error.
	Result func(DomainEventSubscriptionsClient) (autorest.Response, error)
}

DomainEventSubscriptionsDeleteFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*DomainEventSubscriptionsDeleteFuture) UnmarshalJSON

func (future *DomainEventSubscriptionsDeleteFuture) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type DomainEventSubscriptionsUpdateFuture

type DomainEventSubscriptionsUpdateFuture struct {
	azure.FutureAPI
	// Result returns the result of the asynchronous operation.
	// If the operation has not completed it will return an error.
	Result func(DomainEventSubscriptionsClient) (EventSubscription, error)
}

DomainEventSubscriptionsUpdateFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*DomainEventSubscriptionsUpdateFuture) UnmarshalJSON

func (future *DomainEventSubscriptionsUpdateFuture) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type DomainProperties

type DomainProperties struct {
	// PrivateEndpointConnections - READ-ONLY; List of private endpoint connections.
	PrivateEndpointConnections *[]PrivateEndpointConnection `json:"privateEndpointConnections,omitempty"`
	// ProvisioningState - READ-ONLY; Provisioning state of the Event Grid Domain Resource. Possible values include: 'DomainProvisioningStateCreating', 'DomainProvisioningStateUpdating', 'DomainProvisioningStateDeleting', 'DomainProvisioningStateSucceeded', 'DomainProvisioningStateCanceled', 'DomainProvisioningStateFailed'
	ProvisioningState DomainProvisioningState `json:"provisioningState,omitempty"`
	// Endpoint - READ-ONLY; Endpoint for the Event Grid Domain Resource which is used for publishing the events.
	Endpoint *string `json:"endpoint,omitempty"`
	// InputSchema - This determines the format that Event Grid should expect for incoming events published to the Event Grid Domain Resource. Possible values include: 'InputSchemaEventGridSchema', 'InputSchemaCustomEventSchema', 'InputSchemaCloudEventSchemaV10'
	InputSchema InputSchema `json:"inputSchema,omitempty"`
	// InputSchemaMapping - Information about the InputSchemaMapping which specified the info about mapping event payload.
	InputSchemaMapping BasicInputSchemaMapping `json:"inputSchemaMapping,omitempty"`
	// MetricResourceID - READ-ONLY; Metric resource id for the Event Grid Domain Resource.
	MetricResourceID *string `json:"metricResourceId,omitempty"`
	// PublicNetworkAccess - This determines if traffic is allowed over public network. By default it is enabled.
	// You can further restrict to specific IPs by configuring <seealso cref="P:Microsoft.Azure.Events.ResourceProvider.Common.Contracts.DomainProperties.InboundIpRules" />. Possible values include: 'PublicNetworkAccessEnabled', 'PublicNetworkAccessDisabled'
	PublicNetworkAccess PublicNetworkAccess `json:"publicNetworkAccess,omitempty"`
	// InboundIPRules - This can be used to restrict traffic from specific IPs instead of all IPs. Note: These are considered only if PublicNetworkAccess is enabled.
	InboundIPRules *[]InboundIPRule `json:"inboundIpRules,omitempty"`
	// DisableLocalAuth - This boolean is used to enable or disable local auth. Default value is false. When the property is set to true, only AAD token will be used to authenticate if user is allowed to publish to the domain.
	DisableLocalAuth *bool `json:"disableLocalAuth,omitempty"`
	// AutoCreateTopicWithFirstSubscription - This Boolean is used to specify the creation mechanism for 'all' the Event Grid Domain Topics associated with this Event Grid Domain resource.
	// In this context, creation of domain topic can be auto-managed (when true) or self-managed (when false). The default value for this property is true.
	// When this property is null or set to true, Event Grid is responsible of automatically creating the domain topic when the first event subscription is
	// created at the scope of the domain topic. If this property is set to false, then creating the first event subscription will require creating a domain topic
	// by the user. The self-management mode can be used if the user wants full control of when the domain topic is created, while auto-managed mode provides the
	// flexibility to perform less operations and manage fewer resources by the user. Also, note that in auto-managed creation mode, user is allowed to create the
	// domain topic on demand if needed.
	AutoCreateTopicWithFirstSubscription *bool `json:"autoCreateTopicWithFirstSubscription,omitempty"`
	// AutoDeleteTopicWithLastSubscription - This Boolean is used to specify the deletion mechanism for 'all' the Event Grid Domain Topics associated with this Event Grid Domain resource.
	// In this context, deletion of domain topic can be auto-managed (when true) or self-managed (when false). The default value for this property is true.
	// When this property is set to true, Event Grid is responsible of automatically deleting the domain topic when the last event subscription at the scope
	// of the domain topic is deleted. If this property is set to false, then the user needs to manually delete the domain topic when it is no longer needed
	// (e.g., when last event subscription is deleted and the resource needs to be cleaned up). The self-management mode can be used if the user wants full
	// control of when the domain topic needs to be deleted, while auto-managed mode provides the flexibility to perform less operations and manage fewer
	// resources by the user.
	AutoDeleteTopicWithLastSubscription *bool `json:"autoDeleteTopicWithLastSubscription,omitempty"`
	// DataResidencyBoundary - Data Residency Boundary of the resource. Possible values include: 'DataResidencyBoundaryWithinGeopair', 'DataResidencyBoundaryWithinRegion'
	DataResidencyBoundary DataResidencyBoundary `json:"dataResidencyBoundary,omitempty"`
}

DomainProperties properties of the Event Grid Domain Resource.

func (DomainProperties) MarshalJSON

func (dp DomainProperties) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for DomainProperties.

func (*DomainProperties) UnmarshalJSON

func (dp *DomainProperties) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for DomainProperties struct.

type DomainProvisioningState

type DomainProvisioningState string

DomainProvisioningState enumerates the values for domain provisioning state.

const (
	// DomainProvisioningStateCanceled ...
	DomainProvisioningStateCanceled DomainProvisioningState = "Canceled"
	// DomainProvisioningStateCreating ...
	DomainProvisioningStateCreating DomainProvisioningState = "Creating"
	// DomainProvisioningStateDeleting ...
	DomainProvisioningStateDeleting DomainProvisioningState = "Deleting"
	// DomainProvisioningStateFailed ...
	DomainProvisioningStateFailed DomainProvisioningState = "Failed"
	// DomainProvisioningStateSucceeded ...
	DomainProvisioningStateSucceeded DomainProvisioningState = "Succeeded"
	// DomainProvisioningStateUpdating ...
	DomainProvisioningStateUpdating DomainProvisioningState = "Updating"
)

func PossibleDomainProvisioningStateValues

func PossibleDomainProvisioningStateValues() []DomainProvisioningState

PossibleDomainProvisioningStateValues returns an array of possible values for the DomainProvisioningState const type.

type DomainRegenerateKeyRequest

type DomainRegenerateKeyRequest struct {
	// KeyName - Key name to regenerate key1 or key2.
	KeyName *string `json:"keyName,omitempty"`
}

DomainRegenerateKeyRequest domain regenerate share access key request.

type DomainSharedAccessKeys

type DomainSharedAccessKeys struct {
	autorest.Response `json:"-"`
	// Key1 - Shared access key1 for the domain.
	Key1 *string `json:"key1,omitempty"`
	// Key2 - Shared access key2 for the domain.
	Key2 *string `json:"key2,omitempty"`
}

DomainSharedAccessKeys shared access keys of the Domain.

type DomainTopic

type DomainTopic struct {
	autorest.Response `json:"-"`
	// DomainTopicProperties - READ-ONLY; Properties of the Domain Topic.
	*DomainTopicProperties `json:"properties,omitempty"`
	// SystemData - READ-ONLY; The system metadata relating to Domain Topic resource.
	SystemData *SystemData `json:"systemData,omitempty"`
	// ID - READ-ONLY; Fully qualified identifier of the resource.
	ID *string `json:"id,omitempty"`
	// Name - READ-ONLY; Name of the resource.
	Name *string `json:"name,omitempty"`
	// Type - READ-ONLY; Type of the resource.
	Type *string `json:"type,omitempty"`
}

DomainTopic domain Topic.

func (DomainTopic) MarshalJSON

func (dt DomainTopic) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for DomainTopic.

func (*DomainTopic) UnmarshalJSON

func (dt *DomainTopic) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for DomainTopic struct.

type DomainTopicEventSubscriptionsClient

type DomainTopicEventSubscriptionsClient struct {
	BaseClient
}

DomainTopicEventSubscriptionsClient is the azure EventGrid Management Client

func NewDomainTopicEventSubscriptionsClient

func NewDomainTopicEventSubscriptionsClient(subscriptionID string) DomainTopicEventSubscriptionsClient

NewDomainTopicEventSubscriptionsClient creates an instance of the DomainTopicEventSubscriptionsClient client.

func NewDomainTopicEventSubscriptionsClientWithBaseURI

func NewDomainTopicEventSubscriptionsClientWithBaseURI(baseURI string, subscriptionID string) DomainTopicEventSubscriptionsClient

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

func (DomainTopicEventSubscriptionsClient) CreateOrUpdate

func (client DomainTopicEventSubscriptionsClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, domainName string, topicName string, eventSubscriptionName string, eventSubscriptionInfo EventSubscription) (result DomainTopicEventSubscriptionsCreateOrUpdateFuture, err error)

CreateOrUpdate asynchronously creates a new event subscription or updates an existing event subscription. Parameters: resourceGroupName - the name of the resource group within the user's subscription. domainName - name of the top level domain. topicName - name of the domain topic. eventSubscriptionName - name of the event subscription to be created. Event subscription names must be between 3 and 100 characters in length and use alphanumeric letters only. eventSubscriptionInfo - event subscription properties containing the destination and filter information.

func (DomainTopicEventSubscriptionsClient) CreateOrUpdatePreparer

func (client DomainTopicEventSubscriptionsClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, domainName string, topicName string, eventSubscriptionName string, eventSubscriptionInfo EventSubscription) (*http.Request, error)

CreateOrUpdatePreparer prepares the CreateOrUpdate request.

func (DomainTopicEventSubscriptionsClient) CreateOrUpdateResponder

func (client DomainTopicEventSubscriptionsClient) CreateOrUpdateResponder(resp *http.Response) (result EventSubscription, err error)

CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always closes the http.Response Body.

func (DomainTopicEventSubscriptionsClient) CreateOrUpdateSender

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

func (DomainTopicEventSubscriptionsClient) Delete

func (client DomainTopicEventSubscriptionsClient) Delete(ctx context.Context, resourceGroupName string, domainName string, topicName string, eventSubscriptionName string) (result DomainTopicEventSubscriptionsDeleteFuture, err error)

Delete delete a nested existing event subscription for a domain topic. Parameters: resourceGroupName - the name of the resource group within the user's subscription. domainName - name of the top level domain. topicName - name of the domain topic. eventSubscriptionName - name of the event subscription to be deleted. Event subscription names must be between 3 and 100 characters in length and use alphanumeric letters only.

func (DomainTopicEventSubscriptionsClient) DeletePreparer

func (client DomainTopicEventSubscriptionsClient) DeletePreparer(ctx context.Context, resourceGroupName string, domainName string, topicName string, eventSubscriptionName string) (*http.Request, error)

DeletePreparer prepares the Delete request.

func (DomainTopicEventSubscriptionsClient) DeleteResponder

func (client DomainTopicEventSubscriptionsClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)

DeleteResponder handles the response to the Delete request. The method always closes the http.Response Body.

func (DomainTopicEventSubscriptionsClient) DeleteSender

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

func (DomainTopicEventSubscriptionsClient) Get

func (client DomainTopicEventSubscriptionsClient) Get(ctx context.Context, resourceGroupName string, domainName string, topicName string, eventSubscriptionName string) (result EventSubscription, err error)

Get get properties of a nested event subscription for a domain topic. Parameters: resourceGroupName - the name of the resource group within the user's subscription. domainName - name of the top level domain. topicName - name of the domain topic. eventSubscriptionName - name of the event subscription.

func (DomainTopicEventSubscriptionsClient) GetDeliveryAttributes

func (client DomainTopicEventSubscriptionsClient) GetDeliveryAttributes(ctx context.Context, resourceGroupName string, domainName string, topicName string, eventSubscriptionName string) (result DeliveryAttributeListResult, err error)

GetDeliveryAttributes get all delivery attributes for an event subscription for domain topic. Parameters: resourceGroupName - the name of the resource group within the user's subscription. domainName - name of the top level domain. topicName - name of the domain topic. eventSubscriptionName - name of the event subscription.

func (DomainTopicEventSubscriptionsClient) GetDeliveryAttributesPreparer

func (client DomainTopicEventSubscriptionsClient) GetDeliveryAttributesPreparer(ctx context.Context, resourceGroupName string, domainName string, topicName string, eventSubscriptionName string) (*http.Request, error)

GetDeliveryAttributesPreparer prepares the GetDeliveryAttributes request.

func (DomainTopicEventSubscriptionsClient) GetDeliveryAttributesResponder

func (client DomainTopicEventSubscriptionsClient) GetDeliveryAttributesResponder(resp *http.Response) (result DeliveryAttributeListResult, err error)

GetDeliveryAttributesResponder handles the response to the GetDeliveryAttributes request. The method always closes the http.Response Body.

func (DomainTopicEventSubscriptionsClient) GetDeliveryAttributesSender

func (client DomainTopicEventSubscriptionsClient) GetDeliveryAttributesSender(req *http.Request) (*http.Response, error)

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

func (DomainTopicEventSubscriptionsClient) GetFullURL

func (client DomainTopicEventSubscriptionsClient) GetFullURL(ctx context.Context, resourceGroupName string, domainName string, topicName string, eventSubscriptionName string) (result EventSubscriptionFullURL, err error)

GetFullURL get the full endpoint URL for a nested event subscription for domain topic. Parameters: resourceGroupName - the name of the resource group within the user's subscription. domainName - name of the top level domain. topicName - name of the domain topic. eventSubscriptionName - name of the event subscription.

func (DomainTopicEventSubscriptionsClient) GetFullURLPreparer

func (client DomainTopicEventSubscriptionsClient) GetFullURLPreparer(ctx context.Context, resourceGroupName string, domainName string, topicName string, eventSubscriptionName string) (*http.Request, error)

GetFullURLPreparer prepares the GetFullURL request.

func (DomainTopicEventSubscriptionsClient) GetFullURLResponder

func (client DomainTopicEventSubscriptionsClient) GetFullURLResponder(resp *http.Response) (result EventSubscriptionFullURL, err error)

GetFullURLResponder handles the response to the GetFullURL request. The method always closes the http.Response Body.

func (DomainTopicEventSubscriptionsClient) GetFullURLSender

func (client DomainTopicEventSubscriptionsClient) GetFullURLSender(req *http.Request) (*http.Response, error)

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

func (DomainTopicEventSubscriptionsClient) GetPreparer

func (client DomainTopicEventSubscriptionsClient) GetPreparer(ctx context.Context, resourceGroupName string, domainName string, topicName string, eventSubscriptionName string) (*http.Request, error)

GetPreparer prepares the Get request.

func (DomainTopicEventSubscriptionsClient) GetResponder

func (client DomainTopicEventSubscriptionsClient) GetResponder(resp *http.Response) (result EventSubscription, err error)

GetResponder handles the response to the Get request. The method always closes the http.Response Body.

func (DomainTopicEventSubscriptionsClient) GetSender

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

func (DomainTopicEventSubscriptionsClient) List

func (client DomainTopicEventSubscriptionsClient) List(ctx context.Context, resourceGroupName string, domainName string, topicName string) (result EventSubscriptionsListResult, err error)

List list all event subscriptions that have been created for a specific domain topic. Parameters: resourceGroupName - the name of the resource group within the user's subscription. domainName - name of the top level domain. topicName - name of the domain topic.

func (DomainTopicEventSubscriptionsClient) ListPreparer

func (client DomainTopicEventSubscriptionsClient) ListPreparer(ctx context.Context, resourceGroupName string, domainName string, topicName string) (*http.Request, error)

ListPreparer prepares the List request.

func (DomainTopicEventSubscriptionsClient) ListResponder

func (client DomainTopicEventSubscriptionsClient) ListResponder(resp *http.Response) (result EventSubscriptionsListResult, err error)

ListResponder handles the response to the List request. The method always closes the http.Response Body.

func (DomainTopicEventSubscriptionsClient) ListSender

func (client DomainTopicEventSubscriptionsClient) ListSender(req *http.Request) (*http.Response, error)

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

func (DomainTopicEventSubscriptionsClient) Update

func (client DomainTopicEventSubscriptionsClient) Update(ctx context.Context, resourceGroupName string, domainName string, topicName string, eventSubscriptionName string, eventSubscriptionUpdateParameters EventSubscriptionUpdateParameters) (result DomainTopicEventSubscriptionsUpdateFuture, err error)

Update update an existing event subscription for a domain topic. Parameters: resourceGroupName - the name of the resource group within the user's subscription. domainName - name of the domain. topicName - name of the topic. eventSubscriptionName - name of the event subscription to be updated. eventSubscriptionUpdateParameters - updated event subscription information.

func (DomainTopicEventSubscriptionsClient) UpdatePreparer

func (client DomainTopicEventSubscriptionsClient) UpdatePreparer(ctx context.Context, resourceGroupName string, domainName string, topicName string, eventSubscriptionName string, eventSubscriptionUpdateParameters EventSubscriptionUpdateParameters) (*http.Request, error)

UpdatePreparer prepares the Update request.

func (DomainTopicEventSubscriptionsClient) UpdateResponder

func (client DomainTopicEventSubscriptionsClient) UpdateResponder(resp *http.Response) (result EventSubscription, err error)

UpdateResponder handles the response to the Update request. The method always closes the http.Response Body.

func (DomainTopicEventSubscriptionsClient) UpdateSender

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

type DomainTopicEventSubscriptionsCreateOrUpdateFuture

type DomainTopicEventSubscriptionsCreateOrUpdateFuture struct {
	azure.FutureAPI
	// Result returns the result of the asynchronous operation.
	// If the operation has not completed it will return an error.
	Result func(DomainTopicEventSubscriptionsClient) (EventSubscription, error)
}

DomainTopicEventSubscriptionsCreateOrUpdateFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*DomainTopicEventSubscriptionsCreateOrUpdateFuture) UnmarshalJSON

func (future *DomainTopicEventSubscriptionsCreateOrUpdateFuture) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type DomainTopicEventSubscriptionsDeleteFuture

type DomainTopicEventSubscriptionsDeleteFuture struct {
	azure.FutureAPI
	// Result returns the result of the asynchronous operation.
	// If the operation has not completed it will return an error.
	Result func(DomainTopicEventSubscriptionsClient) (autorest.Response, error)
}

DomainTopicEventSubscriptionsDeleteFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*DomainTopicEventSubscriptionsDeleteFuture) UnmarshalJSON

func (future *DomainTopicEventSubscriptionsDeleteFuture) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type DomainTopicEventSubscriptionsUpdateFuture

type DomainTopicEventSubscriptionsUpdateFuture struct {
	azure.FutureAPI
	// Result returns the result of the asynchronous operation.
	// If the operation has not completed it will return an error.
	Result func(DomainTopicEventSubscriptionsClient) (EventSubscription, error)
}

DomainTopicEventSubscriptionsUpdateFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*DomainTopicEventSubscriptionsUpdateFuture) UnmarshalJSON

func (future *DomainTopicEventSubscriptionsUpdateFuture) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type DomainTopicProperties

type DomainTopicProperties struct {
	// ProvisioningState - READ-ONLY; Provisioning state of the domain topic. Possible values include: 'DomainTopicProvisioningStateCreating', 'DomainTopicProvisioningStateUpdating', 'DomainTopicProvisioningStateDeleting', 'DomainTopicProvisioningStateSucceeded', 'DomainTopicProvisioningStateCanceled', 'DomainTopicProvisioningStateFailed'
	ProvisioningState DomainTopicProvisioningState `json:"provisioningState,omitempty"`
}

DomainTopicProperties properties of the Domain Topic.

func (DomainTopicProperties) MarshalJSON

func (dtp DomainTopicProperties) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for DomainTopicProperties.

type DomainTopicProvisioningState

type DomainTopicProvisioningState string

DomainTopicProvisioningState enumerates the values for domain topic provisioning state.

const (
	// DomainTopicProvisioningStateCanceled ...
	DomainTopicProvisioningStateCanceled DomainTopicProvisioningState = "Canceled"
	// DomainTopicProvisioningStateCreating ...
	DomainTopicProvisioningStateCreating DomainTopicProvisioningState = "Creating"
	// DomainTopicProvisioningStateDeleting ...
	DomainTopicProvisioningStateDeleting DomainTopicProvisioningState = "Deleting"
	// DomainTopicProvisioningStateFailed ...
	DomainTopicProvisioningStateFailed DomainTopicProvisioningState = "Failed"
	// DomainTopicProvisioningStateSucceeded ...
	DomainTopicProvisioningStateSucceeded DomainTopicProvisioningState = "Succeeded"
	// DomainTopicProvisioningStateUpdating ...
	DomainTopicProvisioningStateUpdating DomainTopicProvisioningState = "Updating"
)

func PossibleDomainTopicProvisioningStateValues

func PossibleDomainTopicProvisioningStateValues() []DomainTopicProvisioningState

PossibleDomainTopicProvisioningStateValues returns an array of possible values for the DomainTopicProvisioningState const type.

type DomainTopicsClient

type DomainTopicsClient struct {
	BaseClient
}

DomainTopicsClient is the azure EventGrid Management Client

func NewDomainTopicsClient

func NewDomainTopicsClient(subscriptionID string) DomainTopicsClient

NewDomainTopicsClient creates an instance of the DomainTopicsClient client.

func NewDomainTopicsClientWithBaseURI

func NewDomainTopicsClientWithBaseURI(baseURI string, subscriptionID string) DomainTopicsClient

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

func (DomainTopicsClient) CreateOrUpdate

func (client DomainTopicsClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, domainName string, domainTopicName string) (result DomainTopicsCreateOrUpdateFuture, err error)

CreateOrUpdate asynchronously creates or updates a new domain topic with the specified parameters. Parameters: resourceGroupName - the name of the resource group within the user's subscription. domainName - name of the domain. domainTopicName - name of the domain topic.

func (DomainTopicsClient) CreateOrUpdatePreparer

func (client DomainTopicsClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, domainName string, domainTopicName string) (*http.Request, error)

CreateOrUpdatePreparer prepares the CreateOrUpdate request.

func (DomainTopicsClient) CreateOrUpdateResponder

func (client DomainTopicsClient) CreateOrUpdateResponder(resp *http.Response) (result DomainTopic, err error)

CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always closes the http.Response Body.

func (DomainTopicsClient) CreateOrUpdateSender

func (client DomainTopicsClient) CreateOrUpdateSender(req *http.Request) (future DomainTopicsCreateOrUpdateFuture, err error)

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

func (DomainTopicsClient) Delete

func (client DomainTopicsClient) Delete(ctx context.Context, resourceGroupName string, domainName string, domainTopicName string) (result DomainTopicsDeleteFuture, err error)

Delete delete existing domain topic. Parameters: resourceGroupName - the name of the resource group within the user's subscription. domainName - name of the domain. domainTopicName - name of the domain topic.

func (DomainTopicsClient) DeletePreparer

func (client DomainTopicsClient) DeletePreparer(ctx context.Context, resourceGroupName string, domainName string, domainTopicName string) (*http.Request, error)

DeletePreparer prepares the Delete request.

func (DomainTopicsClient) DeleteResponder

func (client DomainTopicsClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)

DeleteResponder handles the response to the Delete request. The method always closes the http.Response Body.

func (DomainTopicsClient) DeleteSender

func (client DomainTopicsClient) DeleteSender(req *http.Request) (future DomainTopicsDeleteFuture, err error)

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

func (DomainTopicsClient) Get

func (client DomainTopicsClient) Get(ctx context.Context, resourceGroupName string, domainName string, domainTopicName string) (result DomainTopic, err error)

Get get properties of a domain topic. Parameters: resourceGroupName - the name of the resource group within the user's subscription. domainName - name of the domain. domainTopicName - name of the topic.

func (DomainTopicsClient) GetPreparer

func (client DomainTopicsClient) GetPreparer(ctx context.Context, resourceGroupName string, domainName string, domainTopicName string) (*http.Request, error)

GetPreparer prepares the Get request.

func (DomainTopicsClient) GetResponder

func (client DomainTopicsClient) GetResponder(resp *http.Response) (result DomainTopic, err error)

GetResponder handles the response to the Get request. The method always closes the http.Response Body.

func (DomainTopicsClient) GetSender

func (client DomainTopicsClient) GetSender(req *http.Request) (*http.Response, error)

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

func (DomainTopicsClient) ListByDomain

func (client DomainTopicsClient) ListByDomain(ctx context.Context, resourceGroupName string, domainName string, filter string, top *int32) (result DomainTopicsListResultPage, err error)

ListByDomain list all the topics in a domain. Parameters: resourceGroupName - the name of the resource group within the user's subscription. domainName - domain name. filter - the query used to filter the search results using OData syntax. Filtering is permitted on the 'name' property only and with limited number of OData operations. These operations are: the 'contains' function as well as the following logical operations: not, and, or, eq (for equal), and ne (for not equal). No arithmetic operations are supported. The following is a valid filter example: $filter=contains(namE, 'PATTERN') and name ne 'PATTERN-1'. The following is not a valid filter example: $filter=location eq 'westus'. top - the number of results to return per page for the list operation. Valid range for top parameter is 1 to 100. If not specified, the default number of results to be returned is 20 items per page.

func (DomainTopicsClient) ListByDomainComplete

func (client DomainTopicsClient) ListByDomainComplete(ctx context.Context, resourceGroupName string, domainName string, filter string, top *int32) (result DomainTopicsListResultIterator, err error)

ListByDomainComplete enumerates all values, automatically crossing page boundaries as required.

func (DomainTopicsClient) ListByDomainPreparer

func (client DomainTopicsClient) ListByDomainPreparer(ctx context.Context, resourceGroupName string, domainName string, filter string, top *int32) (*http.Request, error)

ListByDomainPreparer prepares the ListByDomain request.

func (DomainTopicsClient) ListByDomainResponder

func (client DomainTopicsClient) ListByDomainResponder(resp *http.Response) (result DomainTopicsListResult, err error)

ListByDomainResponder handles the response to the ListByDomain request. The method always closes the http.Response Body.

func (DomainTopicsClient) ListByDomainSender

func (client DomainTopicsClient) ListByDomainSender(req *http.Request) (*http.Response, error)

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

type DomainTopicsCreateOrUpdateFuture

type DomainTopicsCreateOrUpdateFuture struct {
	azure.FutureAPI
	// Result returns the result of the asynchronous operation.
	// If the operation has not completed it will return an error.
	Result func(DomainTopicsClient) (DomainTopic, error)
}

DomainTopicsCreateOrUpdateFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*DomainTopicsCreateOrUpdateFuture) UnmarshalJSON

func (future *DomainTopicsCreateOrUpdateFuture) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type DomainTopicsDeleteFuture

type DomainTopicsDeleteFuture struct {
	azure.FutureAPI
	// Result returns the result of the asynchronous operation.
	// If the operation has not completed it will return an error.
	Result func(DomainTopicsClient) (autorest.Response, error)
}

DomainTopicsDeleteFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*DomainTopicsDeleteFuture) UnmarshalJSON

func (future *DomainTopicsDeleteFuture) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type DomainTopicsListResult

type DomainTopicsListResult struct {
	autorest.Response `json:"-"`
	// Value - A collection of Domain Topics.
	Value *[]DomainTopic `json:"value,omitempty"`
	// NextLink - A link for the next page of domain topics.
	NextLink *string `json:"nextLink,omitempty"`
}

DomainTopicsListResult result of the List Domain Topics operation.

func (DomainTopicsListResult) IsEmpty

func (dtlr DomainTopicsListResult) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type DomainTopicsListResultIterator

type DomainTopicsListResultIterator struct {
	// contains filtered or unexported fields
}

DomainTopicsListResultIterator provides access to a complete listing of DomainTopic values.

func NewDomainTopicsListResultIterator

func NewDomainTopicsListResultIterator(page DomainTopicsListResultPage) DomainTopicsListResultIterator

Creates a new instance of the DomainTopicsListResultIterator type.

func (*DomainTopicsListResultIterator) Next

Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*DomainTopicsListResultIterator) NextWithContext

func (iter *DomainTopicsListResultIterator) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.

func (DomainTopicsListResultIterator) NotDone

func (iter DomainTopicsListResultIterator) NotDone() bool

NotDone returns true if the enumeration should be started or is not yet complete.

func (DomainTopicsListResultIterator) Response

Response returns the raw server response from the last page request.

func (DomainTopicsListResultIterator) Value

Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.

type DomainTopicsListResultPage

type DomainTopicsListResultPage struct {
	// contains filtered or unexported fields
}

DomainTopicsListResultPage contains a page of DomainTopic values.

func NewDomainTopicsListResultPage

Creates a new instance of the DomainTopicsListResultPage type.

func (*DomainTopicsListResultPage) Next

func (page *DomainTopicsListResultPage) Next() error

Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*DomainTopicsListResultPage) NextWithContext

func (page *DomainTopicsListResultPage) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.

func (DomainTopicsListResultPage) NotDone

func (page DomainTopicsListResultPage) NotDone() bool

NotDone returns true if the page enumeration should be started or is not yet complete.

func (DomainTopicsListResultPage) Response

Response returns the raw server response from the last page request.

func (DomainTopicsListResultPage) Values

func (page DomainTopicsListResultPage) Values() []DomainTopic

Values returns the slice of values for the current page or nil if there are no values.

type DomainUpdateParameterProperties

type DomainUpdateParameterProperties struct {
	// PublicNetworkAccess - This determines if traffic is allowed over public network. By default it is enabled.
	// You can further restrict to specific IPs by configuring <seealso cref="P:Microsoft.Azure.Events.ResourceProvider.Common.Contracts.DomainUpdateParameterProperties.InboundIpRules" />. Possible values include: 'PublicNetworkAccessEnabled', 'PublicNetworkAccessDisabled'
	PublicNetworkAccess PublicNetworkAccess `json:"publicNetworkAccess,omitempty"`
	// InboundIPRules - This can be used to restrict traffic from specific IPs instead of all IPs. Note: These are considered only if PublicNetworkAccess is enabled.
	InboundIPRules *[]InboundIPRule `json:"inboundIpRules,omitempty"`
	// DisableLocalAuth - This boolean is used to enable or disable local auth. Default value is false. When the property is set to true, only AAD token will be used to authenticate if user is allowed to publish to the domain.
	DisableLocalAuth *bool `json:"disableLocalAuth,omitempty"`
	// AutoCreateTopicWithFirstSubscription - This Boolean is used to specify the creation mechanism for 'all' the Event Grid Domain Topics associated with this Event Grid Domain resource.
	// In this context, creation of domain topic can be auto-managed (when true) or self-managed (when false). The default value for this property is true.
	// When this property is null or set to true, Event Grid is responsible of automatically creating the domain topic when the first event subscription is
	// created at the scope of the domain topic. If this property is set to false, then creating the first event subscription will require creating a domain topic
	// by the user. The self-management mode can be used if the user wants full control of when the domain topic is created, while auto-managed mode provides the
	// flexibility to perform less operations and manage fewer resources by the user. Also, note that in auto-managed creation mode, user is allowed to create the
	// domain topic on demand if needed.
	AutoCreateTopicWithFirstSubscription *bool `json:"autoCreateTopicWithFirstSubscription,omitempty"`
	// AutoDeleteTopicWithLastSubscription - This Boolean is used to specify the deletion mechanism for 'all' the Event Grid Domain Topics associated with this Event Grid Domain resource.
	// In this context, deletion of domain topic can be auto-managed (when true) or self-managed (when false). The default value for this property is true.
	// When this property is set to true, Event Grid is responsible of automatically deleting the domain topic when the last event subscription at the scope
	// of the domain topic is deleted. If this property is set to false, then the user needs to manually delete the domain topic when it is no longer needed
	// (e.g., when last event subscription is deleted and the resource needs to be cleaned up). The self-management mode can be used if the user wants full
	// control of when the domain topic needs to be deleted, while auto-managed mode provides the flexibility to perform less operations and manage fewer
	// resources by the user.
	AutoDeleteTopicWithLastSubscription *bool `json:"autoDeleteTopicWithLastSubscription,omitempty"`
	// DataResidencyBoundary - The data residency boundary for the domain. Possible values include: 'DataResidencyBoundaryWithinGeopair', 'DataResidencyBoundaryWithinRegion'
	DataResidencyBoundary DataResidencyBoundary `json:"dataResidencyBoundary,omitempty"`
}

DomainUpdateParameterProperties information of domain update parameter properties.

type DomainUpdateParameters

type DomainUpdateParameters struct {
	// Tags - Tags of the domains resource.
	Tags map[string]*string `json:"tags"`
	// DomainUpdateParameterProperties - Properties of the resource.
	*DomainUpdateParameterProperties `json:"properties,omitempty"`
	// Identity - Identity information for the resource.
	Identity *IdentityInfo `json:"identity,omitempty"`
	// Sku - The Sku pricing tier for the domain.
	Sku *ResourceSku `json:"sku,omitempty"`
}

DomainUpdateParameters properties of the Domain update.

func (DomainUpdateParameters) MarshalJSON

func (dup DomainUpdateParameters) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for DomainUpdateParameters.

func (*DomainUpdateParameters) UnmarshalJSON

func (dup *DomainUpdateParameters) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for DomainUpdateParameters struct.

type DomainsClient

type DomainsClient struct {
	BaseClient
}

DomainsClient is the azure EventGrid Management Client

func NewDomainsClient

func NewDomainsClient(subscriptionID string) DomainsClient

NewDomainsClient creates an instance of the DomainsClient client.

func NewDomainsClientWithBaseURI

func NewDomainsClientWithBaseURI(baseURI string, subscriptionID string) DomainsClient

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

func (DomainsClient) CreateOrUpdate

func (client DomainsClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, domainName string, domainInfo Domain) (result DomainsCreateOrUpdateFuture, err error)

CreateOrUpdate asynchronously creates or updates a new domain with the specified parameters. Parameters: resourceGroupName - the name of the resource group within the user's subscription. domainName - name of the domain. domainInfo - domain information.

func (DomainsClient) CreateOrUpdatePreparer

func (client DomainsClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, domainName string, domainInfo Domain) (*http.Request, error)

CreateOrUpdatePreparer prepares the CreateOrUpdate request.

func (DomainsClient) CreateOrUpdateResponder

func (client DomainsClient) CreateOrUpdateResponder(resp *http.Response) (result Domain, err error)

CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always closes the http.Response Body.

func (DomainsClient) CreateOrUpdateSender

func (client DomainsClient) CreateOrUpdateSender(req *http.Request) (future DomainsCreateOrUpdateFuture, err error)

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

func (DomainsClient) Delete

func (client DomainsClient) Delete(ctx context.Context, resourceGroupName string, domainName string) (result DomainsDeleteFuture, err error)

Delete delete existing domain. Parameters: resourceGroupName - the name of the resource group within the user's subscription. domainName - name of the domain.

func (DomainsClient) DeletePreparer

func (client DomainsClient) DeletePreparer(ctx context.Context, resourceGroupName string, domainName string) (*http.Request, error)

DeletePreparer prepares the Delete request.

func (DomainsClient) DeleteResponder

func (client DomainsClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)

DeleteResponder handles the response to the Delete request. The method always closes the http.Response Body.

func (DomainsClient) DeleteSender

func (client DomainsClient) DeleteSender(req *http.Request) (future DomainsDeleteFuture, err error)

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

func (DomainsClient) Get

func (client DomainsClient) Get(ctx context.Context, resourceGroupName string, domainName string) (result Domain, err error)

Get get properties of a domain. Parameters: resourceGroupName - the name of the resource group within the user's subscription. domainName - name of the domain.

func (DomainsClient) GetPreparer

func (client DomainsClient) GetPreparer(ctx context.Context, resourceGroupName string, domainName string) (*http.Request, error)

GetPreparer prepares the Get request.

func (DomainsClient) GetResponder

func (client DomainsClient) GetResponder(resp *http.Response) (result Domain, err error)

GetResponder handles the response to the Get request. The method always closes the http.Response Body.

func (DomainsClient) GetSender

func (client DomainsClient) GetSender(req *http.Request) (*http.Response, error)

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

func (DomainsClient) ListByResourceGroup

func (client DomainsClient) ListByResourceGroup(ctx context.Context, resourceGroupName string, filter string, top *int32) (result DomainsListResultPage, err error)

ListByResourceGroup list all the domains under a resource group. Parameters: resourceGroupName - the name of the resource group within the user's subscription. filter - the query used to filter the search results using OData syntax. Filtering is permitted on the 'name' property only and with limited number of OData operations. These operations are: the 'contains' function as well as the following logical operations: not, and, or, eq (for equal), and ne (for not equal). No arithmetic operations are supported. The following is a valid filter example: $filter=contains(namE, 'PATTERN') and name ne 'PATTERN-1'. The following is not a valid filter example: $filter=location eq 'westus'. top - the number of results to return per page for the list operation. Valid range for top parameter is 1 to 100. If not specified, the default number of results to be returned is 20 items per page.

func (DomainsClient) ListByResourceGroupComplete

func (client DomainsClient) ListByResourceGroupComplete(ctx context.Context, resourceGroupName string, filter string, top *int32) (result DomainsListResultIterator, err error)

ListByResourceGroupComplete enumerates all values, automatically crossing page boundaries as required.

func (DomainsClient) ListByResourceGroupPreparer

func (client DomainsClient) ListByResourceGroupPreparer(ctx context.Context, resourceGroupName string, filter string, top *int32) (*http.Request, error)

ListByResourceGroupPreparer prepares the ListByResourceGroup request.

func (DomainsClient) ListByResourceGroupResponder

func (client DomainsClient) ListByResourceGroupResponder(resp *http.Response) (result DomainsListResult, err error)

ListByResourceGroupResponder handles the response to the ListByResourceGroup request. The method always closes the http.Response Body.

func (DomainsClient) ListByResourceGroupSender

func (client DomainsClient) ListByResourceGroupSender(req *http.Request) (*http.Response, error)

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

func (DomainsClient) ListBySubscription

func (client DomainsClient) ListBySubscription(ctx context.Context, filter string, top *int32) (result DomainsListResultPage, err error)

ListBySubscription list all the domains under an Azure subscription. Parameters: filter - the query used to filter the search results using OData syntax. Filtering is permitted on the 'name' property only and with limited number of OData operations. These operations are: the 'contains' function as well as the following logical operations: not, and, or, eq (for equal), and ne (for not equal). No arithmetic operations are supported. The following is a valid filter example: $filter=contains(namE, 'PATTERN') and name ne 'PATTERN-1'. The following is not a valid filter example: $filter=location eq 'westus'. top - the number of results to return per page for the list operation. Valid range for top parameter is 1 to 100. If not specified, the default number of results to be returned is 20 items per page.

func (DomainsClient) ListBySubscriptionComplete

func (client DomainsClient) ListBySubscriptionComplete(ctx context.Context, filter string, top *int32) (result DomainsListResultIterator, err error)

ListBySubscriptionComplete enumerates all values, automatically crossing page boundaries as required.

func (DomainsClient) ListBySubscriptionPreparer

func (client DomainsClient) ListBySubscriptionPreparer(ctx context.Context, filter string, top *int32) (*http.Request, error)

ListBySubscriptionPreparer prepares the ListBySubscription request.

func (DomainsClient) ListBySubscriptionResponder

func (client DomainsClient) ListBySubscriptionResponder(resp *http.Response) (result DomainsListResult, err error)

ListBySubscriptionResponder handles the response to the ListBySubscription request. The method always closes the http.Response Body.

func (DomainsClient) ListBySubscriptionSender

func (client DomainsClient) ListBySubscriptionSender(req *http.Request) (*http.Response, error)

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

func (DomainsClient) ListSharedAccessKeys

func (client DomainsClient) ListSharedAccessKeys(ctx context.Context, resourceGroupName string, domainName string) (result DomainSharedAccessKeys, err error)

ListSharedAccessKeys list the two keys used to publish to a domain. Parameters: resourceGroupName - the name of the resource group within the user's subscription. domainName - name of the domain.

func (DomainsClient) ListSharedAccessKeysPreparer

func (client DomainsClient) ListSharedAccessKeysPreparer(ctx context.Context, resourceGroupName string, domainName string) (*http.Request, error)

ListSharedAccessKeysPreparer prepares the ListSharedAccessKeys request.

func (DomainsClient) ListSharedAccessKeysResponder

func (client DomainsClient) ListSharedAccessKeysResponder(resp *http.Response) (result DomainSharedAccessKeys, err error)

ListSharedAccessKeysResponder handles the response to the ListSharedAccessKeys request. The method always closes the http.Response Body.

func (DomainsClient) ListSharedAccessKeysSender

func (client DomainsClient) ListSharedAccessKeysSender(req *http.Request) (*http.Response, error)

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

func (DomainsClient) RegenerateKey

func (client DomainsClient) RegenerateKey(ctx context.Context, resourceGroupName string, domainName string, regenerateKeyRequest DomainRegenerateKeyRequest) (result DomainSharedAccessKeys, err error)

RegenerateKey regenerate a shared access key for a domain. Parameters: resourceGroupName - the name of the resource group within the user's subscription. domainName - name of the domain. regenerateKeyRequest - request body to regenerate key.

func (DomainsClient) RegenerateKeyPreparer

func (client DomainsClient) RegenerateKeyPreparer(ctx context.Context, resourceGroupName string, domainName string, regenerateKeyRequest DomainRegenerateKeyRequest) (*http.Request, error)

RegenerateKeyPreparer prepares the RegenerateKey request.

func (DomainsClient) RegenerateKeyResponder

func (client DomainsClient) RegenerateKeyResponder(resp *http.Response) (result DomainSharedAccessKeys, err error)

RegenerateKeyResponder handles the response to the RegenerateKey request. The method always closes the http.Response Body.

func (DomainsClient) RegenerateKeySender

func (client DomainsClient) RegenerateKeySender(req *http.Request) (*http.Response, error)

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

func (DomainsClient) Update

func (client DomainsClient) Update(ctx context.Context, resourceGroupName string, domainName string, domainUpdateParameters DomainUpdateParameters) (result DomainsUpdateFuture, err error)

Update asynchronously updates a domain with the specified parameters. Parameters: resourceGroupName - the name of the resource group within the user's subscription. domainName - name of the domain. domainUpdateParameters - domain update information.

func (DomainsClient) UpdatePreparer

func (client DomainsClient) UpdatePreparer(ctx context.Context, resourceGroupName string, domainName string, domainUpdateParameters DomainUpdateParameters) (*http.Request, error)

UpdatePreparer prepares the Update request.

func (DomainsClient) UpdateResponder

func (client DomainsClient) UpdateResponder(resp *http.Response) (result Domain, err error)

UpdateResponder handles the response to the Update request. The method always closes the http.Response Body.

func (DomainsClient) UpdateSender

func (client DomainsClient) UpdateSender(req *http.Request) (future DomainsUpdateFuture, err error)

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

type DomainsCreateOrUpdateFuture

type DomainsCreateOrUpdateFuture struct {
	azure.FutureAPI
	// Result returns the result of the asynchronous operation.
	// If the operation has not completed it will return an error.
	Result func(DomainsClient) (Domain, error)
}

DomainsCreateOrUpdateFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*DomainsCreateOrUpdateFuture) UnmarshalJSON

func (future *DomainsCreateOrUpdateFuture) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type DomainsDeleteFuture

type DomainsDeleteFuture struct {
	azure.FutureAPI
	// Result returns the result of the asynchronous operation.
	// If the operation has not completed it will return an error.
	Result func(DomainsClient) (autorest.Response, error)
}

DomainsDeleteFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*DomainsDeleteFuture) UnmarshalJSON

func (future *DomainsDeleteFuture) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type DomainsListResult

type DomainsListResult struct {
	autorest.Response `json:"-"`
	// Value - A collection of Domains
	Value *[]Domain `json:"value,omitempty"`
	// NextLink - A link for the next page of domains
	NextLink *string `json:"nextLink,omitempty"`
}

DomainsListResult result of the List Domains operation

func (DomainsListResult) IsEmpty

func (dlr DomainsListResult) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type DomainsListResultIterator

type DomainsListResultIterator struct {
	// contains filtered or unexported fields
}

DomainsListResultIterator provides access to a complete listing of Domain values.

func NewDomainsListResultIterator

func NewDomainsListResultIterator(page DomainsListResultPage) DomainsListResultIterator

Creates a new instance of the DomainsListResultIterator type.

func (*DomainsListResultIterator) Next

func (iter *DomainsListResultIterator) Next() error

Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*DomainsListResultIterator) NextWithContext

func (iter *DomainsListResultIterator) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.

func (DomainsListResultIterator) NotDone

func (iter DomainsListResultIterator) NotDone() bool

NotDone returns true if the enumeration should be started or is not yet complete.

func (DomainsListResultIterator) Response

Response returns the raw server response from the last page request.

func (DomainsListResultIterator) Value

func (iter DomainsListResultIterator) Value() Domain

Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.

type DomainsListResultPage

type DomainsListResultPage struct {
	// contains filtered or unexported fields
}

DomainsListResultPage contains a page of Domain values.

func NewDomainsListResultPage

func NewDomainsListResultPage(cur DomainsListResult, getNextPage func(context.Context, DomainsListResult) (DomainsListResult, error)) DomainsListResultPage

Creates a new instance of the DomainsListResultPage type.

func (*DomainsListResultPage) Next

func (page *DomainsListResultPage) Next() error

Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*DomainsListResultPage) NextWithContext

func (page *DomainsListResultPage) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.

func (DomainsListResultPage) NotDone

func (page DomainsListResultPage) NotDone() bool

NotDone returns true if the page enumeration should be started or is not yet complete.

func (DomainsListResultPage) Response

func (page DomainsListResultPage) Response() DomainsListResult

Response returns the raw server response from the last page request.

func (DomainsListResultPage) Values

func (page DomainsListResultPage) Values() []Domain

Values returns the slice of values for the current page or nil if there are no values.

type DomainsUpdateFuture

type DomainsUpdateFuture struct {
	azure.FutureAPI
	// Result returns the result of the asynchronous operation.
	// If the operation has not completed it will return an error.
	Result func(DomainsClient) (Domain, error)
}

DomainsUpdateFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*DomainsUpdateFuture) UnmarshalJSON

func (future *DomainsUpdateFuture) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type DynamicDeliveryAttributeMapping

type DynamicDeliveryAttributeMapping struct {
	// DynamicDeliveryAttributeMappingProperties - Properties of dynamic delivery attribute mapping.
	*DynamicDeliveryAttributeMappingProperties `json:"properties,omitempty"`
	// 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"`
}

DynamicDeliveryAttributeMapping dynamic delivery attribute mapping details.

func (DynamicDeliveryAttributeMapping) AsBasicDeliveryAttributeMapping

func (ddam DynamicDeliveryAttributeMapping) AsBasicDeliveryAttributeMapping() (BasicDeliveryAttributeMapping, bool)

AsBasicDeliveryAttributeMapping is the BasicDeliveryAttributeMapping implementation for DynamicDeliveryAttributeMapping.

func (DynamicDeliveryAttributeMapping) AsDeliveryAttributeMapping

func (ddam DynamicDeliveryAttributeMapping) AsDeliveryAttributeMapping() (*DeliveryAttributeMapping, bool)

AsDeliveryAttributeMapping is the BasicDeliveryAttributeMapping implementation for DynamicDeliveryAttributeMapping.

func (DynamicDeliveryAttributeMapping) AsDynamicDeliveryAttributeMapping

func (ddam DynamicDeliveryAttributeMapping) AsDynamicDeliveryAttributeMapping() (*DynamicDeliveryAttributeMapping, bool)

AsDynamicDeliveryAttributeMapping is the BasicDeliveryAttributeMapping implementation for DynamicDeliveryAttributeMapping.

func (DynamicDeliveryAttributeMapping) AsStaticDeliveryAttributeMapping

func (ddam DynamicDeliveryAttributeMapping) AsStaticDeliveryAttributeMapping() (*StaticDeliveryAttributeMapping, bool)

AsStaticDeliveryAttributeMapping is the BasicDeliveryAttributeMapping implementation for DynamicDeliveryAttributeMapping.

func (DynamicDeliveryAttributeMapping) MarshalJSON

func (ddam DynamicDeliveryAttributeMapping) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for DynamicDeliveryAttributeMapping.

func (*DynamicDeliveryAttributeMapping) UnmarshalJSON

func (ddam *DynamicDeliveryAttributeMapping) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for DynamicDeliveryAttributeMapping struct.

type DynamicDeliveryAttributeMappingProperties

type DynamicDeliveryAttributeMappingProperties struct {
	// SourceField - JSON path in the event which contains attribute value.
	SourceField *string `json:"sourceField,omitempty"`
}

DynamicDeliveryAttributeMappingProperties properties of dynamic delivery attribute mapping.

type EndpointType

type EndpointType string

EndpointType enumerates the values for endpoint type.

const (
	// EndpointTypePartnerDestinationInfo ...
	EndpointTypePartnerDestinationInfo EndpointType = "PartnerDestinationInfo"
	// EndpointTypeWebHook ...
	EndpointTypeWebHook EndpointType = "WebHook"
)

func PossibleEndpointTypeValues

func PossibleEndpointTypeValues() []EndpointType

PossibleEndpointTypeValues returns an array of possible values for the EndpointType const type.

type EndpointTypeBasicDeadLetterDestination

type EndpointTypeBasicDeadLetterDestination string

EndpointTypeBasicDeadLetterDestination enumerates the values for endpoint type basic dead letter destination.

const (
	// EndpointTypeBasicDeadLetterDestinationEndpointTypeDeadLetterDestination ...
	EndpointTypeBasicDeadLetterDestinationEndpointTypeDeadLetterDestination EndpointTypeBasicDeadLetterDestination = "DeadLetterDestination"
	// EndpointTypeBasicDeadLetterDestinationEndpointTypeStorageBlob ...
	EndpointTypeBasicDeadLetterDestinationEndpointTypeStorageBlob EndpointTypeBasicDeadLetterDestination = "StorageBlob"
)

func PossibleEndpointTypeBasicDeadLetterDestinationValues

func PossibleEndpointTypeBasicDeadLetterDestinationValues() []EndpointTypeBasicDeadLetterDestination

PossibleEndpointTypeBasicDeadLetterDestinationValues returns an array of possible values for the EndpointTypeBasicDeadLetterDestination const type.

type EndpointTypeBasicEventSubscriptionDestination

type EndpointTypeBasicEventSubscriptionDestination string

EndpointTypeBasicEventSubscriptionDestination enumerates the values for endpoint type basic event subscription destination.

const (
	// EndpointTypeBasicEventSubscriptionDestinationEndpointTypeAzureFunction ...
	EndpointTypeBasicEventSubscriptionDestinationEndpointTypeAzureFunction EndpointTypeBasicEventSubscriptionDestination = "AzureFunction"
	// EndpointTypeBasicEventSubscriptionDestinationEndpointTypeEventHub ...
	EndpointTypeBasicEventSubscriptionDestinationEndpointTypeEventHub EndpointTypeBasicEventSubscriptionDestination = "EventHub"
	// EndpointTypeBasicEventSubscriptionDestinationEndpointTypeEventSubscriptionDestination ...
	EndpointTypeBasicEventSubscriptionDestinationEndpointTypeEventSubscriptionDestination EndpointTypeBasicEventSubscriptionDestination = "EventSubscriptionDestination"
	// EndpointTypeBasicEventSubscriptionDestinationEndpointTypeHybridConnection ...
	EndpointTypeBasicEventSubscriptionDestinationEndpointTypeHybridConnection EndpointTypeBasicEventSubscriptionDestination = "HybridConnection"
	// EndpointTypeBasicEventSubscriptionDestinationEndpointTypePartnerDestination ...
	EndpointTypeBasicEventSubscriptionDestinationEndpointTypePartnerDestination EndpointTypeBasicEventSubscriptionDestination = "PartnerDestination"
	// EndpointTypeBasicEventSubscriptionDestinationEndpointTypeServiceBusQueue ...
	EndpointTypeBasicEventSubscriptionDestinationEndpointTypeServiceBusQueue EndpointTypeBasicEventSubscriptionDestination = "ServiceBusQueue"
	// EndpointTypeBasicEventSubscriptionDestinationEndpointTypeServiceBusTopic ...
	EndpointTypeBasicEventSubscriptionDestinationEndpointTypeServiceBusTopic EndpointTypeBasicEventSubscriptionDestination = "ServiceBusTopic"
	// EndpointTypeBasicEventSubscriptionDestinationEndpointTypeStorageQueue ...
	EndpointTypeBasicEventSubscriptionDestinationEndpointTypeStorageQueue EndpointTypeBasicEventSubscriptionDestination = "StorageQueue"
	// EndpointTypeBasicEventSubscriptionDestinationEndpointTypeWebHook ...
	EndpointTypeBasicEventSubscriptionDestinationEndpointTypeWebHook EndpointTypeBasicEventSubscriptionDestination = "WebHook"
)

func PossibleEndpointTypeBasicEventSubscriptionDestinationValues

func PossibleEndpointTypeBasicEventSubscriptionDestinationValues() []EndpointTypeBasicEventSubscriptionDestination

PossibleEndpointTypeBasicEventSubscriptionDestinationValues returns an array of possible values for the EndpointTypeBasicEventSubscriptionDestination const type.

type EndpointTypeBasicPartnerUpdateDestinationInfo

type EndpointTypeBasicPartnerUpdateDestinationInfo string

EndpointTypeBasicPartnerUpdateDestinationInfo enumerates the values for endpoint type basic partner update destination info.

const (
	// EndpointTypeBasicPartnerUpdateDestinationInfoEndpointTypePartnerUpdateDestinationInfo ...
	EndpointTypeBasicPartnerUpdateDestinationInfoEndpointTypePartnerUpdateDestinationInfo EndpointTypeBasicPartnerUpdateDestinationInfo = "PartnerUpdateDestinationInfo"
	// EndpointTypeBasicPartnerUpdateDestinationInfoEndpointTypeWebHook ...
	EndpointTypeBasicPartnerUpdateDestinationInfoEndpointTypeWebHook EndpointTypeBasicPartnerUpdateDestinationInfo = "WebHook"
)

func PossibleEndpointTypeBasicPartnerUpdateDestinationInfoValues

func PossibleEndpointTypeBasicPartnerUpdateDestinationInfoValues() []EndpointTypeBasicPartnerUpdateDestinationInfo

PossibleEndpointTypeBasicPartnerUpdateDestinationInfoValues returns an array of possible values for the EndpointTypeBasicPartnerUpdateDestinationInfo const type.

type EventChannel

type EventChannel struct {
	autorest.Response `json:"-"`
	// EventChannelProperties - Properties of the EventChannel.
	*EventChannelProperties `json:"properties,omitempty"`
	// SystemData - READ-ONLY; The system metadata relating to Event Channel resource.
	SystemData *SystemData `json:"systemData,omitempty"`
	// ID - READ-ONLY; Fully qualified identifier of the resource.
	ID *string `json:"id,omitempty"`
	// Name - READ-ONLY; Name of the resource.
	Name *string `json:"name,omitempty"`
	// Type - READ-ONLY; Type of the resource.
	Type *string `json:"type,omitempty"`
}

EventChannel event Channel.

func (EventChannel) MarshalJSON

func (ec EventChannel) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for EventChannel.

func (*EventChannel) UnmarshalJSON

func (ec *EventChannel) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for EventChannel struct.

type EventChannelDestination

type EventChannelDestination struct {
	// AzureSubscriptionID - Azure subscription ID of the customer creating the event channel. The partner topic
	// associated with the event channel will be created under this Azure subscription.
	AzureSubscriptionID *string `json:"azureSubscriptionId,omitempty"`
	// ResourceGroup - Azure Resource Group of the customer creating the event channel. The partner topic
	// associated with the event channel will be created under this resource group.
	ResourceGroup *string `json:"resourceGroup,omitempty"`
	// PartnerTopicName - Name of the partner topic associated with the event channel.
	PartnerTopicName *string `json:"partnerTopicName,omitempty"`
}

EventChannelDestination properties of the destination of an event channel.

type EventChannelFilter

type EventChannelFilter struct {
	// EnableAdvancedFilteringOnArrays - Allows advanced filters to be evaluated against an array of values instead of expecting a singular value. The default value is either false or null.
	EnableAdvancedFilteringOnArrays *bool `json:"enableAdvancedFilteringOnArrays,omitempty"`
	// AdvancedFilters - An array of advanced filters that are used for filtering event channels.
	AdvancedFilters *[]BasicAdvancedFilter `json:"advancedFilters,omitempty"`
}

EventChannelFilter filter for the Event Channel.

func (*EventChannelFilter) UnmarshalJSON

func (ecf *EventChannelFilter) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for EventChannelFilter struct.

type EventChannelProperties

type EventChannelProperties struct {
	// Source - Source of the event channel. This represents a unique resource in the partner's resource model.
	Source *EventChannelSource `json:"source,omitempty"`
	// Destination - Represents the destination of an event channel.
	Destination *EventChannelDestination `json:"destination,omitempty"`
	// ProvisioningState - READ-ONLY; Provisioning state of the event channel. Possible values include: 'EventChannelProvisioningStateCreating', 'EventChannelProvisioningStateUpdating', 'EventChannelProvisioningStateDeleting', 'EventChannelProvisioningStateSucceeded', 'EventChannelProvisioningStateCanceled', 'EventChannelProvisioningStateFailed'
	ProvisioningState EventChannelProvisioningState `json:"provisioningState,omitempty"`
	// PartnerTopicReadinessState - READ-ONLY; The readiness state of the corresponding partner topic. Possible values include: 'PartnerTopicReadinessStateNotActivatedByUserYet', 'PartnerTopicReadinessStateActivatedByUser', 'PartnerTopicReadinessStateDeactivatedByUser', 'PartnerTopicReadinessStateDeletedByUser'
	PartnerTopicReadinessState PartnerTopicReadinessState `json:"partnerTopicReadinessState,omitempty"`
	// ExpirationTimeIfNotActivatedUtc - Expiration time of the event channel. If this timer expires while the corresponding partner topic is never activated,
	// the event channel and corresponding partner topic are deleted.
	ExpirationTimeIfNotActivatedUtc *date.Time `json:"expirationTimeIfNotActivatedUtc,omitempty"`
	// Filter - Information about the filter for the event channel.
	Filter *EventChannelFilter `json:"filter,omitempty"`
	// PartnerTopicFriendlyDescription - Friendly description about the topic. This can be set by the publisher/partner to show custom description for the customer partner topic.
	// This will be helpful to remove any ambiguity of the origin of creation of the partner topic for the customer.
	PartnerTopicFriendlyDescription *string `json:"partnerTopicFriendlyDescription,omitempty"`
}

EventChannelProperties properties of the Event Channel.

func (EventChannelProperties) MarshalJSON

func (ecp EventChannelProperties) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for EventChannelProperties.

type EventChannelProvisioningState

type EventChannelProvisioningState string

EventChannelProvisioningState enumerates the values for event channel provisioning state.

const (
	// EventChannelProvisioningStateCanceled ...
	EventChannelProvisioningStateCanceled EventChannelProvisioningState = "Canceled"
	// EventChannelProvisioningStateCreating ...
	EventChannelProvisioningStateCreating EventChannelProvisioningState = "Creating"
	// EventChannelProvisioningStateDeleting ...
	EventChannelProvisioningStateDeleting EventChannelProvisioningState = "Deleting"
	// EventChannelProvisioningStateFailed ...
	EventChannelProvisioningStateFailed EventChannelProvisioningState = "Failed"
	// EventChannelProvisioningStateSucceeded ...
	EventChannelProvisioningStateSucceeded EventChannelProvisioningState = "Succeeded"
	// EventChannelProvisioningStateUpdating ...
	EventChannelProvisioningStateUpdating EventChannelProvisioningState = "Updating"
)

func PossibleEventChannelProvisioningStateValues

func PossibleEventChannelProvisioningStateValues() []EventChannelProvisioningState

PossibleEventChannelProvisioningStateValues returns an array of possible values for the EventChannelProvisioningState const type.

type EventChannelSource

type EventChannelSource struct {
	// Source - The identifier of the resource that's the source of the events.
	// This represents a unique resource in the partner's resource model.
	Source *string `json:"source,omitempty"`
}

EventChannelSource properties of the source of an event channel.

type EventChannelsClient

type EventChannelsClient struct {
	BaseClient
}

EventChannelsClient is the azure EventGrid Management Client

func NewEventChannelsClient

func NewEventChannelsClient(subscriptionID string) EventChannelsClient

NewEventChannelsClient creates an instance of the EventChannelsClient client.

func NewEventChannelsClientWithBaseURI

func NewEventChannelsClientWithBaseURI(baseURI string, subscriptionID string) EventChannelsClient

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

func (EventChannelsClient) CreateOrUpdate

func (client EventChannelsClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, partnerNamespaceName string, eventChannelName string, eventChannelInfo EventChannel) (result EventChannel, err error)

CreateOrUpdate asynchronously creates a new event channel with the specified parameters. Parameters: resourceGroupName - the name of the resource group within the user's subscription. partnerNamespaceName - name of the partner namespace. eventChannelName - name of the event channel. eventChannelInfo - eventChannel information.

func (EventChannelsClient) CreateOrUpdatePreparer

func (client EventChannelsClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, partnerNamespaceName string, eventChannelName string, eventChannelInfo EventChannel) (*http.Request, error)

CreateOrUpdatePreparer prepares the CreateOrUpdate request.

func (EventChannelsClient) CreateOrUpdateResponder

func (client EventChannelsClient) CreateOrUpdateResponder(resp *http.Response) (result EventChannel, err error)

CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always closes the http.Response Body.

func (EventChannelsClient) CreateOrUpdateSender

func (client EventChannelsClient) CreateOrUpdateSender(req *http.Request) (*http.Response, error)

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

func (EventChannelsClient) Delete

func (client EventChannelsClient) Delete(ctx context.Context, resourceGroupName string, partnerNamespaceName string, eventChannelName string) (result EventChannelsDeleteFuture, err error)

Delete delete existing event channel. Parameters: resourceGroupName - the name of the resource group within the user's subscription. partnerNamespaceName - name of the partner namespace. eventChannelName - name of the event channel.

func (EventChannelsClient) DeletePreparer

func (client EventChannelsClient) DeletePreparer(ctx context.Context, resourceGroupName string, partnerNamespaceName string, eventChannelName string) (*http.Request, error)

DeletePreparer prepares the Delete request.

func (EventChannelsClient) DeleteResponder

func (client EventChannelsClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)

DeleteResponder handles the response to the Delete request. The method always closes the http.Response Body.

func (EventChannelsClient) DeleteSender

func (client EventChannelsClient) DeleteSender(req *http.Request) (future EventChannelsDeleteFuture, err error)

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

func (EventChannelsClient) Get

func (client EventChannelsClient) Get(ctx context.Context, resourceGroupName string, partnerNamespaceName string, eventChannelName string) (result EventChannel, err error)

Get get properties of an event channel. Parameters: resourceGroupName - the name of the resource group within the user's subscription. partnerNamespaceName - name of the partner namespace. eventChannelName - name of the event channel.

func (EventChannelsClient) GetPreparer

func (client EventChannelsClient) GetPreparer(ctx context.Context, resourceGroupName string, partnerNamespaceName string, eventChannelName string) (*http.Request, error)

GetPreparer prepares the Get request.

func (EventChannelsClient) GetResponder

func (client EventChannelsClient) GetResponder(resp *http.Response) (result EventChannel, err error)

GetResponder handles the response to the Get request. The method always closes the http.Response Body.

func (EventChannelsClient) GetSender

func (client EventChannelsClient) GetSender(req *http.Request) (*http.Response, error)

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

func (EventChannelsClient) ListByPartnerNamespace

func (client EventChannelsClient) ListByPartnerNamespace(ctx context.Context, resourceGroupName string, partnerNamespaceName string, filter string, top *int32) (result EventChannelsListResultPage, err error)

ListByPartnerNamespace list all the event channels in a partner namespace. Parameters: resourceGroupName - the name of the resource group within the user's subscription. partnerNamespaceName - name of the partner namespace. filter - the query used to filter the search results using OData syntax. Filtering is permitted on the 'name' property only and with limited number of OData operations. These operations are: the 'contains' function as well as the following logical operations: not, and, or, eq (for equal), and ne (for not equal). No arithmetic operations are supported. The following is a valid filter example: $filter=contains(namE, 'PATTERN') and name ne 'PATTERN-1'. The following is not a valid filter example: $filter=location eq 'westus'. top - the number of results to return per page for the list operation. Valid range for top parameter is 1 to 100. If not specified, the default number of results to be returned is 20 items per page.

func (EventChannelsClient) ListByPartnerNamespaceComplete

func (client EventChannelsClient) ListByPartnerNamespaceComplete(ctx context.Context, resourceGroupName string, partnerNamespaceName string, filter string, top *int32) (result EventChannelsListResultIterator, err error)

ListByPartnerNamespaceComplete enumerates all values, automatically crossing page boundaries as required.

func (EventChannelsClient) ListByPartnerNamespacePreparer

func (client EventChannelsClient) ListByPartnerNamespacePreparer(ctx context.Context, resourceGroupName string, partnerNamespaceName string, filter string, top *int32) (*http.Request, error)

ListByPartnerNamespacePreparer prepares the ListByPartnerNamespace request.

func (EventChannelsClient) ListByPartnerNamespaceResponder

func (client EventChannelsClient) ListByPartnerNamespaceResponder(resp *http.Response) (result EventChannelsListResult, err error)

ListByPartnerNamespaceResponder handles the response to the ListByPartnerNamespace request. The method always closes the http.Response Body.

func (EventChannelsClient) ListByPartnerNamespaceSender

func (client EventChannelsClient) ListByPartnerNamespaceSender(req *http.Request) (*http.Response, error)

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

type EventChannelsDeleteFuture

type EventChannelsDeleteFuture struct {
	azure.FutureAPI
	// Result returns the result of the asynchronous operation.
	// If the operation has not completed it will return an error.
	Result func(EventChannelsClient) (autorest.Response, error)
}

EventChannelsDeleteFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*EventChannelsDeleteFuture) UnmarshalJSON

func (future *EventChannelsDeleteFuture) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type EventChannelsListResult

type EventChannelsListResult struct {
	autorest.Response `json:"-"`
	// Value - A collection of Event Channels
	Value *[]EventChannel `json:"value,omitempty"`
	// NextLink - A link for the next page of event channels
	NextLink *string `json:"nextLink,omitempty"`
}

EventChannelsListResult result of the List Event Channels operation

func (EventChannelsListResult) IsEmpty

func (eclr EventChannelsListResult) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type EventChannelsListResultIterator

type EventChannelsListResultIterator struct {
	// contains filtered or unexported fields
}

EventChannelsListResultIterator provides access to a complete listing of EventChannel values.

func NewEventChannelsListResultIterator

func NewEventChannelsListResultIterator(page EventChannelsListResultPage) EventChannelsListResultIterator

Creates a new instance of the EventChannelsListResultIterator type.

func (*EventChannelsListResultIterator) Next

Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*EventChannelsListResultIterator) NextWithContext

func (iter *EventChannelsListResultIterator) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.

func (EventChannelsListResultIterator) NotDone

func (iter EventChannelsListResultIterator) NotDone() bool

NotDone returns true if the enumeration should be started or is not yet complete.

func (EventChannelsListResultIterator) Response

Response returns the raw server response from the last page request.

func (EventChannelsListResultIterator) Value

Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.

type EventChannelsListResultPage

type EventChannelsListResultPage struct {
	// contains filtered or unexported fields
}

EventChannelsListResultPage contains a page of EventChannel values.

func NewEventChannelsListResultPage

Creates a new instance of the EventChannelsListResultPage type.

func (*EventChannelsListResultPage) Next

func (page *EventChannelsListResultPage) Next() error

Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*EventChannelsListResultPage) NextWithContext

func (page *EventChannelsListResultPage) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.

func (EventChannelsListResultPage) NotDone

func (page EventChannelsListResultPage) NotDone() bool

NotDone returns true if the page enumeration should be started or is not yet complete.

func (EventChannelsListResultPage) Response

Response returns the raw server response from the last page request.

func (EventChannelsListResultPage) Values

func (page EventChannelsListResultPage) Values() []EventChannel

Values returns the slice of values for the current page or nil if there are no values.

type EventDefinitionKind

type EventDefinitionKind string

EventDefinitionKind enumerates the values for event definition kind.

const (
	// EventDefinitionKindInline ...
	EventDefinitionKindInline EventDefinitionKind = "Inline"
)

func PossibleEventDefinitionKindValues

func PossibleEventDefinitionKindValues() []EventDefinitionKind

PossibleEventDefinitionKindValues returns an array of possible values for the EventDefinitionKind const type.

type EventDeliverySchema

type EventDeliverySchema string

EventDeliverySchema enumerates the values for event delivery schema.

const (
	// EventDeliverySchemaCloudEventSchemaV10 ...
	EventDeliverySchemaCloudEventSchemaV10 EventDeliverySchema = "CloudEventSchemaV1_0"
	// EventDeliverySchemaCustomInputSchema ...
	EventDeliverySchemaCustomInputSchema EventDeliverySchema = "CustomInputSchema"
	// EventDeliverySchemaEventGridSchema ...
	EventDeliverySchemaEventGridSchema EventDeliverySchema = "EventGridSchema"
)

func PossibleEventDeliverySchemaValues

func PossibleEventDeliverySchemaValues() []EventDeliverySchema

PossibleEventDeliverySchemaValues returns an array of possible values for the EventDeliverySchema const type.

type EventHubEventSubscriptionDestination

type EventHubEventSubscriptionDestination struct {
	// EventHubEventSubscriptionDestinationProperties - Event Hub Properties of the event subscription destination.
	*EventHubEventSubscriptionDestinationProperties `json:"properties,omitempty"`
	// EndpointType - Possible values include: 'EndpointTypeBasicEventSubscriptionDestinationEndpointTypeEventSubscriptionDestination', 'EndpointTypeBasicEventSubscriptionDestinationEndpointTypeWebHook', 'EndpointTypeBasicEventSubscriptionDestinationEndpointTypeEventHub', 'EndpointTypeBasicEventSubscriptionDestinationEndpointTypeStorageQueue', 'EndpointTypeBasicEventSubscriptionDestinationEndpointTypeHybridConnection', 'EndpointTypeBasicEventSubscriptionDestinationEndpointTypeServiceBusQueue', 'EndpointTypeBasicEventSubscriptionDestinationEndpointTypeServiceBusTopic', 'EndpointTypeBasicEventSubscriptionDestinationEndpointTypeAzureFunction', 'EndpointTypeBasicEventSubscriptionDestinationEndpointTypePartnerDestination'
	EndpointType EndpointTypeBasicEventSubscriptionDestination `json:"endpointType,omitempty"`
}

EventHubEventSubscriptionDestination information about the event hub destination for an event subscription.

func (EventHubEventSubscriptionDestination) AsAzureFunctionEventSubscriptionDestination

func (ehesd EventHubEventSubscriptionDestination) AsAzureFunctionEventSubscriptionDestination() (*AzureFunctionEventSubscriptionDestination, bool)

AsAzureFunctionEventSubscriptionDestination is the BasicEventSubscriptionDestination implementation for EventHubEventSubscriptionDestination.

func (EventHubEventSubscriptionDestination) AsBasicEventSubscriptionDestination

func (ehesd EventHubEventSubscriptionDestination) AsBasicEventSubscriptionDestination() (BasicEventSubscriptionDestination, bool)

AsBasicEventSubscriptionDestination is the BasicEventSubscriptionDestination implementation for EventHubEventSubscriptionDestination.

func (EventHubEventSubscriptionDestination) AsEventHubEventSubscriptionDestination

func (ehesd EventHubEventSubscriptionDestination) AsEventHubEventSubscriptionDestination() (*EventHubEventSubscriptionDestination, bool)

AsEventHubEventSubscriptionDestination is the BasicEventSubscriptionDestination implementation for EventHubEventSubscriptionDestination.

func (EventHubEventSubscriptionDestination) AsEventSubscriptionDestination

func (ehesd EventHubEventSubscriptionDestination) AsEventSubscriptionDestination() (*EventSubscriptionDestination, bool)

AsEventSubscriptionDestination is the BasicEventSubscriptionDestination implementation for EventHubEventSubscriptionDestination.

func (EventHubEventSubscriptionDestination) AsHybridConnectionEventSubscriptionDestination

func (ehesd EventHubEventSubscriptionDestination) AsHybridConnectionEventSubscriptionDestination() (*HybridConnectionEventSubscriptionDestination, bool)

AsHybridConnectionEventSubscriptionDestination is the BasicEventSubscriptionDestination implementation for EventHubEventSubscriptionDestination.

func (EventHubEventSubscriptionDestination) AsPartnerEventSubscriptionDestination

func (ehesd EventHubEventSubscriptionDestination) AsPartnerEventSubscriptionDestination() (*PartnerEventSubscriptionDestination, bool)

AsPartnerEventSubscriptionDestination is the BasicEventSubscriptionDestination implementation for EventHubEventSubscriptionDestination.

func (EventHubEventSubscriptionDestination) AsServiceBusQueueEventSubscriptionDestination

func (ehesd EventHubEventSubscriptionDestination) AsServiceBusQueueEventSubscriptionDestination() (*ServiceBusQueueEventSubscriptionDestination, bool)

AsServiceBusQueueEventSubscriptionDestination is the BasicEventSubscriptionDestination implementation for EventHubEventSubscriptionDestination.

func (EventHubEventSubscriptionDestination) AsServiceBusTopicEventSubscriptionDestination

func (ehesd EventHubEventSubscriptionDestination) AsServiceBusTopicEventSubscriptionDestination() (*ServiceBusTopicEventSubscriptionDestination, bool)

AsServiceBusTopicEventSubscriptionDestination is the BasicEventSubscriptionDestination implementation for EventHubEventSubscriptionDestination.

func (EventHubEventSubscriptionDestination) AsStorageQueueEventSubscriptionDestination

func (ehesd EventHubEventSubscriptionDestination) AsStorageQueueEventSubscriptionDestination() (*StorageQueueEventSubscriptionDestination, bool)

AsStorageQueueEventSubscriptionDestination is the BasicEventSubscriptionDestination implementation for EventHubEventSubscriptionDestination.

func (EventHubEventSubscriptionDestination) AsWebHookEventSubscriptionDestination

func (ehesd EventHubEventSubscriptionDestination) AsWebHookEventSubscriptionDestination() (*WebHookEventSubscriptionDestination, bool)

AsWebHookEventSubscriptionDestination is the BasicEventSubscriptionDestination implementation for EventHubEventSubscriptionDestination.

func (EventHubEventSubscriptionDestination) MarshalJSON

func (ehesd EventHubEventSubscriptionDestination) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for EventHubEventSubscriptionDestination.

func (*EventHubEventSubscriptionDestination) UnmarshalJSON

func (ehesd *EventHubEventSubscriptionDestination) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for EventHubEventSubscriptionDestination struct.

type EventHubEventSubscriptionDestinationProperties

type EventHubEventSubscriptionDestinationProperties struct {
	// ResourceID - The Azure Resource Id that represents the endpoint of an Event Hub destination of an event subscription.
	ResourceID *string `json:"resourceId,omitempty"`
	// DeliveryAttributeMappings - Delivery attribute details.
	DeliveryAttributeMappings *[]BasicDeliveryAttributeMapping `json:"deliveryAttributeMappings,omitempty"`
}

EventHubEventSubscriptionDestinationProperties the properties for a event hub destination.

func (*EventHubEventSubscriptionDestinationProperties) UnmarshalJSON

func (ehesdp *EventHubEventSubscriptionDestinationProperties) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for EventHubEventSubscriptionDestinationProperties struct.

type EventSubscription

type EventSubscription struct {
	autorest.Response `json:"-"`
	// EventSubscriptionProperties - Properties of the event subscription.
	*EventSubscriptionProperties `json:"properties,omitempty"`
	// SystemData - READ-ONLY; The system metadata relating to Event Subscription resource.
	SystemData *SystemData `json:"systemData,omitempty"`
	// ID - READ-ONLY; Fully qualified identifier of the resource.
	ID *string `json:"id,omitempty"`
	// Name - READ-ONLY; Name of the resource.
	Name *string `json:"name,omitempty"`
	// Type - READ-ONLY; Type of the resource.
	Type *string `json:"type,omitempty"`
}

EventSubscription event Subscription

func (EventSubscription) MarshalJSON

func (es EventSubscription) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for EventSubscription.

func (*EventSubscription) UnmarshalJSON

func (es *EventSubscription) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for EventSubscription struct.

type EventSubscriptionDestination

type EventSubscriptionDestination struct {
	// EndpointType - Possible values include: 'EndpointTypeBasicEventSubscriptionDestinationEndpointTypeEventSubscriptionDestination', 'EndpointTypeBasicEventSubscriptionDestinationEndpointTypeWebHook', 'EndpointTypeBasicEventSubscriptionDestinationEndpointTypeEventHub', 'EndpointTypeBasicEventSubscriptionDestinationEndpointTypeStorageQueue', 'EndpointTypeBasicEventSubscriptionDestinationEndpointTypeHybridConnection', 'EndpointTypeBasicEventSubscriptionDestinationEndpointTypeServiceBusQueue', 'EndpointTypeBasicEventSubscriptionDestinationEndpointTypeServiceBusTopic', 'EndpointTypeBasicEventSubscriptionDestinationEndpointTypeAzureFunction', 'EndpointTypeBasicEventSubscriptionDestinationEndpointTypePartnerDestination'
	EndpointType EndpointTypeBasicEventSubscriptionDestination `json:"endpointType,omitempty"`
}

EventSubscriptionDestination information about the destination for an event subscription.

func (EventSubscriptionDestination) AsAzureFunctionEventSubscriptionDestination

func (esd EventSubscriptionDestination) AsAzureFunctionEventSubscriptionDestination() (*AzureFunctionEventSubscriptionDestination, bool)

AsAzureFunctionEventSubscriptionDestination is the BasicEventSubscriptionDestination implementation for EventSubscriptionDestination.

func (EventSubscriptionDestination) AsBasicEventSubscriptionDestination

func (esd EventSubscriptionDestination) AsBasicEventSubscriptionDestination() (BasicEventSubscriptionDestination, bool)

AsBasicEventSubscriptionDestination is the BasicEventSubscriptionDestination implementation for EventSubscriptionDestination.

func (EventSubscriptionDestination) AsEventHubEventSubscriptionDestination

func (esd EventSubscriptionDestination) AsEventHubEventSubscriptionDestination() (*EventHubEventSubscriptionDestination, bool)

AsEventHubEventSubscriptionDestination is the BasicEventSubscriptionDestination implementation for EventSubscriptionDestination.

func (EventSubscriptionDestination) AsEventSubscriptionDestination

func (esd EventSubscriptionDestination) AsEventSubscriptionDestination() (*EventSubscriptionDestination, bool)

AsEventSubscriptionDestination is the BasicEventSubscriptionDestination implementation for EventSubscriptionDestination.

func (EventSubscriptionDestination) AsHybridConnectionEventSubscriptionDestination

func (esd EventSubscriptionDestination) AsHybridConnectionEventSubscriptionDestination() (*HybridConnectionEventSubscriptionDestination, bool)

AsHybridConnectionEventSubscriptionDestination is the BasicEventSubscriptionDestination implementation for EventSubscriptionDestination.

func (EventSubscriptionDestination) AsPartnerEventSubscriptionDestination

func (esd EventSubscriptionDestination) AsPartnerEventSubscriptionDestination() (*PartnerEventSubscriptionDestination, bool)

AsPartnerEventSubscriptionDestination is the BasicEventSubscriptionDestination implementation for EventSubscriptionDestination.

func (EventSubscriptionDestination) AsServiceBusQueueEventSubscriptionDestination

func (esd EventSubscriptionDestination) AsServiceBusQueueEventSubscriptionDestination() (*ServiceBusQueueEventSubscriptionDestination, bool)

AsServiceBusQueueEventSubscriptionDestination is the BasicEventSubscriptionDestination implementation for EventSubscriptionDestination.

func (EventSubscriptionDestination) AsServiceBusTopicEventSubscriptionDestination

func (esd EventSubscriptionDestination) AsServiceBusTopicEventSubscriptionDestination() (*ServiceBusTopicEventSubscriptionDestination, bool)

AsServiceBusTopicEventSubscriptionDestination is the BasicEventSubscriptionDestination implementation for EventSubscriptionDestination.

func (EventSubscriptionDestination) AsStorageQueueEventSubscriptionDestination

func (esd EventSubscriptionDestination) AsStorageQueueEventSubscriptionDestination() (*StorageQueueEventSubscriptionDestination, bool)

AsStorageQueueEventSubscriptionDestination is the BasicEventSubscriptionDestination implementation for EventSubscriptionDestination.

func (EventSubscriptionDestination) AsWebHookEventSubscriptionDestination

func (esd EventSubscriptionDestination) AsWebHookEventSubscriptionDestination() (*WebHookEventSubscriptionDestination, bool)

AsWebHookEventSubscriptionDestination is the BasicEventSubscriptionDestination implementation for EventSubscriptionDestination.

func (EventSubscriptionDestination) MarshalJSON

func (esd EventSubscriptionDestination) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for EventSubscriptionDestination.

type EventSubscriptionFilter

type EventSubscriptionFilter struct {
	// SubjectBeginsWith - An optional string to filter events for an event subscription based on a resource path prefix.
	// The format of this depends on the publisher of the events.
	// Wildcard characters are not supported in this path.
	SubjectBeginsWith *string `json:"subjectBeginsWith,omitempty"`
	// SubjectEndsWith - An optional string to filter events for an event subscription based on a resource path suffix.
	// Wildcard characters are not supported in this path.
	SubjectEndsWith *string `json:"subjectEndsWith,omitempty"`
	// IncludedEventTypes - A list of applicable event types that need to be part of the event subscription. If it is desired to subscribe to all default event types, set the IncludedEventTypes to null.
	IncludedEventTypes *[]string `json:"includedEventTypes,omitempty"`
	// IsSubjectCaseSensitive - Specifies if the SubjectBeginsWith and SubjectEndsWith properties of the filter
	// should be compared in a case sensitive manner.
	IsSubjectCaseSensitive *bool `json:"isSubjectCaseSensitive,omitempty"`
	// EnableAdvancedFilteringOnArrays - Allows advanced filters to be evaluated against an array of values instead of expecting a singular value.
	EnableAdvancedFilteringOnArrays *bool `json:"enableAdvancedFilteringOnArrays,omitempty"`
	// AdvancedFilters - An array of advanced filters that are used for filtering event subscriptions.
	AdvancedFilters *[]BasicAdvancedFilter `json:"advancedFilters,omitempty"`
}

EventSubscriptionFilter filter for the Event Subscription.

func (*EventSubscriptionFilter) UnmarshalJSON

func (esf *EventSubscriptionFilter) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for EventSubscriptionFilter struct.

type EventSubscriptionFullURL

type EventSubscriptionFullURL struct {
	autorest.Response `json:"-"`
	// EndpointURL - The URL that represents the endpoint of the destination of an event subscription.
	EndpointURL *string `json:"endpointUrl,omitempty"`
}

EventSubscriptionFullURL full endpoint url of an event subscription

type EventSubscriptionIdentity

type EventSubscriptionIdentity struct {
	// Type - The type of managed identity used. The type 'SystemAssigned, UserAssigned' includes both an implicitly created identity and a set of user-assigned identities. The type 'None' will remove any identity. Possible values include: 'EventSubscriptionIdentityTypeSystemAssigned', 'EventSubscriptionIdentityTypeUserAssigned'
	Type EventSubscriptionIdentityType `json:"type,omitempty"`
	// UserAssignedIdentity - The user identity associated with the resource.
	UserAssignedIdentity *string `json:"userAssignedIdentity,omitempty"`
}

EventSubscriptionIdentity the identity information with the event subscription.

type EventSubscriptionIdentityType

type EventSubscriptionIdentityType string

EventSubscriptionIdentityType enumerates the values for event subscription identity type.

const (
	// EventSubscriptionIdentityTypeSystemAssigned ...
	EventSubscriptionIdentityTypeSystemAssigned EventSubscriptionIdentityType = "SystemAssigned"
	// EventSubscriptionIdentityTypeUserAssigned ...
	EventSubscriptionIdentityTypeUserAssigned EventSubscriptionIdentityType = "UserAssigned"
)

func PossibleEventSubscriptionIdentityTypeValues

func PossibleEventSubscriptionIdentityTypeValues() []EventSubscriptionIdentityType

PossibleEventSubscriptionIdentityTypeValues returns an array of possible values for the EventSubscriptionIdentityType const type.

type EventSubscriptionProperties

type EventSubscriptionProperties struct {
	// Topic - READ-ONLY; Name of the topic of the event subscription.
	Topic *string `json:"topic,omitempty"`
	// ProvisioningState - READ-ONLY; Provisioning state of the event subscription. Possible values include: 'EventSubscriptionProvisioningStateCreating', 'EventSubscriptionProvisioningStateUpdating', 'EventSubscriptionProvisioningStateDeleting', 'EventSubscriptionProvisioningStateSucceeded', 'EventSubscriptionProvisioningStateCanceled', 'EventSubscriptionProvisioningStateFailed', 'EventSubscriptionProvisioningStateAwaitingManualAction'
	ProvisioningState EventSubscriptionProvisioningState `json:"provisioningState,omitempty"`
	// Destination - Information about the destination where events have to be delivered for the event subscription.
	// Uses Azure Event Grid's identity to acquire the authentication tokens being used during delivery / dead-lettering.
	Destination BasicEventSubscriptionDestination `json:"destination,omitempty"`
	// DeliveryWithResourceIdentity - 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.
	DeliveryWithResourceIdentity *DeliveryWithResourceIdentity `json:"deliveryWithResourceIdentity,omitempty"`
	// Filter - Information about the filter for the event subscription.
	Filter *EventSubscriptionFilter `json:"filter,omitempty"`
	// Labels - List of user defined labels.
	Labels *[]string `json:"labels,omitempty"`
	// ExpirationTimeUtc - Expiration time of the event subscription.
	ExpirationTimeUtc *date.Time `json:"expirationTimeUtc,omitempty"`
	// EventDeliverySchema - The event delivery schema for the event subscription. Possible values include: 'EventDeliverySchemaEventGridSchema', 'EventDeliverySchemaCustomInputSchema', 'EventDeliverySchemaCloudEventSchemaV10'
	EventDeliverySchema EventDeliverySchema `json:"eventDeliverySchema,omitempty"`
	// RetryPolicy - The retry policy for events. This can be used to configure maximum number of delivery attempts and time to live for events.
	RetryPolicy *RetryPolicy `json:"retryPolicy,omitempty"`
	// DeadLetterDestination - The dead letter destination of the event subscription. Any event that cannot be delivered to its' destination is sent to the dead letter destination.
	// Uses Azure Event Grid's identity to acquire the authentication tokens being used during delivery / dead-lettering.
	DeadLetterDestination BasicDeadLetterDestination `json:"deadLetterDestination,omitempty"`
	// DeadLetterWithResourceIdentity - The dead letter destination of the event subscription. Any event that cannot be delivered to its' destination is sent to the dead letter destination.
	// Uses the managed identity setup on the parent resource (namely, topic or domain) to acquire the authentication tokens being used during delivery / dead-lettering.
	DeadLetterWithResourceIdentity *DeadLetterWithResourceIdentity `json:"deadLetterWithResourceIdentity,omitempty"`
}

EventSubscriptionProperties properties of the Event Subscription.

func (EventSubscriptionProperties) MarshalJSON

func (esp EventSubscriptionProperties) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for EventSubscriptionProperties.

func (*EventSubscriptionProperties) UnmarshalJSON

func (esp *EventSubscriptionProperties) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for EventSubscriptionProperties struct.

type EventSubscriptionProvisioningState

type EventSubscriptionProvisioningState string

EventSubscriptionProvisioningState enumerates the values for event subscription provisioning state.

const (
	// EventSubscriptionProvisioningStateAwaitingManualAction ...
	EventSubscriptionProvisioningStateAwaitingManualAction EventSubscriptionProvisioningState = "AwaitingManualAction"
	// EventSubscriptionProvisioningStateCanceled ...
	EventSubscriptionProvisioningStateCanceled EventSubscriptionProvisioningState = "Canceled"
	// EventSubscriptionProvisioningStateCreating ...
	EventSubscriptionProvisioningStateCreating EventSubscriptionProvisioningState = "Creating"
	// EventSubscriptionProvisioningStateDeleting ...
	EventSubscriptionProvisioningStateDeleting EventSubscriptionProvisioningState = "Deleting"
	// EventSubscriptionProvisioningStateFailed ...
	EventSubscriptionProvisioningStateFailed EventSubscriptionProvisioningState = "Failed"
	// EventSubscriptionProvisioningStateSucceeded ...
	EventSubscriptionProvisioningStateSucceeded EventSubscriptionProvisioningState = "Succeeded"
	// EventSubscriptionProvisioningStateUpdating ...
	EventSubscriptionProvisioningStateUpdating EventSubscriptionProvisioningState = "Updating"
)

func PossibleEventSubscriptionProvisioningStateValues

func PossibleEventSubscriptionProvisioningStateValues() []EventSubscriptionProvisioningState

PossibleEventSubscriptionProvisioningStateValues returns an array of possible values for the EventSubscriptionProvisioningState const type.

type EventSubscriptionUpdateParameters

type EventSubscriptionUpdateParameters struct {
	// Destination - Information about the destination where events have to be delivered for the event subscription.
	// Uses Azure Event Grid's identity to acquire the authentication tokens being used during delivery / dead-lettering.
	Destination BasicEventSubscriptionDestination `json:"destination,omitempty"`
	// DeliveryWithResourceIdentity - Information about the destination where events have to be delivered for the event subscription.
	// Uses the managed identity setup on the parent resource (topic / domain) to acquire the authentication tokens being used during delivery / dead-lettering.
	DeliveryWithResourceIdentity *DeliveryWithResourceIdentity `json:"deliveryWithResourceIdentity,omitempty"`
	// Filter - Information about the filter for the event subscription.
	Filter *EventSubscriptionFilter `json:"filter,omitempty"`
	// Labels - List of user defined labels.
	Labels *[]string `json:"labels,omitempty"`
	// ExpirationTimeUtc - Information about the expiration time for the event subscription.
	ExpirationTimeUtc *date.Time `json:"expirationTimeUtc,omitempty"`
	// EventDeliverySchema - The event delivery schema for the event subscription. Possible values include: 'EventDeliverySchemaEventGridSchema', 'EventDeliverySchemaCustomInputSchema', 'EventDeliverySchemaCloudEventSchemaV10'
	EventDeliverySchema EventDeliverySchema `json:"eventDeliverySchema,omitempty"`
	// RetryPolicy - The retry policy for events. This can be used to configure maximum number of delivery attempts and time to live for events.
	RetryPolicy *RetryPolicy `json:"retryPolicy,omitempty"`
	// DeadLetterDestination - The dead letter destination of the event subscription. Any event that cannot be delivered to its' destination is sent to the dead letter destination.
	// Uses Azure Event Grid's identity to acquire the authentication tokens being used during delivery / dead-lettering.
	DeadLetterDestination BasicDeadLetterDestination `json:"deadLetterDestination,omitempty"`
	// DeadLetterWithResourceIdentity - The dead letter destination of the event subscription. Any event that cannot be delivered to its' destination is sent to the dead letter destination.
	// Uses the managed identity setup on the parent resource (topic / domain) to acquire the authentication tokens being used during delivery / dead-lettering.
	DeadLetterWithResourceIdentity *DeadLetterWithResourceIdentity `json:"deadLetterWithResourceIdentity,omitempty"`
}

EventSubscriptionUpdateParameters properties of the Event Subscription update.

func (*EventSubscriptionUpdateParameters) UnmarshalJSON

func (esup *EventSubscriptionUpdateParameters) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for EventSubscriptionUpdateParameters struct.

type EventSubscriptionsClient

type EventSubscriptionsClient struct {
	BaseClient
}

EventSubscriptionsClient is the azure EventGrid Management Client

func NewEventSubscriptionsClient

func NewEventSubscriptionsClient(subscriptionID string) EventSubscriptionsClient

NewEventSubscriptionsClient creates an instance of the EventSubscriptionsClient client.

func NewEventSubscriptionsClientWithBaseURI

func NewEventSubscriptionsClientWithBaseURI(baseURI string, subscriptionID string) EventSubscriptionsClient

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

func (EventSubscriptionsClient) CreateOrUpdate

func (client EventSubscriptionsClient) CreateOrUpdate(ctx context.Context, scope string, eventSubscriptionName string, eventSubscriptionInfo EventSubscription) (result EventSubscriptionsCreateOrUpdateFuture, err error)

CreateOrUpdate asynchronously creates a new event subscription or updates an existing event subscription based on the specified scope. Parameters: scope - the identifier of the resource to which the event subscription needs to be created or updated. The scope can be a subscription, or a resource group, or a top level resource belonging to a resource provider namespace, or an EventGrid topic. For example, use '/subscriptions/{subscriptionId}/' for a subscription, '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}' for a resource group, and '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}' for a resource, and '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventGrid/topics/{topicName}' for an EventGrid topic. eventSubscriptionName - name of the event subscription. Event subscription names must be between 3 and 64 characters in length and should use alphanumeric letters only. eventSubscriptionInfo - event subscription properties containing the destination and filter information.

func (EventSubscriptionsClient) CreateOrUpdatePreparer

func (client EventSubscriptionsClient) CreateOrUpdatePreparer(ctx context.Context, scope string, eventSubscriptionName string, eventSubscriptionInfo EventSubscription) (*http.Request, error)

CreateOrUpdatePreparer prepares the CreateOrUpdate request.

func (EventSubscriptionsClient) CreateOrUpdateResponder

func (client EventSubscriptionsClient) CreateOrUpdateResponder(resp *http.Response) (result EventSubscription, err error)

CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always closes the http.Response Body.

func (EventSubscriptionsClient) CreateOrUpdateSender

func (client EventSubscriptionsClient) CreateOrUpdateSender(req *http.Request) (future EventSubscriptionsCreateOrUpdateFuture, err error)

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

func (EventSubscriptionsClient) Delete

func (client EventSubscriptionsClient) Delete(ctx context.Context, scope string, eventSubscriptionName string) (result EventSubscriptionsDeleteFuture, err error)

Delete delete an existing event subscription. Parameters: scope - the scope of the event subscription. The scope can be a subscription, or a resource group, or a top level resource belonging to a resource provider namespace, or an EventGrid topic. For example, use '/subscriptions/{subscriptionId}/' for a subscription, '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}' for a resource group, and '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}' for a resource, and '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventGrid/topics/{topicName}' for an EventGrid topic. eventSubscriptionName - name of the event subscription.

func (EventSubscriptionsClient) DeletePreparer

func (client EventSubscriptionsClient) DeletePreparer(ctx context.Context, scope string, eventSubscriptionName string) (*http.Request, error)

DeletePreparer prepares the Delete request.

func (EventSubscriptionsClient) DeleteResponder

func (client EventSubscriptionsClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)

DeleteResponder handles the response to the Delete request. The method always closes the http.Response Body.

func (EventSubscriptionsClient) DeleteSender

func (client EventSubscriptionsClient) DeleteSender(req *http.Request) (future EventSubscriptionsDeleteFuture, err error)

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

func (EventSubscriptionsClient) Get

func (client EventSubscriptionsClient) Get(ctx context.Context, scope string, eventSubscriptionName string) (result EventSubscription, err error)

Get get properties of an event subscription. Parameters: scope - the scope of the event subscription. The scope can be a subscription, or a resource group, or a top level resource belonging to a resource provider namespace, or an EventGrid topic. For example, use '/subscriptions/{subscriptionId}/' for a subscription, '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}' for a resource group, and '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}' for a resource, and '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventGrid/topics/{topicName}' for an EventGrid topic. eventSubscriptionName - name of the event subscription.

func (EventSubscriptionsClient) GetDeliveryAttributes

func (client EventSubscriptionsClient) GetDeliveryAttributes(ctx context.Context, scope string, eventSubscriptionName string) (result DeliveryAttributeListResult, err error)

GetDeliveryAttributes get all delivery attributes for an event subscription. Parameters: scope - the scope of the event subscription. The scope can be a subscription, or a resource group, or a top level resource belonging to a resource provider namespace, or an EventGrid topic. For example, use '/subscriptions/{subscriptionId}/' for a subscription, '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}' for a resource group, and '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}' for a resource, and '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventGrid/topics/{topicName}' for an EventGrid topic. eventSubscriptionName - name of the event subscription.

func (EventSubscriptionsClient) GetDeliveryAttributesPreparer

func (client EventSubscriptionsClient) GetDeliveryAttributesPreparer(ctx context.Context, scope string, eventSubscriptionName string) (*http.Request, error)

GetDeliveryAttributesPreparer prepares the GetDeliveryAttributes request.

func (EventSubscriptionsClient) GetDeliveryAttributesResponder

func (client EventSubscriptionsClient) GetDeliveryAttributesResponder(resp *http.Response) (result DeliveryAttributeListResult, err error)

GetDeliveryAttributesResponder handles the response to the GetDeliveryAttributes request. The method always closes the http.Response Body.

func (EventSubscriptionsClient) GetDeliveryAttributesSender

func (client EventSubscriptionsClient) GetDeliveryAttributesSender(req *http.Request) (*http.Response, error)

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

func (EventSubscriptionsClient) GetFullURL

func (client EventSubscriptionsClient) GetFullURL(ctx context.Context, scope string, eventSubscriptionName string) (result EventSubscriptionFullURL, err error)

GetFullURL get the full endpoint URL for an event subscription. Parameters: scope - the scope of the event subscription. The scope can be a subscription, or a resource group, or a top level resource belonging to a resource provider namespace, or an EventGrid topic. For example, use '/subscriptions/{subscriptionId}/' for a subscription, '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}' for a resource group, and '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}' for a resource, and '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventGrid/topics/{topicName}' for an EventGrid topic. eventSubscriptionName - name of the event subscription.

func (EventSubscriptionsClient) GetFullURLPreparer

func (client EventSubscriptionsClient) GetFullURLPreparer(ctx context.Context, scope string, eventSubscriptionName string) (*http.Request, error)

GetFullURLPreparer prepares the GetFullURL request.

func (EventSubscriptionsClient) GetFullURLResponder

func (client EventSubscriptionsClient) GetFullURLResponder(resp *http.Response) (result EventSubscriptionFullURL, err error)

GetFullURLResponder handles the response to the GetFullURL request. The method always closes the http.Response Body.

func (EventSubscriptionsClient) GetFullURLSender

func (client EventSubscriptionsClient) GetFullURLSender(req *http.Request) (*http.Response, error)

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

func (EventSubscriptionsClient) GetPreparer

func (client EventSubscriptionsClient) GetPreparer(ctx context.Context, scope string, eventSubscriptionName string) (*http.Request, error)

GetPreparer prepares the Get request.

func (EventSubscriptionsClient) GetResponder

func (client EventSubscriptionsClient) GetResponder(resp *http.Response) (result EventSubscription, err error)

GetResponder handles the response to the Get request. The method always closes the http.Response Body.

func (EventSubscriptionsClient) GetSender

func (client EventSubscriptionsClient) GetSender(req *http.Request) (*http.Response, error)

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

func (EventSubscriptionsClient) ListByDomainTopic

func (client EventSubscriptionsClient) ListByDomainTopic(ctx context.Context, resourceGroupName string, domainName string, topicName string, filter string, top *int32) (result EventSubscriptionsListResultPage, err error)

ListByDomainTopic list all event subscriptions that have been created for a specific domain topic. Parameters: resourceGroupName - the name of the resource group within the user's subscription. domainName - name of the top level domain. topicName - name of the domain topic. filter - the query used to filter the search results using OData syntax. Filtering is permitted on the 'name' property only and with limited number of OData operations. These operations are: the 'contains' function as well as the following logical operations: not, and, or, eq (for equal), and ne (for not equal). No arithmetic operations are supported. The following is a valid filter example: $filter=contains(namE, 'PATTERN') and name ne 'PATTERN-1'. The following is not a valid filter example: $filter=location eq 'westus'. top - the number of results to return per page for the list operation. Valid range for top parameter is 1 to 100. If not specified, the default number of results to be returned is 20 items per page.

func (EventSubscriptionsClient) ListByDomainTopicComplete

func (client EventSubscriptionsClient) ListByDomainTopicComplete(ctx context.Context, resourceGroupName string, domainName string, topicName string, filter string, top *int32) (result EventSubscriptionsListResultIterator, err error)

ListByDomainTopicComplete enumerates all values, automatically crossing page boundaries as required.

func (EventSubscriptionsClient) ListByDomainTopicPreparer

func (client EventSubscriptionsClient) ListByDomainTopicPreparer(ctx context.Context, resourceGroupName string, domainName string, topicName string, filter string, top *int32) (*http.Request, error)

ListByDomainTopicPreparer prepares the ListByDomainTopic request.

func (EventSubscriptionsClient) ListByDomainTopicResponder

func (client EventSubscriptionsClient) ListByDomainTopicResponder(resp *http.Response) (result EventSubscriptionsListResult, err error)

ListByDomainTopicResponder handles the response to the ListByDomainTopic request. The method always closes the http.Response Body.

func (EventSubscriptionsClient) ListByDomainTopicSender

func (client EventSubscriptionsClient) ListByDomainTopicSender(req *http.Request) (*http.Response, error)

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

func (EventSubscriptionsClient) ListByResource

func (client EventSubscriptionsClient) ListByResource(ctx context.Context, resourceGroupName string, providerNamespace string, resourceTypeName string, resourceName string, filter string, top *int32) (result EventSubscriptionsListResultPage, err error)

ListByResource list all event subscriptions that have been created for a specific resource. Parameters: resourceGroupName - the name of the resource group within the user's subscription. providerNamespace - namespace of the provider of the topic. resourceTypeName - name of the resource type. resourceName - name of the resource. filter - the query used to filter the search results using OData syntax. Filtering is permitted on the 'name' property only and with limited number of OData operations. These operations are: the 'contains' function as well as the following logical operations: not, and, or, eq (for equal), and ne (for not equal). No arithmetic operations are supported. The following is a valid filter example: $filter=contains(namE, 'PATTERN') and name ne 'PATTERN-1'. The following is not a valid filter example: $filter=location eq 'westus'. top - the number of results to return per page for the list operation. Valid range for top parameter is 1 to 100. If not specified, the default number of results to be returned is 20 items per page.

func (EventSubscriptionsClient) ListByResourceComplete

func (client EventSubscriptionsClient) ListByResourceComplete(ctx context.Context, resourceGroupName string, providerNamespace string, resourceTypeName string, resourceName string, filter string, top *int32) (result EventSubscriptionsListResultIterator, err error)

ListByResourceComplete enumerates all values, automatically crossing page boundaries as required.

func (EventSubscriptionsClient) ListByResourcePreparer

func (client EventSubscriptionsClient) ListByResourcePreparer(ctx context.Context, resourceGroupName string, providerNamespace string, resourceTypeName string, resourceName string, filter string, top *int32) (*http.Request, error)

ListByResourcePreparer prepares the ListByResource request.

func (EventSubscriptionsClient) ListByResourceResponder

func (client EventSubscriptionsClient) ListByResourceResponder(resp *http.Response) (result EventSubscriptionsListResult, err error)

ListByResourceResponder handles the response to the ListByResource request. The method always closes the http.Response Body.

func (EventSubscriptionsClient) ListByResourceSender

func (client EventSubscriptionsClient) ListByResourceSender(req *http.Request) (*http.Response, error)

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

func (EventSubscriptionsClient) ListGlobalByResourceGroup

func (client EventSubscriptionsClient) ListGlobalByResourceGroup(ctx context.Context, resourceGroupName string, filter string, top *int32) (result EventSubscriptionsListResultPage, err error)

ListGlobalByResourceGroup list all global event subscriptions under a specific Azure subscription and resource group. Parameters: resourceGroupName - the name of the resource group within the user's subscription. filter - the query used to filter the search results using OData syntax. Filtering is permitted on the 'name' property only and with limited number of OData operations. These operations are: the 'contains' function as well as the following logical operations: not, and, or, eq (for equal), and ne (for not equal). No arithmetic operations are supported. The following is a valid filter example: $filter=contains(namE, 'PATTERN') and name ne 'PATTERN-1'. The following is not a valid filter example: $filter=location eq 'westus'. top - the number of results to return per page for the list operation. Valid range for top parameter is 1 to 100. If not specified, the default number of results to be returned is 20 items per page.

func (EventSubscriptionsClient) ListGlobalByResourceGroupComplete

func (client EventSubscriptionsClient) ListGlobalByResourceGroupComplete(ctx context.Context, resourceGroupName string, filter string, top *int32) (result EventSubscriptionsListResultIterator, err error)

ListGlobalByResourceGroupComplete enumerates all values, automatically crossing page boundaries as required.

func (EventSubscriptionsClient) ListGlobalByResourceGroupForTopicType

func (client EventSubscriptionsClient) ListGlobalByResourceGroupForTopicType(ctx context.Context, resourceGroupName string, topicTypeName string, filter string, top *int32) (result EventSubscriptionsListResultPage, err error)

ListGlobalByResourceGroupForTopicType list all global event subscriptions under a resource group for a specific topic type. Parameters: resourceGroupName - the name of the resource group within the user's subscription. topicTypeName - name of the topic type. filter - the query used to filter the search results using OData syntax. Filtering is permitted on the 'name' property only and with limited number of OData operations. These operations are: the 'contains' function as well as the following logical operations: not, and, or, eq (for equal), and ne (for not equal). No arithmetic operations are supported. The following is a valid filter example: $filter=contains(namE, 'PATTERN') and name ne 'PATTERN-1'. The following is not a valid filter example: $filter=location eq 'westus'. top - the number of results to return per page for the list operation. Valid range for top parameter is 1 to 100. If not specified, the default number of results to be returned is 20 items per page.

func (EventSubscriptionsClient) ListGlobalByResourceGroupForTopicTypeComplete

func (client EventSubscriptionsClient) ListGlobalByResourceGroupForTopicTypeComplete(ctx context.Context, resourceGroupName string, topicTypeName string, filter string, top *int32) (result EventSubscriptionsListResultIterator, err error)

ListGlobalByResourceGroupForTopicTypeComplete enumerates all values, automatically crossing page boundaries as required.

func (EventSubscriptionsClient) ListGlobalByResourceGroupForTopicTypePreparer

func (client EventSubscriptionsClient) ListGlobalByResourceGroupForTopicTypePreparer(ctx context.Context, resourceGroupName string, topicTypeName string, filter string, top *int32) (*http.Request, error)

ListGlobalByResourceGroupForTopicTypePreparer prepares the ListGlobalByResourceGroupForTopicType request.

func (EventSubscriptionsClient) ListGlobalByResourceGroupForTopicTypeResponder

func (client EventSubscriptionsClient) ListGlobalByResourceGroupForTopicTypeResponder(resp *http.Response) (result EventSubscriptionsListResult, err error)

ListGlobalByResourceGroupForTopicTypeResponder handles the response to the ListGlobalByResourceGroupForTopicType request. The method always closes the http.Response Body.

func (EventSubscriptionsClient) ListGlobalByResourceGroupForTopicTypeSender

func (client EventSubscriptionsClient) ListGlobalByResourceGroupForTopicTypeSender(req *http.Request) (*http.Response, error)

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

func (EventSubscriptionsClient) ListGlobalByResourceGroupPreparer

func (client EventSubscriptionsClient) ListGlobalByResourceGroupPreparer(ctx context.Context, resourceGroupName string, filter string, top *int32) (*http.Request, error)

ListGlobalByResourceGroupPreparer prepares the ListGlobalByResourceGroup request.

func (EventSubscriptionsClient) ListGlobalByResourceGroupResponder

func (client EventSubscriptionsClient) ListGlobalByResourceGroupResponder(resp *http.Response) (result EventSubscriptionsListResult, err error)

ListGlobalByResourceGroupResponder handles the response to the ListGlobalByResourceGroup request. The method always closes the http.Response Body.

func (EventSubscriptionsClient) ListGlobalByResourceGroupSender

func (client EventSubscriptionsClient) ListGlobalByResourceGroupSender(req *http.Request) (*http.Response, error)

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

func (EventSubscriptionsClient) ListGlobalBySubscription

func (client EventSubscriptionsClient) ListGlobalBySubscription(ctx context.Context, filter string, top *int32) (result EventSubscriptionsListResultPage, err error)

ListGlobalBySubscription list all aggregated global event subscriptions under a specific Azure subscription. Parameters: filter - the query used to filter the search results using OData syntax. Filtering is permitted on the 'name' property only and with limited number of OData operations. These operations are: the 'contains' function as well as the following logical operations: not, and, or, eq (for equal), and ne (for not equal). No arithmetic operations are supported. The following is a valid filter example: $filter=contains(namE, 'PATTERN') and name ne 'PATTERN-1'. The following is not a valid filter example: $filter=location eq 'westus'. top - the number of results to return per page for the list operation. Valid range for top parameter is 1 to 100. If not specified, the default number of results to be returned is 20 items per page.

func (EventSubscriptionsClient) ListGlobalBySubscriptionComplete

func (client EventSubscriptionsClient) ListGlobalBySubscriptionComplete(ctx context.Context, filter string, top *int32) (result EventSubscriptionsListResultIterator, err error)

ListGlobalBySubscriptionComplete enumerates all values, automatically crossing page boundaries as required.

func (EventSubscriptionsClient) ListGlobalBySubscriptionForTopicType

func (client EventSubscriptionsClient) ListGlobalBySubscriptionForTopicType(ctx context.Context, topicTypeName string, filter string, top *int32) (result EventSubscriptionsListResultPage, err error)

ListGlobalBySubscriptionForTopicType list all global event subscriptions under an Azure subscription for a topic type. Parameters: topicTypeName - name of the topic type. filter - the query used to filter the search results using OData syntax. Filtering is permitted on the 'name' property only and with limited number of OData operations. These operations are: the 'contains' function as well as the following logical operations: not, and, or, eq (for equal), and ne (for not equal). No arithmetic operations are supported. The following is a valid filter example: $filter=contains(namE, 'PATTERN') and name ne 'PATTERN-1'. The following is not a valid filter example: $filter=location eq 'westus'. top - the number of results to return per page for the list operation. Valid range for top parameter is 1 to 100. If not specified, the default number of results to be returned is 20 items per page.

func (EventSubscriptionsClient) ListGlobalBySubscriptionForTopicTypeComplete

func (client EventSubscriptionsClient) ListGlobalBySubscriptionForTopicTypeComplete(ctx context.Context, topicTypeName string, filter string, top *int32) (result EventSubscriptionsListResultIterator, err error)

ListGlobalBySubscriptionForTopicTypeComplete enumerates all values, automatically crossing page boundaries as required.

func (EventSubscriptionsClient) ListGlobalBySubscriptionForTopicTypePreparer

func (client EventSubscriptionsClient) ListGlobalBySubscriptionForTopicTypePreparer(ctx context.Context, topicTypeName string, filter string, top *int32) (*http.Request, error)

ListGlobalBySubscriptionForTopicTypePreparer prepares the ListGlobalBySubscriptionForTopicType request.

func (EventSubscriptionsClient) ListGlobalBySubscriptionForTopicTypeResponder

func (client EventSubscriptionsClient) ListGlobalBySubscriptionForTopicTypeResponder(resp *http.Response) (result EventSubscriptionsListResult, err error)

ListGlobalBySubscriptionForTopicTypeResponder handles the response to the ListGlobalBySubscriptionForTopicType request. The method always closes the http.Response Body.

func (EventSubscriptionsClient) ListGlobalBySubscriptionForTopicTypeSender

func (client EventSubscriptionsClient) ListGlobalBySubscriptionForTopicTypeSender(req *http.Request) (*http.Response, error)

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

func (EventSubscriptionsClient) ListGlobalBySubscriptionPreparer

func (client EventSubscriptionsClient) ListGlobalBySubscriptionPreparer(ctx context.Context, filter string, top *int32) (*http.Request, error)

ListGlobalBySubscriptionPreparer prepares the ListGlobalBySubscription request.

func (EventSubscriptionsClient) ListGlobalBySubscriptionResponder

func (client EventSubscriptionsClient) ListGlobalBySubscriptionResponder(resp *http.Response) (result EventSubscriptionsListResult, err error)

ListGlobalBySubscriptionResponder handles the response to the ListGlobalBySubscription request. The method always closes the http.Response Body.

func (EventSubscriptionsClient) ListGlobalBySubscriptionSender

func (client EventSubscriptionsClient) ListGlobalBySubscriptionSender(req *http.Request) (*http.Response, error)

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

func (EventSubscriptionsClient) ListRegionalByResourceGroup

func (client EventSubscriptionsClient) ListRegionalByResourceGroup(ctx context.Context, resourceGroupName string, location string, filter string, top *int32) (result EventSubscriptionsListResultPage, err error)

ListRegionalByResourceGroup list all event subscriptions from the given location under a specific Azure subscription and resource group. Parameters: resourceGroupName - the name of the resource group within the user's subscription. location - name of the location. filter - the query used to filter the search results using OData syntax. Filtering is permitted on the 'name' property only and with limited number of OData operations. These operations are: the 'contains' function as well as the following logical operations: not, and, or, eq (for equal), and ne (for not equal). No arithmetic operations are supported. The following is a valid filter example: $filter=contains(namE, 'PATTERN') and name ne 'PATTERN-1'. The following is not a valid filter example: $filter=location eq 'westus'. top - the number of results to return per page for the list operation. Valid range for top parameter is 1 to 100. If not specified, the default number of results to be returned is 20 items per page.

func (EventSubscriptionsClient) ListRegionalByResourceGroupComplete

func (client EventSubscriptionsClient) ListRegionalByResourceGroupComplete(ctx context.Context, resourceGroupName string, location string, filter string, top *int32) (result EventSubscriptionsListResultIterator, err error)

ListRegionalByResourceGroupComplete enumerates all values, automatically crossing page boundaries as required.

func (EventSubscriptionsClient) ListRegionalByResourceGroupForTopicType

func (client EventSubscriptionsClient) ListRegionalByResourceGroupForTopicType(ctx context.Context, resourceGroupName string, location string, topicTypeName string, filter string, top *int32) (result EventSubscriptionsListResultPage, err error)

ListRegionalByResourceGroupForTopicType list all event subscriptions from the given location under a specific Azure subscription and resource group and topic type. Parameters: resourceGroupName - the name of the resource group within the user's subscription. location - name of the location. topicTypeName - name of the topic type. filter - the query used to filter the search results using OData syntax. Filtering is permitted on the 'name' property only and with limited number of OData operations. These operations are: the 'contains' function as well as the following logical operations: not, and, or, eq (for equal), and ne (for not equal). No arithmetic operations are supported. The following is a valid filter example: $filter=contains(namE, 'PATTERN') and name ne 'PATTERN-1'. The following is not a valid filter example: $filter=location eq 'westus'. top - the number of results to return per page for the list operation. Valid range for top parameter is 1 to 100. If not specified, the default number of results to be returned is 20 items per page.

func (EventSubscriptionsClient) ListRegionalByResourceGroupForTopicTypeComplete

func (client EventSubscriptionsClient) ListRegionalByResourceGroupForTopicTypeComplete(ctx context.Context, resourceGroupName string, location string, topicTypeName string, filter string, top *int32) (result EventSubscriptionsListResultIterator, err error)

ListRegionalByResourceGroupForTopicTypeComplete enumerates all values, automatically crossing page boundaries as required.

func (EventSubscriptionsClient) ListRegionalByResourceGroupForTopicTypePreparer

func (client EventSubscriptionsClient) ListRegionalByResourceGroupForTopicTypePreparer(ctx context.Context, resourceGroupName string, location string, topicTypeName string, filter string, top *int32) (*http.Request, error)

ListRegionalByResourceGroupForTopicTypePreparer prepares the ListRegionalByResourceGroupForTopicType request.

func (EventSubscriptionsClient) ListRegionalByResourceGroupForTopicTypeResponder

func (client EventSubscriptionsClient) ListRegionalByResourceGroupForTopicTypeResponder(resp *http.Response) (result EventSubscriptionsListResult, err error)

ListRegionalByResourceGroupForTopicTypeResponder handles the response to the ListRegionalByResourceGroupForTopicType request. The method always closes the http.Response Body.

func (EventSubscriptionsClient) ListRegionalByResourceGroupForTopicTypeSender

func (client EventSubscriptionsClient) ListRegionalByResourceGroupForTopicTypeSender(req *http.Request) (*http.Response, error)

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

func (EventSubscriptionsClient) ListRegionalByResourceGroupPreparer

func (client EventSubscriptionsClient) ListRegionalByResourceGroupPreparer(ctx context.Context, resourceGroupName string, location string, filter string, top *int32) (*http.Request, error)

ListRegionalByResourceGroupPreparer prepares the ListRegionalByResourceGroup request.

func (EventSubscriptionsClient) ListRegionalByResourceGroupResponder

func (client EventSubscriptionsClient) ListRegionalByResourceGroupResponder(resp *http.Response) (result EventSubscriptionsListResult, err error)

ListRegionalByResourceGroupResponder handles the response to the ListRegionalByResourceGroup request. The method always closes the http.Response Body.

func (EventSubscriptionsClient) ListRegionalByResourceGroupSender

func (client EventSubscriptionsClient) ListRegionalByResourceGroupSender(req *http.Request) (*http.Response, error)

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

func (EventSubscriptionsClient) ListRegionalBySubscription

func (client EventSubscriptionsClient) ListRegionalBySubscription(ctx context.Context, location string, filter string, top *int32) (result EventSubscriptionsListResultPage, err error)

ListRegionalBySubscription list all event subscriptions from the given location under a specific Azure subscription. Parameters: location - name of the location. filter - the query used to filter the search results using OData syntax. Filtering is permitted on the 'name' property only and with limited number of OData operations. These operations are: the 'contains' function as well as the following logical operations: not, and, or, eq (for equal), and ne (for not equal). No arithmetic operations are supported. The following is a valid filter example: $filter=contains(namE, 'PATTERN') and name ne 'PATTERN-1'. The following is not a valid filter example: $filter=location eq 'westus'. top - the number of results to return per page for the list operation. Valid range for top parameter is 1 to 100. If not specified, the default number of results to be returned is 20 items per page.

func (EventSubscriptionsClient) ListRegionalBySubscriptionComplete

func (client EventSubscriptionsClient) ListRegionalBySubscriptionComplete(ctx context.Context, location string, filter string, top *int32) (result EventSubscriptionsListResultIterator, err error)

ListRegionalBySubscriptionComplete enumerates all values, automatically crossing page boundaries as required.

func (EventSubscriptionsClient) ListRegionalBySubscriptionForTopicType

func (client EventSubscriptionsClient) ListRegionalBySubscriptionForTopicType(ctx context.Context, location string, topicTypeName string, filter string, top *int32) (result EventSubscriptionsListResultPage, err error)

ListRegionalBySubscriptionForTopicType list all event subscriptions from the given location under a specific Azure subscription and topic type. Parameters: location - name of the location. topicTypeName - name of the topic type. filter - the query used to filter the search results using OData syntax. Filtering is permitted on the 'name' property only and with limited number of OData operations. These operations are: the 'contains' function as well as the following logical operations: not, and, or, eq (for equal), and ne (for not equal). No arithmetic operations are supported. The following is a valid filter example: $filter=contains(namE, 'PATTERN') and name ne 'PATTERN-1'. The following is not a valid filter example: $filter=location eq 'westus'. top - the number of results to return per page for the list operation. Valid range for top parameter is 1 to 100. If not specified, the default number of results to be returned is 20 items per page.

func (EventSubscriptionsClient) ListRegionalBySubscriptionForTopicTypeComplete

func (client EventSubscriptionsClient) ListRegionalBySubscriptionForTopicTypeComplete(ctx context.Context, location string, topicTypeName string, filter string, top *int32) (result EventSubscriptionsListResultIterator, err error)

ListRegionalBySubscriptionForTopicTypeComplete enumerates all values, automatically crossing page boundaries as required.

func (EventSubscriptionsClient) ListRegionalBySubscriptionForTopicTypePreparer

func (client EventSubscriptionsClient) ListRegionalBySubscriptionForTopicTypePreparer(ctx context.Context, location string, topicTypeName string, filter string, top *int32) (*http.Request, error)

ListRegionalBySubscriptionForTopicTypePreparer prepares the ListRegionalBySubscriptionForTopicType request.

func (EventSubscriptionsClient) ListRegionalBySubscriptionForTopicTypeResponder

func (client EventSubscriptionsClient) ListRegionalBySubscriptionForTopicTypeResponder(resp *http.Response) (result EventSubscriptionsListResult, err error)

ListRegionalBySubscriptionForTopicTypeResponder handles the response to the ListRegionalBySubscriptionForTopicType request. The method always closes the http.Response Body.

func (EventSubscriptionsClient) ListRegionalBySubscriptionForTopicTypeSender

func (client EventSubscriptionsClient) ListRegionalBySubscriptionForTopicTypeSender(req *http.Request) (*http.Response, error)

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

func (EventSubscriptionsClient) ListRegionalBySubscriptionPreparer

func (client EventSubscriptionsClient) ListRegionalBySubscriptionPreparer(ctx context.Context, location string, filter string, top *int32) (*http.Request, error)

ListRegionalBySubscriptionPreparer prepares the ListRegionalBySubscription request.

func (EventSubscriptionsClient) ListRegionalBySubscriptionResponder

func (client EventSubscriptionsClient) ListRegionalBySubscriptionResponder(resp *http.Response) (result EventSubscriptionsListResult, err error)

ListRegionalBySubscriptionResponder handles the response to the ListRegionalBySubscription request. The method always closes the http.Response Body.

func (EventSubscriptionsClient) ListRegionalBySubscriptionSender

func (client EventSubscriptionsClient) ListRegionalBySubscriptionSender(req *http.Request) (*http.Response, error)

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

func (EventSubscriptionsClient) Update

func (client EventSubscriptionsClient) Update(ctx context.Context, scope string, eventSubscriptionName string, eventSubscriptionUpdateParameters EventSubscriptionUpdateParameters) (result EventSubscriptionsUpdateFuture, err error)

Update asynchronously updates an existing event subscription. Parameters: scope - the scope of existing event subscription. The scope can be a subscription, or a resource group, or a top level resource belonging to a resource provider namespace, or an EventGrid topic. For example, use '/subscriptions/{subscriptionId}/' for a subscription, '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}' for a resource group, and '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}' for a resource, and '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventGrid/topics/{topicName}' for an EventGrid topic. eventSubscriptionName - name of the event subscription to be updated. eventSubscriptionUpdateParameters - updated event subscription information.

func (EventSubscriptionsClient) UpdatePreparer

func (client EventSubscriptionsClient) UpdatePreparer(ctx context.Context, scope string, eventSubscriptionName string, eventSubscriptionUpdateParameters EventSubscriptionUpdateParameters) (*http.Request, error)

UpdatePreparer prepares the Update request.

func (EventSubscriptionsClient) UpdateResponder

func (client EventSubscriptionsClient) UpdateResponder(resp *http.Response) (result EventSubscription, err error)

UpdateResponder handles the response to the Update request. The method always closes the http.Response Body.

func (EventSubscriptionsClient) UpdateSender

func (client EventSubscriptionsClient) UpdateSender(req *http.Request) (future EventSubscriptionsUpdateFuture, err error)

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

type EventSubscriptionsCreateOrUpdateFuture

type EventSubscriptionsCreateOrUpdateFuture struct {
	azure.FutureAPI
	// Result returns the result of the asynchronous operation.
	// If the operation has not completed it will return an error.
	Result func(EventSubscriptionsClient) (EventSubscription, error)
}

EventSubscriptionsCreateOrUpdateFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*EventSubscriptionsCreateOrUpdateFuture) UnmarshalJSON

func (future *EventSubscriptionsCreateOrUpdateFuture) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type EventSubscriptionsDeleteFuture

type EventSubscriptionsDeleteFuture struct {
	azure.FutureAPI
	// Result returns the result of the asynchronous operation.
	// If the operation has not completed it will return an error.
	Result func(EventSubscriptionsClient) (autorest.Response, error)
}

EventSubscriptionsDeleteFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*EventSubscriptionsDeleteFuture) UnmarshalJSON

func (future *EventSubscriptionsDeleteFuture) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type EventSubscriptionsListResult

type EventSubscriptionsListResult struct {
	autorest.Response `json:"-"`
	// Value - A collection of EventSubscriptions
	Value *[]EventSubscription `json:"value,omitempty"`
	// NextLink - A link for the next page of event subscriptions
	NextLink *string `json:"nextLink,omitempty"`
}

EventSubscriptionsListResult result of the List EventSubscriptions operation

func (EventSubscriptionsListResult) IsEmpty

func (eslr EventSubscriptionsListResult) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type EventSubscriptionsListResultIterator

type EventSubscriptionsListResultIterator struct {
	// contains filtered or unexported fields
}

EventSubscriptionsListResultIterator provides access to a complete listing of EventSubscription values.

func NewEventSubscriptionsListResultIterator

func NewEventSubscriptionsListResultIterator(page EventSubscriptionsListResultPage) EventSubscriptionsListResultIterator

Creates a new instance of the EventSubscriptionsListResultIterator type.

func (*EventSubscriptionsListResultIterator) Next

Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*EventSubscriptionsListResultIterator) NextWithContext

func (iter *EventSubscriptionsListResultIterator) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.

func (EventSubscriptionsListResultIterator) NotDone

NotDone returns true if the enumeration should be started or is not yet complete.

func (EventSubscriptionsListResultIterator) Response

Response returns the raw server response from the last page request.

func (EventSubscriptionsListResultIterator) Value

Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.

type EventSubscriptionsListResultPage

type EventSubscriptionsListResultPage struct {
	// contains filtered or unexported fields
}

EventSubscriptionsListResultPage contains a page of EventSubscription values.

func NewEventSubscriptionsListResultPage

Creates a new instance of the EventSubscriptionsListResultPage type.

func (*EventSubscriptionsListResultPage) Next

Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*EventSubscriptionsListResultPage) NextWithContext

func (page *EventSubscriptionsListResultPage) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.

func (EventSubscriptionsListResultPage) NotDone

func (page EventSubscriptionsListResultPage) NotDone() bool

NotDone returns true if the page enumeration should be started or is not yet complete.

func (EventSubscriptionsListResultPage) Response

Response returns the raw server response from the last page request.

func (EventSubscriptionsListResultPage) Values

Values returns the slice of values for the current page or nil if there are no values.

type EventSubscriptionsUpdateFuture

type EventSubscriptionsUpdateFuture struct {
	azure.FutureAPI
	// Result returns the result of the asynchronous operation.
	// If the operation has not completed it will return an error.
	Result func(EventSubscriptionsClient) (EventSubscription, error)
}

EventSubscriptionsUpdateFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*EventSubscriptionsUpdateFuture) UnmarshalJSON

func (future *EventSubscriptionsUpdateFuture) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type EventType

type EventType struct {
	// EventTypeProperties - Properties of the event type.
	*EventTypeProperties `json:"properties,omitempty"`
	// ID - READ-ONLY; Fully qualified identifier of the resource.
	ID *string `json:"id,omitempty"`
	// Name - READ-ONLY; Name of the resource.
	Name *string `json:"name,omitempty"`
	// Type - READ-ONLY; Type of the resource.
	Type *string `json:"type,omitempty"`
}

EventType event Type for a subject under a topic

func (EventType) MarshalJSON

func (et EventType) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for EventType.

func (*EventType) UnmarshalJSON

func (et *EventType) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for EventType struct.

type EventTypeInfo

type EventTypeInfo struct {
	// Kind - The kind of event type used. Possible values include: 'EventDefinitionKindInline'
	Kind EventDefinitionKind `json:"kind,omitempty"`
	// InlineEventTypes - A collection of inline event types for the resource. The inline event type keys are of type string which represents the name of the event.
	// An example of a valid inline event name is "Contoso.OrderCreated".
	// The inline event type values are of type InlineEventProperties and will contain additional information for every inline event type.
	InlineEventTypes map[string]*InlineEventProperties `json:"inlineEventTypes"`
}

EventTypeInfo the event type information for Channels.

func (EventTypeInfo) MarshalJSON

func (eti EventTypeInfo) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for EventTypeInfo.

type EventTypeProperties

type EventTypeProperties struct {
	// DisplayName - Display name of the event type.
	DisplayName *string `json:"displayName,omitempty"`
	// Description - Description of the event type.
	Description *string `json:"description,omitempty"`
	// SchemaURL - Url of the schema for this event type.
	SchemaURL *string `json:"schemaUrl,omitempty"`
	// IsInDefaultSet - IsInDefaultSet flag of the event type.
	IsInDefaultSet *bool `json:"isInDefaultSet,omitempty"`
}

EventTypeProperties properties of the event type

type EventTypesListResult

type EventTypesListResult struct {
	autorest.Response `json:"-"`
	// Value - A collection of event types
	Value *[]EventType `json:"value,omitempty"`
}

EventTypesListResult result of the List Event Types operation

type ExtendedLocation

type ExtendedLocation struct {
	// Name - Fully qualified name of the extended location.
	Name *string `json:"name,omitempty"`
	// Type - Type of the extended location.
	Type *string `json:"type,omitempty"`
}

ExtendedLocation definition of an Extended Location

type ExtensionTopic

type ExtensionTopic struct {
	autorest.Response `json:"-"`
	// ExtensionTopicProperties - Properties of the extension topic
	*ExtensionTopicProperties `json:"properties,omitempty"`
	// SystemData - READ-ONLY; The system metadata relating to Extension Topic resource.
	SystemData *SystemData `json:"systemData,omitempty"`
	// ID - READ-ONLY; Fully qualified identifier of the resource.
	ID *string `json:"id,omitempty"`
	// Name - READ-ONLY; Name of the resource.
	Name *string `json:"name,omitempty"`
	// Type - READ-ONLY; Type of the resource.
	Type *string `json:"type,omitempty"`
}

ExtensionTopic event grid Extension Topic. This is used for getting Event Grid related metrics for Azure resources.

func (ExtensionTopic) MarshalJSON

func (et ExtensionTopic) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ExtensionTopic.

func (*ExtensionTopic) UnmarshalJSON

func (et *ExtensionTopic) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for ExtensionTopic struct.

type ExtensionTopicProperties

type ExtensionTopicProperties struct {
	// Description - Description of the extension topic.
	Description *string `json:"description,omitempty"`
	// SystemTopic - System topic resource id which is mapped to the source.
	SystemTopic *string `json:"systemTopic,omitempty"`
}

ExtensionTopicProperties properties of the Extension Topic

type ExtensionTopicsClient

type ExtensionTopicsClient struct {
	BaseClient
}

ExtensionTopicsClient is the azure EventGrid Management Client

func NewExtensionTopicsClient

func NewExtensionTopicsClient(subscriptionID string) ExtensionTopicsClient

NewExtensionTopicsClient creates an instance of the ExtensionTopicsClient client.

func NewExtensionTopicsClientWithBaseURI

func NewExtensionTopicsClientWithBaseURI(baseURI string, subscriptionID string) ExtensionTopicsClient

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

func (ExtensionTopicsClient) Get

func (client ExtensionTopicsClient) Get(ctx context.Context, scope string) (result ExtensionTopic, err error)

Get get the properties of an extension topic. Parameters: scope - the identifier of the resource to which extension topic is queried. The scope can be a subscription, or a resource group, or a top level resource belonging to a resource provider namespace. For example, use '/subscriptions/{subscriptionId}/' for a subscription, '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}' for a resource group, and '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}' for Azure resource.

func (ExtensionTopicsClient) GetPreparer

func (client ExtensionTopicsClient) GetPreparer(ctx context.Context, scope string) (*http.Request, error)

GetPreparer prepares the Get request.

func (ExtensionTopicsClient) GetResponder

func (client ExtensionTopicsClient) GetResponder(resp *http.Response) (result ExtensionTopic, err error)

GetResponder handles the response to the Get request. The method always closes the http.Response Body.

func (ExtensionTopicsClient) GetSender

func (client ExtensionTopicsClient) GetSender(req *http.Request) (*http.Response, error)

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

type HybridConnectionEventSubscriptionDestination

type HybridConnectionEventSubscriptionDestination struct {
	// HybridConnectionEventSubscriptionDestinationProperties - Hybrid connection Properties of the event subscription destination.
	*HybridConnectionEventSubscriptionDestinationProperties `json:"properties,omitempty"`
	// EndpointType - Possible values include: 'EndpointTypeBasicEventSubscriptionDestinationEndpointTypeEventSubscriptionDestination', 'EndpointTypeBasicEventSubscriptionDestinationEndpointTypeWebHook', 'EndpointTypeBasicEventSubscriptionDestinationEndpointTypeEventHub', 'EndpointTypeBasicEventSubscriptionDestinationEndpointTypeStorageQueue', 'EndpointTypeBasicEventSubscriptionDestinationEndpointTypeHybridConnection', 'EndpointTypeBasicEventSubscriptionDestinationEndpointTypeServiceBusQueue', 'EndpointTypeBasicEventSubscriptionDestinationEndpointTypeServiceBusTopic', 'EndpointTypeBasicEventSubscriptionDestinationEndpointTypeAzureFunction', 'EndpointTypeBasicEventSubscriptionDestinationEndpointTypePartnerDestination'
	EndpointType EndpointTypeBasicEventSubscriptionDestination `json:"endpointType,omitempty"`
}

HybridConnectionEventSubscriptionDestination information about the HybridConnection destination for an event subscription.

func (HybridConnectionEventSubscriptionDestination) AsAzureFunctionEventSubscriptionDestination

func (hcesd HybridConnectionEventSubscriptionDestination) AsAzureFunctionEventSubscriptionDestination() (*AzureFunctionEventSubscriptionDestination, bool)

AsAzureFunctionEventSubscriptionDestination is the BasicEventSubscriptionDestination implementation for HybridConnectionEventSubscriptionDestination.

func (HybridConnectionEventSubscriptionDestination) AsBasicEventSubscriptionDestination

func (hcesd HybridConnectionEventSubscriptionDestination) AsBasicEventSubscriptionDestination() (BasicEventSubscriptionDestination, bool)

AsBasicEventSubscriptionDestination is the BasicEventSubscriptionDestination implementation for HybridConnectionEventSubscriptionDestination.

func (HybridConnectionEventSubscriptionDestination) AsEventHubEventSubscriptionDestination

func (hcesd HybridConnectionEventSubscriptionDestination) AsEventHubEventSubscriptionDestination() (*EventHubEventSubscriptionDestination, bool)

AsEventHubEventSubscriptionDestination is the BasicEventSubscriptionDestination implementation for HybridConnectionEventSubscriptionDestination.

func (HybridConnectionEventSubscriptionDestination) AsEventSubscriptionDestination

func (hcesd HybridConnectionEventSubscriptionDestination) AsEventSubscriptionDestination() (*EventSubscriptionDestination, bool)

AsEventSubscriptionDestination is the BasicEventSubscriptionDestination implementation for HybridConnectionEventSubscriptionDestination.

func (HybridConnectionEventSubscriptionDestination) AsHybridConnectionEventSubscriptionDestination

func (hcesd HybridConnectionEventSubscriptionDestination) AsHybridConnectionEventSubscriptionDestination() (*HybridConnectionEventSubscriptionDestination, bool)

AsHybridConnectionEventSubscriptionDestination is the BasicEventSubscriptionDestination implementation for HybridConnectionEventSubscriptionDestination.

func (HybridConnectionEventSubscriptionDestination) AsPartnerEventSubscriptionDestination

func (hcesd HybridConnectionEventSubscriptionDestination) AsPartnerEventSubscriptionDestination() (*PartnerEventSubscriptionDestination, bool)

AsPartnerEventSubscriptionDestination is the BasicEventSubscriptionDestination implementation for HybridConnectionEventSubscriptionDestination.

func (HybridConnectionEventSubscriptionDestination) AsServiceBusQueueEventSubscriptionDestination

func (hcesd HybridConnectionEventSubscriptionDestination) AsServiceBusQueueEventSubscriptionDestination() (*ServiceBusQueueEventSubscriptionDestination, bool)

AsServiceBusQueueEventSubscriptionDestination is the BasicEventSubscriptionDestination implementation for HybridConnectionEventSubscriptionDestination.

func (HybridConnectionEventSubscriptionDestination) AsServiceBusTopicEventSubscriptionDestination

func (hcesd HybridConnectionEventSubscriptionDestination) AsServiceBusTopicEventSubscriptionDestination() (*ServiceBusTopicEventSubscriptionDestination, bool)

AsServiceBusTopicEventSubscriptionDestination is the BasicEventSubscriptionDestination implementation for HybridConnectionEventSubscriptionDestination.

func (HybridConnectionEventSubscriptionDestination) AsStorageQueueEventSubscriptionDestination

func (hcesd HybridConnectionEventSubscriptionDestination) AsStorageQueueEventSubscriptionDestination() (*StorageQueueEventSubscriptionDestination, bool)

AsStorageQueueEventSubscriptionDestination is the BasicEventSubscriptionDestination implementation for HybridConnectionEventSubscriptionDestination.

func (HybridConnectionEventSubscriptionDestination) AsWebHookEventSubscriptionDestination

func (hcesd HybridConnectionEventSubscriptionDestination) AsWebHookEventSubscriptionDestination() (*WebHookEventSubscriptionDestination, bool)

AsWebHookEventSubscriptionDestination is the BasicEventSubscriptionDestination implementation for HybridConnectionEventSubscriptionDestination.

func (HybridConnectionEventSubscriptionDestination) MarshalJSON

func (hcesd HybridConnectionEventSubscriptionDestination) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for HybridConnectionEventSubscriptionDestination.

func (*HybridConnectionEventSubscriptionDestination) UnmarshalJSON

func (hcesd *HybridConnectionEventSubscriptionDestination) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for HybridConnectionEventSubscriptionDestination struct.

type HybridConnectionEventSubscriptionDestinationProperties

type HybridConnectionEventSubscriptionDestinationProperties struct {
	// ResourceID - The Azure Resource ID of an hybrid connection that is the destination of an event subscription.
	ResourceID *string `json:"resourceId,omitempty"`
	// DeliveryAttributeMappings - Delivery attribute details.
	DeliveryAttributeMappings *[]BasicDeliveryAttributeMapping `json:"deliveryAttributeMappings,omitempty"`
}

HybridConnectionEventSubscriptionDestinationProperties the properties for a hybrid connection destination.

func (*HybridConnectionEventSubscriptionDestinationProperties) UnmarshalJSON

UnmarshalJSON is the custom unmarshaler for HybridConnectionEventSubscriptionDestinationProperties struct.

type IPActionType

type IPActionType string

IPActionType enumerates the values for ip action type.

const (
	// IPActionTypeAllow ...
	IPActionTypeAllow IPActionType = "Allow"
)

func PossibleIPActionTypeValues

func PossibleIPActionTypeValues() []IPActionType

PossibleIPActionTypeValues returns an array of possible values for the IPActionType const type.

type IdentityInfo

type IdentityInfo struct {
	// Type - The type of managed identity used. The type 'SystemAssigned, UserAssigned' includes both an implicitly created identity and a set of user-assigned identities. The type 'None' will remove any identity. Possible values include: 'IdentityTypeNone', 'IdentityTypeSystemAssigned', 'IdentityTypeUserAssigned', 'IdentityTypeSystemAssignedUserAssigned'
	Type IdentityType `json:"type,omitempty"`
	// PrincipalID - The principal ID of resource identity.
	PrincipalID *string `json:"principalId,omitempty"`
	// TenantID - The tenant ID of resource.
	TenantID *string `json:"tenantId,omitempty"`
	// UserAssignedIdentities - The list of user identities associated with the resource. The user identity dictionary key references will be ARM resource ids in the form:
	// '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'.
	// This property is currently not used and reserved for future usage.
	UserAssignedIdentities map[string]*UserIdentityProperties `json:"userAssignedIdentities"`
}

IdentityInfo the identity information for the resource.

func (IdentityInfo) MarshalJSON

func (ii IdentityInfo) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for IdentityInfo.

type IdentityType

type IdentityType string

IdentityType enumerates the values for identity type.

const (
	// IdentityTypeNone ...
	IdentityTypeNone IdentityType = "None"
	// IdentityTypeSystemAssigned ...
	IdentityTypeSystemAssigned IdentityType = "SystemAssigned"
	// IdentityTypeSystemAssignedUserAssigned ...
	IdentityTypeSystemAssignedUserAssigned IdentityType = "SystemAssigned, UserAssigned"
	// IdentityTypeUserAssigned ...
	IdentityTypeUserAssigned IdentityType = "UserAssigned"
)

func PossibleIdentityTypeValues

func PossibleIdentityTypeValues() []IdentityType

PossibleIdentityTypeValues returns an array of possible values for the IdentityType const type.

type InboundIPRule

type InboundIPRule struct {
	// IPMask - IP Address in CIDR notation e.g., 10.0.0.0/8.
	IPMask *string `json:"ipMask,omitempty"`
	// Action - Action to perform based on the match or no match of the IpMask. Possible values include: 'IPActionTypeAllow'
	Action IPActionType `json:"action,omitempty"`
}

InboundIPRule ...

type InlineEventProperties

type InlineEventProperties struct {
	// Description - The description for the inline event.
	Description *string `json:"description,omitempty"`
	// DocumentationURL - The documentationUrl for the inline event.
	DocumentationURL *string `json:"documentationUrl,omitempty"`
	// DataSchemaURL - The dataSchemaUrl for the inline event.
	DataSchemaURL *string `json:"dataSchemaUrl,omitempty"`
}

InlineEventProperties additional information about every inline event.

type InputSchema

type InputSchema string

InputSchema enumerates the values for input schema.

const (
	// InputSchemaCloudEventSchemaV10 ...
	InputSchemaCloudEventSchemaV10 InputSchema = "CloudEventSchemaV1_0"
	// InputSchemaCustomEventSchema ...
	InputSchemaCustomEventSchema InputSchema = "CustomEventSchema"
	// InputSchemaEventGridSchema ...
	InputSchemaEventGridSchema InputSchema = "EventGridSchema"
)

func PossibleInputSchemaValues

func PossibleInputSchemaValues() []InputSchema

PossibleInputSchemaValues returns an array of possible values for the InputSchema const type.

type InputSchemaMapping

type InputSchemaMapping struct {
	// InputSchemaMappingType - Possible values include: 'InputSchemaMappingTypeInputSchemaMapping', 'InputSchemaMappingTypeJSON'
	InputSchemaMappingType InputSchemaMappingType `json:"inputSchemaMappingType,omitempty"`
}

InputSchemaMapping 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'.

func (InputSchemaMapping) AsBasicInputSchemaMapping

func (ism InputSchemaMapping) AsBasicInputSchemaMapping() (BasicInputSchemaMapping, bool)

AsBasicInputSchemaMapping is the BasicInputSchemaMapping implementation for InputSchemaMapping.

func (InputSchemaMapping) AsInputSchemaMapping

func (ism InputSchemaMapping) AsInputSchemaMapping() (*InputSchemaMapping, bool)

AsInputSchemaMapping is the BasicInputSchemaMapping implementation for InputSchemaMapping.

func (InputSchemaMapping) AsJSONInputSchemaMapping

func (ism InputSchemaMapping) AsJSONInputSchemaMapping() (*JSONInputSchemaMapping, bool)

AsJSONInputSchemaMapping is the BasicInputSchemaMapping implementation for InputSchemaMapping.

func (InputSchemaMapping) MarshalJSON

func (ism InputSchemaMapping) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for InputSchemaMapping.

type InputSchemaMappingType

type InputSchemaMappingType string

InputSchemaMappingType enumerates the values for input schema mapping type.

const (
	// InputSchemaMappingTypeInputSchemaMapping ...
	InputSchemaMappingTypeInputSchemaMapping InputSchemaMappingType = "InputSchemaMapping"
	// InputSchemaMappingTypeJSON ...
	InputSchemaMappingTypeJSON InputSchemaMappingType = "Json"
)

func PossibleInputSchemaMappingTypeValues

func PossibleInputSchemaMappingTypeValues() []InputSchemaMappingType

PossibleInputSchemaMappingTypeValues returns an array of possible values for the InputSchemaMappingType const type.

type IsNotNullAdvancedFilter

type IsNotNullAdvancedFilter 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"`
}

IsNotNullAdvancedFilter isNotNull Advanced Filter.

func (IsNotNullAdvancedFilter) AsAdvancedFilter

func (innaf IsNotNullAdvancedFilter) AsAdvancedFilter() (*AdvancedFilter, bool)

AsAdvancedFilter is the BasicAdvancedFilter implementation for IsNotNullAdvancedFilter.

func (IsNotNullAdvancedFilter) AsBasicAdvancedFilter

func (innaf IsNotNullAdvancedFilter) AsBasicAdvancedFilter() (BasicAdvancedFilter, bool)

AsBasicAdvancedFilter is the BasicAdvancedFilter implementation for IsNotNullAdvancedFilter.

func (IsNotNullAdvancedFilter) AsBoolEqualsAdvancedFilter

func (innaf IsNotNullAdvancedFilter) AsBoolEqualsAdvancedFilter() (*BoolEqualsAdvancedFilter, bool)

AsBoolEqualsAdvancedFilter is the BasicAdvancedFilter implementation for IsNotNullAdvancedFilter.

func (IsNotNullAdvancedFilter) AsIsNotNullAdvancedFilter

func (innaf IsNotNullAdvancedFilter) AsIsNotNullAdvancedFilter() (*IsNotNullAdvancedFilter, bool)

AsIsNotNullAdvancedFilter is the BasicAdvancedFilter implementation for IsNotNullAdvancedFilter.

func (IsNotNullAdvancedFilter) AsIsNullOrUndefinedAdvancedFilter

func (innaf IsNotNullAdvancedFilter) AsIsNullOrUndefinedAdvancedFilter() (*IsNullOrUndefinedAdvancedFilter, bool)

AsIsNullOrUndefinedAdvancedFilter is the BasicAdvancedFilter implementation for IsNotNullAdvancedFilter.

func (IsNotNullAdvancedFilter) AsNumberGreaterThanAdvancedFilter

func (innaf IsNotNullAdvancedFilter) AsNumberGreaterThanAdvancedFilter() (*NumberGreaterThanAdvancedFilter, bool)

AsNumberGreaterThanAdvancedFilter is the BasicAdvancedFilter implementation for IsNotNullAdvancedFilter.

func (IsNotNullAdvancedFilter) AsNumberGreaterThanOrEqualsAdvancedFilter

func (innaf IsNotNullAdvancedFilter) AsNumberGreaterThanOrEqualsAdvancedFilter() (*NumberGreaterThanOrEqualsAdvancedFilter, bool)

AsNumberGreaterThanOrEqualsAdvancedFilter is the BasicAdvancedFilter implementation for IsNotNullAdvancedFilter.

func (IsNotNullAdvancedFilter) AsNumberInAdvancedFilter

func (innaf IsNotNullAdvancedFilter) AsNumberInAdvancedFilter() (*NumberInAdvancedFilter, bool)

AsNumberInAdvancedFilter is the BasicAdvancedFilter implementation for IsNotNullAdvancedFilter.

func (IsNotNullAdvancedFilter) AsNumberInRangeAdvancedFilter

func (innaf IsNotNullAdvancedFilter) AsNumberInRangeAdvancedFilter() (*NumberInRangeAdvancedFilter, bool)

AsNumberInRangeAdvancedFilter is the BasicAdvancedFilter implementation for IsNotNullAdvancedFilter.

func (IsNotNullAdvancedFilter) AsNumberLessThanAdvancedFilter

func (innaf IsNotNullAdvancedFilter) AsNumberLessThanAdvancedFilter() (*NumberLessThanAdvancedFilter, bool)

AsNumberLessThanAdvancedFilter is the BasicAdvancedFilter implementation for IsNotNullAdvancedFilter.

func (IsNotNullAdvancedFilter) AsNumberLessThanOrEqualsAdvancedFilter

func (innaf IsNotNullAdvancedFilter) AsNumberLessThanOrEqualsAdvancedFilter() (*NumberLessThanOrEqualsAdvancedFilter, bool)

AsNumberLessThanOrEqualsAdvancedFilter is the BasicAdvancedFilter implementation for IsNotNullAdvancedFilter.

func (IsNotNullAdvancedFilter) AsNumberNotInAdvancedFilter

func (innaf IsNotNullAdvancedFilter) AsNumberNotInAdvancedFilter() (*NumberNotInAdvancedFilter, bool)

AsNumberNotInAdvancedFilter is the BasicAdvancedFilter implementation for IsNotNullAdvancedFilter.

func (IsNotNullAdvancedFilter) AsNumberNotInRangeAdvancedFilter

func (innaf IsNotNullAdvancedFilter) AsNumberNotInRangeAdvancedFilter() (*NumberNotInRangeAdvancedFilter, bool)

AsNumberNotInRangeAdvancedFilter is the BasicAdvancedFilter implementation for IsNotNullAdvancedFilter.

func (IsNotNullAdvancedFilter) AsStringBeginsWithAdvancedFilter

func (innaf IsNotNullAdvancedFilter) AsStringBeginsWithAdvancedFilter() (*StringBeginsWithAdvancedFilter, bool)

AsStringBeginsWithAdvancedFilter is the BasicAdvancedFilter implementation for IsNotNullAdvancedFilter.

func (IsNotNullAdvancedFilter) AsStringContainsAdvancedFilter

func (innaf IsNotNullAdvancedFilter) AsStringContainsAdvancedFilter() (*StringContainsAdvancedFilter, bool)

AsStringContainsAdvancedFilter is the BasicAdvancedFilter implementation for IsNotNullAdvancedFilter.

func (IsNotNullAdvancedFilter) AsStringEndsWithAdvancedFilter

func (innaf IsNotNullAdvancedFilter) AsStringEndsWithAdvancedFilter() (*StringEndsWithAdvancedFilter, bool)

AsStringEndsWithAdvancedFilter is the BasicAdvancedFilter implementation for IsNotNullAdvancedFilter.

func (IsNotNullAdvancedFilter) AsStringInAdvancedFilter

func (innaf IsNotNullAdvancedFilter) AsStringInAdvancedFilter() (*StringInAdvancedFilter, bool)

AsStringInAdvancedFilter is the BasicAdvancedFilter implementation for IsNotNullAdvancedFilter.

func (IsNotNullAdvancedFilter) AsStringNotBeginsWithAdvancedFilter

func (innaf IsNotNullAdvancedFilter) AsStringNotBeginsWithAdvancedFilter() (*StringNotBeginsWithAdvancedFilter, bool)

AsStringNotBeginsWithAdvancedFilter is the BasicAdvancedFilter implementation for IsNotNullAdvancedFilter.

func (IsNotNullAdvancedFilter) AsStringNotContainsAdvancedFilter

func (innaf IsNotNullAdvancedFilter) AsStringNotContainsAdvancedFilter() (*StringNotContainsAdvancedFilter, bool)

AsStringNotContainsAdvancedFilter is the BasicAdvancedFilter implementation for IsNotNullAdvancedFilter.

func (IsNotNullAdvancedFilter) AsStringNotEndsWithAdvancedFilter

func (innaf IsNotNullAdvancedFilter) AsStringNotEndsWithAdvancedFilter() (*StringNotEndsWithAdvancedFilter, bool)

AsStringNotEndsWithAdvancedFilter is the BasicAdvancedFilter implementation for IsNotNullAdvancedFilter.

func (IsNotNullAdvancedFilter) AsStringNotInAdvancedFilter

func (innaf IsNotNullAdvancedFilter) AsStringNotInAdvancedFilter() (*StringNotInAdvancedFilter, bool)

AsStringNotInAdvancedFilter is the BasicAdvancedFilter implementation for IsNotNullAdvancedFilter.

func (IsNotNullAdvancedFilter) MarshalJSON

func (innaf IsNotNullAdvancedFilter) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for IsNotNullAdvancedFilter.

type IsNullOrUndefinedAdvancedFilter

type IsNullOrUndefinedAdvancedFilter 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"`
}

IsNullOrUndefinedAdvancedFilter isNullOrUndefined Advanced Filter.

func (IsNullOrUndefinedAdvancedFilter) AsAdvancedFilter

func (inouaf IsNullOrUndefinedAdvancedFilter) AsAdvancedFilter() (*AdvancedFilter, bool)

AsAdvancedFilter is the BasicAdvancedFilter implementation for IsNullOrUndefinedAdvancedFilter.

func (IsNullOrUndefinedAdvancedFilter) AsBasicAdvancedFilter

func (inouaf IsNullOrUndefinedAdvancedFilter) AsBasicAdvancedFilter() (BasicAdvancedFilter, bool)

AsBasicAdvancedFilter is the BasicAdvancedFilter implementation for IsNullOrUndefinedAdvancedFilter.

func (IsNullOrUndefinedAdvancedFilter) AsBoolEqualsAdvancedFilter

func (inouaf IsNullOrUndefinedAdvancedFilter) AsBoolEqualsAdvancedFilter() (*BoolEqualsAdvancedFilter, bool)

AsBoolEqualsAdvancedFilter is the BasicAdvancedFilter implementation for IsNullOrUndefinedAdvancedFilter.

func (IsNullOrUndefinedAdvancedFilter) AsIsNotNullAdvancedFilter

func (inouaf IsNullOrUndefinedAdvancedFilter) AsIsNotNullAdvancedFilter() (*IsNotNullAdvancedFilter, bool)

AsIsNotNullAdvancedFilter is the BasicAdvancedFilter implementation for IsNullOrUndefinedAdvancedFilter.

func (IsNullOrUndefinedAdvancedFilter) AsIsNullOrUndefinedAdvancedFilter

func (inouaf IsNullOrUndefinedAdvancedFilter) AsIsNullOrUndefinedAdvancedFilter() (*IsNullOrUndefinedAdvancedFilter, bool)

AsIsNullOrUndefinedAdvancedFilter is the BasicAdvancedFilter implementation for IsNullOrUndefinedAdvancedFilter.

func (IsNullOrUndefinedAdvancedFilter) AsNumberGreaterThanAdvancedFilter

func (inouaf IsNullOrUndefinedAdvancedFilter) AsNumberGreaterThanAdvancedFilter() (*NumberGreaterThanAdvancedFilter, bool)

AsNumberGreaterThanAdvancedFilter is the BasicAdvancedFilter implementation for IsNullOrUndefinedAdvancedFilter.

func (IsNullOrUndefinedAdvancedFilter) AsNumberGreaterThanOrEqualsAdvancedFilter

func (inouaf IsNullOrUndefinedAdvancedFilter) AsNumberGreaterThanOrEqualsAdvancedFilter() (*NumberGreaterThanOrEqualsAdvancedFilter, bool)

AsNumberGreaterThanOrEqualsAdvancedFilter is the BasicAdvancedFilter implementation for IsNullOrUndefinedAdvancedFilter.

func (IsNullOrUndefinedAdvancedFilter) AsNumberInAdvancedFilter

func (inouaf IsNullOrUndefinedAdvancedFilter) AsNumberInAdvancedFilter() (*NumberInAdvancedFilter, bool)

AsNumberInAdvancedFilter is the BasicAdvancedFilter implementation for IsNullOrUndefinedAdvancedFilter.

func (IsNullOrUndefinedAdvancedFilter) AsNumberInRangeAdvancedFilter

func (inouaf IsNullOrUndefinedAdvancedFilter) AsNumberInRangeAdvancedFilter() (*NumberInRangeAdvancedFilter, bool)

AsNumberInRangeAdvancedFilter is the BasicAdvancedFilter implementation for IsNullOrUndefinedAdvancedFilter.

func (IsNullOrUndefinedAdvancedFilter) AsNumberLessThanAdvancedFilter

func (inouaf IsNullOrUndefinedAdvancedFilter) AsNumberLessThanAdvancedFilter() (*NumberLessThanAdvancedFilter, bool)

AsNumberLessThanAdvancedFilter is the BasicAdvancedFilter implementation for IsNullOrUndefinedAdvancedFilter.

func (IsNullOrUndefinedAdvancedFilter) AsNumberLessThanOrEqualsAdvancedFilter

func (inouaf IsNullOrUndefinedAdvancedFilter) AsNumberLessThanOrEqualsAdvancedFilter() (*NumberLessThanOrEqualsAdvancedFilter, bool)

AsNumberLessThanOrEqualsAdvancedFilter is the BasicAdvancedFilter implementation for IsNullOrUndefinedAdvancedFilter.

func (IsNullOrUndefinedAdvancedFilter) AsNumberNotInAdvancedFilter

func (inouaf IsNullOrUndefinedAdvancedFilter) AsNumberNotInAdvancedFilter() (*NumberNotInAdvancedFilter, bool)

AsNumberNotInAdvancedFilter is the BasicAdvancedFilter implementation for IsNullOrUndefinedAdvancedFilter.

func (IsNullOrUndefinedAdvancedFilter) AsNumberNotInRangeAdvancedFilter

func (inouaf IsNullOrUndefinedAdvancedFilter) AsNumberNotInRangeAdvancedFilter() (*NumberNotInRangeAdvancedFilter, bool)

AsNumberNotInRangeAdvancedFilter is the BasicAdvancedFilter implementation for IsNullOrUndefinedAdvancedFilter.

func (IsNullOrUndefinedAdvancedFilter) AsStringBeginsWithAdvancedFilter

func (inouaf IsNullOrUndefinedAdvancedFilter) AsStringBeginsWithAdvancedFilter() (*StringBeginsWithAdvancedFilter, bool)

AsStringBeginsWithAdvancedFilter is the BasicAdvancedFilter implementation for IsNullOrUndefinedAdvancedFilter.

func (IsNullOrUndefinedAdvancedFilter) AsStringContainsAdvancedFilter

func (inouaf IsNullOrUndefinedAdvancedFilter) AsStringContainsAdvancedFilter() (*StringContainsAdvancedFilter, bool)

AsStringContainsAdvancedFilter is the BasicAdvancedFilter implementation for IsNullOrUndefinedAdvancedFilter.

func (IsNullOrUndefinedAdvancedFilter) AsStringEndsWithAdvancedFilter

func (inouaf IsNullOrUndefinedAdvancedFilter) AsStringEndsWithAdvancedFilter() (*StringEndsWithAdvancedFilter, bool)

AsStringEndsWithAdvancedFilter is the BasicAdvancedFilter implementation for IsNullOrUndefinedAdvancedFilter.

func (IsNullOrUndefinedAdvancedFilter) AsStringInAdvancedFilter

func (inouaf IsNullOrUndefinedAdvancedFilter) AsStringInAdvancedFilter() (*StringInAdvancedFilter, bool)

AsStringInAdvancedFilter is the BasicAdvancedFilter implementation for IsNullOrUndefinedAdvancedFilter.

func (IsNullOrUndefinedAdvancedFilter) AsStringNotBeginsWithAdvancedFilter

func (inouaf IsNullOrUndefinedAdvancedFilter) AsStringNotBeginsWithAdvancedFilter() (*StringNotBeginsWithAdvancedFilter, bool)

AsStringNotBeginsWithAdvancedFilter is the BasicAdvancedFilter implementation for IsNullOrUndefinedAdvancedFilter.

func (IsNullOrUndefinedAdvancedFilter) AsStringNotContainsAdvancedFilter

func (inouaf IsNullOrUndefinedAdvancedFilter) AsStringNotContainsAdvancedFilter() (*StringNotContainsAdvancedFilter, bool)

AsStringNotContainsAdvancedFilter is the BasicAdvancedFilter implementation for IsNullOrUndefinedAdvancedFilter.

func (IsNullOrUndefinedAdvancedFilter) AsStringNotEndsWithAdvancedFilter

func (inouaf IsNullOrUndefinedAdvancedFilter) AsStringNotEndsWithAdvancedFilter() (*StringNotEndsWithAdvancedFilter, bool)

AsStringNotEndsWithAdvancedFilter is the BasicAdvancedFilter implementation for IsNullOrUndefinedAdvancedFilter.

func (IsNullOrUndefinedAdvancedFilter) AsStringNotInAdvancedFilter

func (inouaf IsNullOrUndefinedAdvancedFilter) AsStringNotInAdvancedFilter() (*StringNotInAdvancedFilter, bool)

AsStringNotInAdvancedFilter is the BasicAdvancedFilter implementation for IsNullOrUndefinedAdvancedFilter.

func (IsNullOrUndefinedAdvancedFilter) MarshalJSON

func (inouaf IsNullOrUndefinedAdvancedFilter) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for IsNullOrUndefinedAdvancedFilter.

type JSONField

type JSONField struct {
	// SourceField - Name of a field in the input event schema that's to be used as the source of a mapping.
	SourceField *string `json:"sourceField,omitempty"`
}

JSONField this is used to express the source of an input schema mapping for a single target field in the Event Grid Event schema. This is currently used in the mappings for the 'id', 'topic' and 'eventtime' properties. This represents a field in the input event schema.

type JSONFieldWithDefault

type JSONFieldWithDefault struct {
	// SourceField - Name of a field in the input event schema that's to be used as the source of a mapping.
	SourceField *string `json:"sourceField,omitempty"`
	// DefaultValue - The default value to be used for mapping when a SourceField is not provided or if there's no property with the specified name in the published JSON event payload.
	DefaultValue *string `json:"defaultValue,omitempty"`
}

JSONFieldWithDefault this is used to express the source of an input schema mapping for a single target field in the Event Grid Event schema. This is currently used in the mappings for the 'subject', 'eventtype' and 'dataversion' properties. This represents a field in the input event schema along with a default value to be used, and at least one of these two properties should be provided.

type JSONInputSchemaMapping

type JSONInputSchemaMapping struct {
	// JSONInputSchemaMappingProperties - JSON Properties of the input schema mapping
	*JSONInputSchemaMappingProperties `json:"properties,omitempty"`
	// InputSchemaMappingType - Possible values include: 'InputSchemaMappingTypeInputSchemaMapping', 'InputSchemaMappingTypeJSON'
	InputSchemaMappingType InputSchemaMappingType `json:"inputSchemaMappingType,omitempty"`
}

JSONInputSchemaMapping this enables publishing to Event Grid using a custom input schema. This can be used to map properties from a custom input JSON schema to the Event Grid event schema.

func (JSONInputSchemaMapping) AsBasicInputSchemaMapping

func (jism JSONInputSchemaMapping) AsBasicInputSchemaMapping() (BasicInputSchemaMapping, bool)

AsBasicInputSchemaMapping is the BasicInputSchemaMapping implementation for JSONInputSchemaMapping.

func (JSONInputSchemaMapping) AsInputSchemaMapping

func (jism JSONInputSchemaMapping) AsInputSchemaMapping() (*InputSchemaMapping, bool)

AsInputSchemaMapping is the BasicInputSchemaMapping implementation for JSONInputSchemaMapping.

func (JSONInputSchemaMapping) AsJSONInputSchemaMapping

func (jism JSONInputSchemaMapping) AsJSONInputSchemaMapping() (*JSONInputSchemaMapping, bool)

AsJSONInputSchemaMapping is the BasicInputSchemaMapping implementation for JSONInputSchemaMapping.

func (JSONInputSchemaMapping) MarshalJSON

func (jism JSONInputSchemaMapping) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for JSONInputSchemaMapping.

func (*JSONInputSchemaMapping) UnmarshalJSON

func (jism *JSONInputSchemaMapping) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for JSONInputSchemaMapping struct.

type JSONInputSchemaMappingProperties

type JSONInputSchemaMappingProperties struct {
	// ID - The mapping information for the Id property of the Event Grid Event.
	ID *JSONField `json:"id,omitempty"`
	// Topic - The mapping information for the Topic property of the Event Grid Event.
	Topic *JSONField `json:"topic,omitempty"`
	// EventTime - The mapping information for the EventTime property of the Event Grid Event.
	EventTime *JSONField `json:"eventTime,omitempty"`
	// EventType - The mapping information for the EventType property of the Event Grid Event.
	EventType *JSONFieldWithDefault `json:"eventType,omitempty"`
	// Subject - The mapping information for the Subject property of the Event Grid Event.
	Subject *JSONFieldWithDefault `json:"subject,omitempty"`
	// DataVersion - The mapping information for the DataVersion property of the Event Grid Event.
	DataVersion *JSONFieldWithDefault `json:"dataVersion,omitempty"`
}

JSONInputSchemaMappingProperties this can be used to map properties of a source schema (or default values, for certain supported properties) to properties of the EventGridEvent schema.

type NumberGreaterThanAdvancedFilter

type NumberGreaterThanAdvancedFilter struct {
	// Value - The filter value.
	Value *float64 `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"`
}

NumberGreaterThanAdvancedFilter numberGreaterThan Advanced Filter.

func (NumberGreaterThanAdvancedFilter) AsAdvancedFilter

func (ngtaf NumberGreaterThanAdvancedFilter) AsAdvancedFilter() (*AdvancedFilter, bool)

AsAdvancedFilter is the BasicAdvancedFilter implementation for NumberGreaterThanAdvancedFilter.

func (NumberGreaterThanAdvancedFilter) AsBasicAdvancedFilter

func (ngtaf NumberGreaterThanAdvancedFilter) AsBasicAdvancedFilter() (BasicAdvancedFilter, bool)

AsBasicAdvancedFilter is the BasicAdvancedFilter implementation for NumberGreaterThanAdvancedFilter.

func (NumberGreaterThanAdvancedFilter) AsBoolEqualsAdvancedFilter

func (ngtaf NumberGreaterThanAdvancedFilter) AsBoolEqualsAdvancedFilter() (*BoolEqualsAdvancedFilter, bool)

AsBoolEqualsAdvancedFilter is the BasicAdvancedFilter implementation for NumberGreaterThanAdvancedFilter.

func (NumberGreaterThanAdvancedFilter) AsIsNotNullAdvancedFilter

func (ngtaf NumberGreaterThanAdvancedFilter) AsIsNotNullAdvancedFilter() (*IsNotNullAdvancedFilter, bool)

AsIsNotNullAdvancedFilter is the BasicAdvancedFilter implementation for NumberGreaterThanAdvancedFilter.

func (NumberGreaterThanAdvancedFilter) AsIsNullOrUndefinedAdvancedFilter

func (ngtaf NumberGreaterThanAdvancedFilter) AsIsNullOrUndefinedAdvancedFilter() (*IsNullOrUndefinedAdvancedFilter, bool)

AsIsNullOrUndefinedAdvancedFilter is the BasicAdvancedFilter implementation for NumberGreaterThanAdvancedFilter.

func (NumberGreaterThanAdvancedFilter) AsNumberGreaterThanAdvancedFilter

func (ngtaf NumberGreaterThanAdvancedFilter) AsNumberGreaterThanAdvancedFilter() (*NumberGreaterThanAdvancedFilter, bool)

AsNumberGreaterThanAdvancedFilter is the BasicAdvancedFilter implementation for NumberGreaterThanAdvancedFilter.

func (NumberGreaterThanAdvancedFilter) AsNumberGreaterThanOrEqualsAdvancedFilter

func (ngtaf NumberGreaterThanAdvancedFilter) AsNumberGreaterThanOrEqualsAdvancedFilter() (*NumberGreaterThanOrEqualsAdvancedFilter, bool)

AsNumberGreaterThanOrEqualsAdvancedFilter is the BasicAdvancedFilter implementation for NumberGreaterThanAdvancedFilter.

func (NumberGreaterThanAdvancedFilter) AsNumberInAdvancedFilter

func (ngtaf NumberGreaterThanAdvancedFilter) AsNumberInAdvancedFilter() (*NumberInAdvancedFilter, bool)

AsNumberInAdvancedFilter is the BasicAdvancedFilter implementation for NumberGreaterThanAdvancedFilter.

func (NumberGreaterThanAdvancedFilter) AsNumberInRangeAdvancedFilter

func (ngtaf NumberGreaterThanAdvancedFilter) AsNumberInRangeAdvancedFilter() (*NumberInRangeAdvancedFilter, bool)

AsNumberInRangeAdvancedFilter is the BasicAdvancedFilter implementation for NumberGreaterThanAdvancedFilter.

func (NumberGreaterThanAdvancedFilter) AsNumberLessThanAdvancedFilter

func (ngtaf NumberGreaterThanAdvancedFilter) AsNumberLessThanAdvancedFilter() (*NumberLessThanAdvancedFilter, bool)

AsNumberLessThanAdvancedFilter is the BasicAdvancedFilter implementation for NumberGreaterThanAdvancedFilter.

func (NumberGreaterThanAdvancedFilter) AsNumberLessThanOrEqualsAdvancedFilter

func (ngtaf NumberGreaterThanAdvancedFilter) AsNumberLessThanOrEqualsAdvancedFilter() (*NumberLessThanOrEqualsAdvancedFilter, bool)

AsNumberLessThanOrEqualsAdvancedFilter is the BasicAdvancedFilter implementation for NumberGreaterThanAdvancedFilter.

func (NumberGreaterThanAdvancedFilter) AsNumberNotInAdvancedFilter

func (ngtaf NumberGreaterThanAdvancedFilter) AsNumberNotInAdvancedFilter() (*NumberNotInAdvancedFilter, bool)

AsNumberNotInAdvancedFilter is the BasicAdvancedFilter implementation for NumberGreaterThanAdvancedFilter.

func (NumberGreaterThanAdvancedFilter) AsNumberNotInRangeAdvancedFilter

func (ngtaf NumberGreaterThanAdvancedFilter) AsNumberNotInRangeAdvancedFilter() (*NumberNotInRangeAdvancedFilter, bool)

AsNumberNotInRangeAdvancedFilter is the BasicAdvancedFilter implementation for NumberGreaterThanAdvancedFilter.

func (NumberGreaterThanAdvancedFilter) AsStringBeginsWithAdvancedFilter

func (ngtaf NumberGreaterThanAdvancedFilter) AsStringBeginsWithAdvancedFilter() (*StringBeginsWithAdvancedFilter, bool)

AsStringBeginsWithAdvancedFilter is the BasicAdvancedFilter implementation for NumberGreaterThanAdvancedFilter.

func (NumberGreaterThanAdvancedFilter) AsStringContainsAdvancedFilter

func (ngtaf NumberGreaterThanAdvancedFilter) AsStringContainsAdvancedFilter() (*StringContainsAdvancedFilter, bool)

AsStringContainsAdvancedFilter is the BasicAdvancedFilter implementation for NumberGreaterThanAdvancedFilter.

func (NumberGreaterThanAdvancedFilter) AsStringEndsWithAdvancedFilter

func (ngtaf NumberGreaterThanAdvancedFilter) AsStringEndsWithAdvancedFilter() (*StringEndsWithAdvancedFilter, bool)

AsStringEndsWithAdvancedFilter is the BasicAdvancedFilter implementation for NumberGreaterThanAdvancedFilter.

func (NumberGreaterThanAdvancedFilter) AsStringInAdvancedFilter

func (ngtaf NumberGreaterThanAdvancedFilter) AsStringInAdvancedFilter() (*StringInAdvancedFilter, bool)

AsStringInAdvancedFilter is the BasicAdvancedFilter implementation for NumberGreaterThanAdvancedFilter.

func (NumberGreaterThanAdvancedFilter) AsStringNotBeginsWithAdvancedFilter

func (ngtaf NumberGreaterThanAdvancedFilter) AsStringNotBeginsWithAdvancedFilter() (*StringNotBeginsWithAdvancedFilter, bool)

AsStringNotBeginsWithAdvancedFilter is the BasicAdvancedFilter implementation for NumberGreaterThanAdvancedFilter.

func (NumberGreaterThanAdvancedFilter) AsStringNotContainsAdvancedFilter

func (ngtaf NumberGreaterThanAdvancedFilter) AsStringNotContainsAdvancedFilter() (*StringNotContainsAdvancedFilter, bool)

AsStringNotContainsAdvancedFilter is the BasicAdvancedFilter implementation for NumberGreaterThanAdvancedFilter.

func (NumberGreaterThanAdvancedFilter) AsStringNotEndsWithAdvancedFilter

func (ngtaf NumberGreaterThanAdvancedFilter) AsStringNotEndsWithAdvancedFilter() (*StringNotEndsWithAdvancedFilter, bool)

AsStringNotEndsWithAdvancedFilter is the BasicAdvancedFilter implementation for NumberGreaterThanAdvancedFilter.

func (NumberGreaterThanAdvancedFilter) AsStringNotInAdvancedFilter

func (ngtaf NumberGreaterThanAdvancedFilter) AsStringNotInAdvancedFilter() (*StringNotInAdvancedFilter, bool)

AsStringNotInAdvancedFilter is the BasicAdvancedFilter implementation for NumberGreaterThanAdvancedFilter.

func (NumberGreaterThanAdvancedFilter) MarshalJSON

func (ngtaf NumberGreaterThanAdvancedFilter) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for NumberGreaterThanAdvancedFilter.

type NumberGreaterThanOrEqualsAdvancedFilter

type NumberGreaterThanOrEqualsAdvancedFilter struct {
	// Value - The filter value.
	Value *float64 `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"`
}

NumberGreaterThanOrEqualsAdvancedFilter numberGreaterThanOrEquals Advanced Filter.

func (NumberGreaterThanOrEqualsAdvancedFilter) AsAdvancedFilter

func (ngtoeaf NumberGreaterThanOrEqualsAdvancedFilter) AsAdvancedFilter() (*AdvancedFilter, bool)

AsAdvancedFilter is the BasicAdvancedFilter implementation for NumberGreaterThanOrEqualsAdvancedFilter.

func (NumberGreaterThanOrEqualsAdvancedFilter) AsBasicAdvancedFilter

func (ngtoeaf NumberGreaterThanOrEqualsAdvancedFilter) AsBasicAdvancedFilter() (BasicAdvancedFilter, bool)

AsBasicAdvancedFilter is the BasicAdvancedFilter implementation for NumberGreaterThanOrEqualsAdvancedFilter.

func (NumberGreaterThanOrEqualsAdvancedFilter) AsBoolEqualsAdvancedFilter

func (ngtoeaf NumberGreaterThanOrEqualsAdvancedFilter) AsBoolEqualsAdvancedFilter() (*BoolEqualsAdvancedFilter, bool)

AsBoolEqualsAdvancedFilter is the BasicAdvancedFilter implementation for NumberGreaterThanOrEqualsAdvancedFilter.

func (NumberGreaterThanOrEqualsAdvancedFilter) AsIsNotNullAdvancedFilter

func (ngtoeaf NumberGreaterThanOrEqualsAdvancedFilter) AsIsNotNullAdvancedFilter() (*IsNotNullAdvancedFilter, bool)

AsIsNotNullAdvancedFilter is the BasicAdvancedFilter implementation for NumberGreaterThanOrEqualsAdvancedFilter.

func (NumberGreaterThanOrEqualsAdvancedFilter) AsIsNullOrUndefinedAdvancedFilter

func (ngtoeaf NumberGreaterThanOrEqualsAdvancedFilter) AsIsNullOrUndefinedAdvancedFilter() (*IsNullOrUndefinedAdvancedFilter, bool)

AsIsNullOrUndefinedAdvancedFilter is the BasicAdvancedFilter implementation for NumberGreaterThanOrEqualsAdvancedFilter.

func (NumberGreaterThanOrEqualsAdvancedFilter) AsNumberGreaterThanAdvancedFilter

func (ngtoeaf NumberGreaterThanOrEqualsAdvancedFilter) AsNumberGreaterThanAdvancedFilter() (*NumberGreaterThanAdvancedFilter, bool)

AsNumberGreaterThanAdvancedFilter is the BasicAdvancedFilter implementation for NumberGreaterThanOrEqualsAdvancedFilter.

func (NumberGreaterThanOrEqualsAdvancedFilter) AsNumberGreaterThanOrEqualsAdvancedFilter

func (ngtoeaf NumberGreaterThanOrEqualsAdvancedFilter) AsNumberGreaterThanOrEqualsAdvancedFilter() (*NumberGreaterThanOrEqualsAdvancedFilter, bool)

AsNumberGreaterThanOrEqualsAdvancedFilter is the BasicAdvancedFilter implementation for NumberGreaterThanOrEqualsAdvancedFilter.

func (NumberGreaterThanOrEqualsAdvancedFilter) AsNumberInAdvancedFilter

func (ngtoeaf NumberGreaterThanOrEqualsAdvancedFilter) AsNumberInAdvancedFilter() (*NumberInAdvancedFilter, bool)

AsNumberInAdvancedFilter is the BasicAdvancedFilter implementation for NumberGreaterThanOrEqualsAdvancedFilter.

func (NumberGreaterThanOrEqualsAdvancedFilter) AsNumberInRangeAdvancedFilter

func (ngtoeaf NumberGreaterThanOrEqualsAdvancedFilter) AsNumberInRangeAdvancedFilter() (*NumberInRangeAdvancedFilter, bool)

AsNumberInRangeAdvancedFilter is the BasicAdvancedFilter implementation for NumberGreaterThanOrEqualsAdvancedFilter.

func (NumberGreaterThanOrEqualsAdvancedFilter) AsNumberLessThanAdvancedFilter

func (ngtoeaf NumberGreaterThanOrEqualsAdvancedFilter) AsNumberLessThanAdvancedFilter() (*NumberLessThanAdvancedFilter, bool)

AsNumberLessThanAdvancedFilter is the BasicAdvancedFilter implementation for NumberGreaterThanOrEqualsAdvancedFilter.

func (NumberGreaterThanOrEqualsAdvancedFilter) AsNumberLessThanOrEqualsAdvancedFilter

func (ngtoeaf NumberGreaterThanOrEqualsAdvancedFilter) AsNumberLessThanOrEqualsAdvancedFilter() (*NumberLessThanOrEqualsAdvancedFilter, bool)

AsNumberLessThanOrEqualsAdvancedFilter is the BasicAdvancedFilter implementation for NumberGreaterThanOrEqualsAdvancedFilter.

func (NumberGreaterThanOrEqualsAdvancedFilter) AsNumberNotInAdvancedFilter

func (ngtoeaf NumberGreaterThanOrEqualsAdvancedFilter) AsNumberNotInAdvancedFilter() (*NumberNotInAdvancedFilter, bool)

AsNumberNotInAdvancedFilter is the BasicAdvancedFilter implementation for NumberGreaterThanOrEqualsAdvancedFilter.

func (NumberGreaterThanOrEqualsAdvancedFilter) AsNumberNotInRangeAdvancedFilter

func (ngtoeaf NumberGreaterThanOrEqualsAdvancedFilter) AsNumberNotInRangeAdvancedFilter() (*NumberNotInRangeAdvancedFilter, bool)

AsNumberNotInRangeAdvancedFilter is the BasicAdvancedFilter implementation for NumberGreaterThanOrEqualsAdvancedFilter.

func (NumberGreaterThanOrEqualsAdvancedFilter) AsStringBeginsWithAdvancedFilter

func (ngtoeaf NumberGreaterThanOrEqualsAdvancedFilter) AsStringBeginsWithAdvancedFilter() (*StringBeginsWithAdvancedFilter, bool)

AsStringBeginsWithAdvancedFilter is the BasicAdvancedFilter implementation for NumberGreaterThanOrEqualsAdvancedFilter.

func (NumberGreaterThanOrEqualsAdvancedFilter) AsStringContainsAdvancedFilter

func (ngtoeaf NumberGreaterThanOrEqualsAdvancedFilter) AsStringContainsAdvancedFilter() (*StringContainsAdvancedFilter, bool)

AsStringContainsAdvancedFilter is the BasicAdvancedFilter implementation for NumberGreaterThanOrEqualsAdvancedFilter.

func (NumberGreaterThanOrEqualsAdvancedFilter) AsStringEndsWithAdvancedFilter

func (ngtoeaf NumberGreaterThanOrEqualsAdvancedFilter) AsStringEndsWithAdvancedFilter() (*StringEndsWithAdvancedFilter, bool)

AsStringEndsWithAdvancedFilter is the BasicAdvancedFilter implementation for NumberGreaterThanOrEqualsAdvancedFilter.

func (NumberGreaterThanOrEqualsAdvancedFilter) AsStringInAdvancedFilter

func (ngtoeaf NumberGreaterThanOrEqualsAdvancedFilter) AsStringInAdvancedFilter() (*StringInAdvancedFilter, bool)

AsStringInAdvancedFilter is the BasicAdvancedFilter implementation for NumberGreaterThanOrEqualsAdvancedFilter.

func (NumberGreaterThanOrEqualsAdvancedFilter) AsStringNotBeginsWithAdvancedFilter

func (ngtoeaf NumberGreaterThanOrEqualsAdvancedFilter) AsStringNotBeginsWithAdvancedFilter() (*StringNotBeginsWithAdvancedFilter, bool)

AsStringNotBeginsWithAdvancedFilter is the BasicAdvancedFilter implementation for NumberGreaterThanOrEqualsAdvancedFilter.

func (NumberGreaterThanOrEqualsAdvancedFilter) AsStringNotContainsAdvancedFilter

func (ngtoeaf NumberGreaterThanOrEqualsAdvancedFilter) AsStringNotContainsAdvancedFilter() (*StringNotContainsAdvancedFilter, bool)

AsStringNotContainsAdvancedFilter is the BasicAdvancedFilter implementation for NumberGreaterThanOrEqualsAdvancedFilter.

func (NumberGreaterThanOrEqualsAdvancedFilter) AsStringNotEndsWithAdvancedFilter

func (ngtoeaf NumberGreaterThanOrEqualsAdvancedFilter) AsStringNotEndsWithAdvancedFilter() (*StringNotEndsWithAdvancedFilter, bool)

AsStringNotEndsWithAdvancedFilter is the BasicAdvancedFilter implementation for NumberGreaterThanOrEqualsAdvancedFilter.

func (NumberGreaterThanOrEqualsAdvancedFilter) AsStringNotInAdvancedFilter

func (ngtoeaf NumberGreaterThanOrEqualsAdvancedFilter) AsStringNotInAdvancedFilter() (*StringNotInAdvancedFilter, bool)

AsStringNotInAdvancedFilter is the BasicAdvancedFilter implementation for NumberGreaterThanOrEqualsAdvancedFilter.

func (NumberGreaterThanOrEqualsAdvancedFilter) MarshalJSON

func (ngtoeaf NumberGreaterThanOrEqualsAdvancedFilter) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for NumberGreaterThanOrEqualsAdvancedFilter.

type NumberInAdvancedFilter

type NumberInAdvancedFilter struct {
	// Values - The set of filter values.
	Values *[]float64 `json:"values,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"`
}

NumberInAdvancedFilter numberIn Advanced Filter.

func (NumberInAdvancedFilter) AsAdvancedFilter

func (niaf NumberInAdvancedFilter) AsAdvancedFilter() (*AdvancedFilter, bool)

AsAdvancedFilter is the BasicAdvancedFilter implementation for NumberInAdvancedFilter.

func (NumberInAdvancedFilter) AsBasicAdvancedFilter

func (niaf NumberInAdvancedFilter) AsBasicAdvancedFilter() (BasicAdvancedFilter, bool)

AsBasicAdvancedFilter is the BasicAdvancedFilter implementation for NumberInAdvancedFilter.

func (NumberInAdvancedFilter) AsBoolEqualsAdvancedFilter

func (niaf NumberInAdvancedFilter) AsBoolEqualsAdvancedFilter() (*BoolEqualsAdvancedFilter, bool)

AsBoolEqualsAdvancedFilter is the BasicAdvancedFilter implementation for NumberInAdvancedFilter.

func (NumberInAdvancedFilter) AsIsNotNullAdvancedFilter

func (niaf NumberInAdvancedFilter) AsIsNotNullAdvancedFilter() (*IsNotNullAdvancedFilter, bool)

AsIsNotNullAdvancedFilter is the BasicAdvancedFilter implementation for NumberInAdvancedFilter.

func (NumberInAdvancedFilter) AsIsNullOrUndefinedAdvancedFilter

func (niaf NumberInAdvancedFilter) AsIsNullOrUndefinedAdvancedFilter() (*IsNullOrUndefinedAdvancedFilter, bool)

AsIsNullOrUndefinedAdvancedFilter is the BasicAdvancedFilter implementation for NumberInAdvancedFilter.

func (NumberInAdvancedFilter) AsNumberGreaterThanAdvancedFilter

func (niaf NumberInAdvancedFilter) AsNumberGreaterThanAdvancedFilter() (*NumberGreaterThanAdvancedFilter, bool)

AsNumberGreaterThanAdvancedFilter is the BasicAdvancedFilter implementation for NumberInAdvancedFilter.

func (NumberInAdvancedFilter) AsNumberGreaterThanOrEqualsAdvancedFilter

func (niaf NumberInAdvancedFilter) AsNumberGreaterThanOrEqualsAdvancedFilter() (*NumberGreaterThanOrEqualsAdvancedFilter, bool)

AsNumberGreaterThanOrEqualsAdvancedFilter is the BasicAdvancedFilter implementation for NumberInAdvancedFilter.

func (NumberInAdvancedFilter) AsNumberInAdvancedFilter

func (niaf NumberInAdvancedFilter) AsNumberInAdvancedFilter() (*NumberInAdvancedFilter, bool)

AsNumberInAdvancedFilter is the BasicAdvancedFilter implementation for NumberInAdvancedFilter.

func (NumberInAdvancedFilter) AsNumberInRangeAdvancedFilter

func (niaf NumberInAdvancedFilter) AsNumberInRangeAdvancedFilter() (*NumberInRangeAdvancedFilter, bool)

AsNumberInRangeAdvancedFilter is the BasicAdvancedFilter implementation for NumberInAdvancedFilter.

func (NumberInAdvancedFilter) AsNumberLessThanAdvancedFilter

func (niaf NumberInAdvancedFilter) AsNumberLessThanAdvancedFilter() (*NumberLessThanAdvancedFilter, bool)

AsNumberLessThanAdvancedFilter is the BasicAdvancedFilter implementation for NumberInAdvancedFilter.

func (NumberInAdvancedFilter) AsNumberLessThanOrEqualsAdvancedFilter

func (niaf NumberInAdvancedFilter) AsNumberLessThanOrEqualsAdvancedFilter() (*NumberLessThanOrEqualsAdvancedFilter, bool)

AsNumberLessThanOrEqualsAdvancedFilter is the BasicAdvancedFilter implementation for NumberInAdvancedFilter.

func (NumberInAdvancedFilter) AsNumberNotInAdvancedFilter

func (niaf NumberInAdvancedFilter) AsNumberNotInAdvancedFilter() (*NumberNotInAdvancedFilter, bool)

AsNumberNotInAdvancedFilter is the BasicAdvancedFilter implementation for NumberInAdvancedFilter.

func (NumberInAdvancedFilter) AsNumberNotInRangeAdvancedFilter

func (niaf NumberInAdvancedFilter) AsNumberNotInRangeAdvancedFilter() (*NumberNotInRangeAdvancedFilter, bool)

AsNumberNotInRangeAdvancedFilter is the BasicAdvancedFilter implementation for NumberInAdvancedFilter.

func (NumberInAdvancedFilter) AsStringBeginsWithAdvancedFilter

func (niaf NumberInAdvancedFilter) AsStringBeginsWithAdvancedFilter() (*StringBeginsWithAdvancedFilter, bool)

AsStringBeginsWithAdvancedFilter is the BasicAdvancedFilter implementation for NumberInAdvancedFilter.

func (NumberInAdvancedFilter) AsStringContainsAdvancedFilter

func (niaf NumberInAdvancedFilter) AsStringContainsAdvancedFilter() (*StringContainsAdvancedFilter, bool)

AsStringContainsAdvancedFilter is the BasicAdvancedFilter implementation for NumberInAdvancedFilter.

func (NumberInAdvancedFilter) AsStringEndsWithAdvancedFilter

func (niaf NumberInAdvancedFilter) AsStringEndsWithAdvancedFilter() (*StringEndsWithAdvancedFilter, bool)

AsStringEndsWithAdvancedFilter is the BasicAdvancedFilter implementation for NumberInAdvancedFilter.

func (NumberInAdvancedFilter) AsStringInAdvancedFilter

func (niaf NumberInAdvancedFilter) AsStringInAdvancedFilter() (*StringInAdvancedFilter, bool)

AsStringInAdvancedFilter is the BasicAdvancedFilter implementation for NumberInAdvancedFilter.

func (NumberInAdvancedFilter) AsStringNotBeginsWithAdvancedFilter

func (niaf NumberInAdvancedFilter) AsStringNotBeginsWithAdvancedFilter() (*StringNotBeginsWithAdvancedFilter, bool)

AsStringNotBeginsWithAdvancedFilter is the BasicAdvancedFilter implementation for NumberInAdvancedFilter.

func (NumberInAdvancedFilter) AsStringNotContainsAdvancedFilter

func (niaf NumberInAdvancedFilter) AsStringNotContainsAdvancedFilter() (*StringNotContainsAdvancedFilter, bool)

AsStringNotContainsAdvancedFilter is the BasicAdvancedFilter implementation for NumberInAdvancedFilter.

func (NumberInAdvancedFilter) AsStringNotEndsWithAdvancedFilter

func (niaf NumberInAdvancedFilter) AsStringNotEndsWithAdvancedFilter() (*StringNotEndsWithAdvancedFilter, bool)

AsStringNotEndsWithAdvancedFilter is the BasicAdvancedFilter implementation for NumberInAdvancedFilter.

func (NumberInAdvancedFilter) AsStringNotInAdvancedFilter

func (niaf NumberInAdvancedFilter) AsStringNotInAdvancedFilter() (*StringNotInAdvancedFilter, bool)

AsStringNotInAdvancedFilter is the BasicAdvancedFilter implementation for NumberInAdvancedFilter.

func (NumberInAdvancedFilter) MarshalJSON

func (niaf NumberInAdvancedFilter) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for NumberInAdvancedFilter.

type NumberInRangeAdvancedFilter

type NumberInRangeAdvancedFilter struct {
	// Values - The set of filter values.
	Values *[][]float64 `json:"values,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"`
}

NumberInRangeAdvancedFilter numberInRange Advanced Filter.

func (NumberInRangeAdvancedFilter) AsAdvancedFilter

func (niraf NumberInRangeAdvancedFilter) AsAdvancedFilter() (*AdvancedFilter, bool)

AsAdvancedFilter is the BasicAdvancedFilter implementation for NumberInRangeAdvancedFilter.

func (NumberInRangeAdvancedFilter) AsBasicAdvancedFilter

func (niraf NumberInRangeAdvancedFilter) AsBasicAdvancedFilter() (BasicAdvancedFilter, bool)

AsBasicAdvancedFilter is the BasicAdvancedFilter implementation for NumberInRangeAdvancedFilter.

func (NumberInRangeAdvancedFilter) AsBoolEqualsAdvancedFilter

func (niraf NumberInRangeAdvancedFilter) AsBoolEqualsAdvancedFilter() (*BoolEqualsAdvancedFilter, bool)

AsBoolEqualsAdvancedFilter is the BasicAdvancedFilter implementation for NumberInRangeAdvancedFilter.

func (NumberInRangeAdvancedFilter) AsIsNotNullAdvancedFilter

func (niraf NumberInRangeAdvancedFilter) AsIsNotNullAdvancedFilter() (*IsNotNullAdvancedFilter, bool)

AsIsNotNullAdvancedFilter is the BasicAdvancedFilter implementation for NumberInRangeAdvancedFilter.

func (NumberInRangeAdvancedFilter) AsIsNullOrUndefinedAdvancedFilter

func (niraf NumberInRangeAdvancedFilter) AsIsNullOrUndefinedAdvancedFilter() (*IsNullOrUndefinedAdvancedFilter, bool)

AsIsNullOrUndefinedAdvancedFilter is the BasicAdvancedFilter implementation for NumberInRangeAdvancedFilter.

func (NumberInRangeAdvancedFilter) AsNumberGreaterThanAdvancedFilter

func (niraf NumberInRangeAdvancedFilter) AsNumberGreaterThanAdvancedFilter() (*NumberGreaterThanAdvancedFilter, bool)

AsNumberGreaterThanAdvancedFilter is the BasicAdvancedFilter implementation for NumberInRangeAdvancedFilter.

func (NumberInRangeAdvancedFilter) AsNumberGreaterThanOrEqualsAdvancedFilter

func (niraf NumberInRangeAdvancedFilter) AsNumberGreaterThanOrEqualsAdvancedFilter() (*NumberGreaterThanOrEqualsAdvancedFilter, bool)

AsNumberGreaterThanOrEqualsAdvancedFilter is the BasicAdvancedFilter implementation for NumberInRangeAdvancedFilter.

func (NumberInRangeAdvancedFilter) AsNumberInAdvancedFilter

func (niraf NumberInRangeAdvancedFilter) AsNumberInAdvancedFilter() (*NumberInAdvancedFilter, bool)

AsNumberInAdvancedFilter is the BasicAdvancedFilter implementation for NumberInRangeAdvancedFilter.

func (NumberInRangeAdvancedFilter) AsNumberInRangeAdvancedFilter

func (niraf NumberInRangeAdvancedFilter) AsNumberInRangeAdvancedFilter() (*NumberInRangeAdvancedFilter, bool)

AsNumberInRangeAdvancedFilter is the BasicAdvancedFilter implementation for NumberInRangeAdvancedFilter.

func (NumberInRangeAdvancedFilter) AsNumberLessThanAdvancedFilter

func (niraf NumberInRangeAdvancedFilter) AsNumberLessThanAdvancedFilter() (*NumberLessThanAdvancedFilter, bool)

AsNumberLessThanAdvancedFilter is the BasicAdvancedFilter implementation for NumberInRangeAdvancedFilter.

func (NumberInRangeAdvancedFilter) AsNumberLessThanOrEqualsAdvancedFilter

func (niraf NumberInRangeAdvancedFilter) AsNumberLessThanOrEqualsAdvancedFilter() (*NumberLessThanOrEqualsAdvancedFilter, bool)

AsNumberLessThanOrEqualsAdvancedFilter is the BasicAdvancedFilter implementation for NumberInRangeAdvancedFilter.

func (NumberInRangeAdvancedFilter) AsNumberNotInAdvancedFilter

func (niraf NumberInRangeAdvancedFilter) AsNumberNotInAdvancedFilter() (*NumberNotInAdvancedFilter, bool)

AsNumberNotInAdvancedFilter is the BasicAdvancedFilter implementation for NumberInRangeAdvancedFilter.

func (NumberInRangeAdvancedFilter) AsNumberNotInRangeAdvancedFilter

func (niraf NumberInRangeAdvancedFilter) AsNumberNotInRangeAdvancedFilter() (*NumberNotInRangeAdvancedFilter, bool)

AsNumberNotInRangeAdvancedFilter is the BasicAdvancedFilter implementation for NumberInRangeAdvancedFilter.

func (NumberInRangeAdvancedFilter) AsStringBeginsWithAdvancedFilter

func (niraf NumberInRangeAdvancedFilter) AsStringBeginsWithAdvancedFilter() (*StringBeginsWithAdvancedFilter, bool)

AsStringBeginsWithAdvancedFilter is the BasicAdvancedFilter implementation for NumberInRangeAdvancedFilter.

func (NumberInRangeAdvancedFilter) AsStringContainsAdvancedFilter

func (niraf NumberInRangeAdvancedFilter) AsStringContainsAdvancedFilter() (*StringContainsAdvancedFilter, bool)

AsStringContainsAdvancedFilter is the BasicAdvancedFilter implementation for NumberInRangeAdvancedFilter.

func (NumberInRangeAdvancedFilter) AsStringEndsWithAdvancedFilter

func (niraf NumberInRangeAdvancedFilter) AsStringEndsWithAdvancedFilter() (*StringEndsWithAdvancedFilter, bool)

AsStringEndsWithAdvancedFilter is the BasicAdvancedFilter implementation for NumberInRangeAdvancedFilter.

func (NumberInRangeAdvancedFilter) AsStringInAdvancedFilter

func (niraf NumberInRangeAdvancedFilter) AsStringInAdvancedFilter() (*StringInAdvancedFilter, bool)

AsStringInAdvancedFilter is the BasicAdvancedFilter implementation for NumberInRangeAdvancedFilter.

func (NumberInRangeAdvancedFilter) AsStringNotBeginsWithAdvancedFilter

func (niraf NumberInRangeAdvancedFilter) AsStringNotBeginsWithAdvancedFilter() (*StringNotBeginsWithAdvancedFilter, bool)

AsStringNotBeginsWithAdvancedFilter is the BasicAdvancedFilter implementation for NumberInRangeAdvancedFilter.

func (NumberInRangeAdvancedFilter) AsStringNotContainsAdvancedFilter

func (niraf NumberInRangeAdvancedFilter) AsStringNotContainsAdvancedFilter() (*StringNotContainsAdvancedFilter, bool)

AsStringNotContainsAdvancedFilter is the BasicAdvancedFilter implementation for NumberInRangeAdvancedFilter.

func (NumberInRangeAdvancedFilter) AsStringNotEndsWithAdvancedFilter

func (niraf NumberInRangeAdvancedFilter) AsStringNotEndsWithAdvancedFilter() (*StringNotEndsWithAdvancedFilter, bool)

AsStringNotEndsWithAdvancedFilter is the BasicAdvancedFilter implementation for NumberInRangeAdvancedFilter.

func (NumberInRangeAdvancedFilter) AsStringNotInAdvancedFilter

func (niraf NumberInRangeAdvancedFilter) AsStringNotInAdvancedFilter() (*StringNotInAdvancedFilter, bool)

AsStringNotInAdvancedFilter is the BasicAdvancedFilter implementation for NumberInRangeAdvancedFilter.

func (NumberInRangeAdvancedFilter) MarshalJSON

func (niraf NumberInRangeAdvancedFilter) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for NumberInRangeAdvancedFilter.

type NumberLessThanAdvancedFilter

type NumberLessThanAdvancedFilter struct {
	// Value - The filter value.
	Value *float64 `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"`
}

NumberLessThanAdvancedFilter numberLessThan Advanced Filter.

func (NumberLessThanAdvancedFilter) AsAdvancedFilter

func (nltaf NumberLessThanAdvancedFilter) AsAdvancedFilter() (*AdvancedFilter, bool)

AsAdvancedFilter is the BasicAdvancedFilter implementation for NumberLessThanAdvancedFilter.

func (NumberLessThanAdvancedFilter) AsBasicAdvancedFilter

func (nltaf NumberLessThanAdvancedFilter) AsBasicAdvancedFilter() (BasicAdvancedFilter, bool)

AsBasicAdvancedFilter is the BasicAdvancedFilter implementation for NumberLessThanAdvancedFilter.

func (NumberLessThanAdvancedFilter) AsBoolEqualsAdvancedFilter

func (nltaf NumberLessThanAdvancedFilter) AsBoolEqualsAdvancedFilter() (*BoolEqualsAdvancedFilter, bool)

AsBoolEqualsAdvancedFilter is the BasicAdvancedFilter implementation for NumberLessThanAdvancedFilter.

func (NumberLessThanAdvancedFilter) AsIsNotNullAdvancedFilter

func (nltaf NumberLessThanAdvancedFilter) AsIsNotNullAdvancedFilter() (*IsNotNullAdvancedFilter, bool)

AsIsNotNullAdvancedFilter is the BasicAdvancedFilter implementation for NumberLessThanAdvancedFilter.

func (NumberLessThanAdvancedFilter) AsIsNullOrUndefinedAdvancedFilter

func (nltaf NumberLessThanAdvancedFilter) AsIsNullOrUndefinedAdvancedFilter() (*IsNullOrUndefinedAdvancedFilter, bool)

AsIsNullOrUndefinedAdvancedFilter is the BasicAdvancedFilter implementation for NumberLessThanAdvancedFilter.

func (NumberLessThanAdvancedFilter) AsNumberGreaterThanAdvancedFilter

func (nltaf NumberLessThanAdvancedFilter) AsNumberGreaterThanAdvancedFilter() (*NumberGreaterThanAdvancedFilter, bool)

AsNumberGreaterThanAdvancedFilter is the BasicAdvancedFilter implementation for NumberLessThanAdvancedFilter.

func (NumberLessThanAdvancedFilter) AsNumberGreaterThanOrEqualsAdvancedFilter

func (nltaf NumberLessThanAdvancedFilter) AsNumberGreaterThanOrEqualsAdvancedFilter() (*NumberGreaterThanOrEqualsAdvancedFilter, bool)

AsNumberGreaterThanOrEqualsAdvancedFilter is the BasicAdvancedFilter implementation for NumberLessThanAdvancedFilter.

func (NumberLessThanAdvancedFilter) AsNumberInAdvancedFilter

func (nltaf NumberLessThanAdvancedFilter) AsNumberInAdvancedFilter() (*NumberInAdvancedFilter, bool)

AsNumberInAdvancedFilter is the BasicAdvancedFilter implementation for NumberLessThanAdvancedFilter.

func (NumberLessThanAdvancedFilter) AsNumberInRangeAdvancedFilter

func (nltaf NumberLessThanAdvancedFilter) AsNumberInRangeAdvancedFilter() (*NumberInRangeAdvancedFilter, bool)

AsNumberInRangeAdvancedFilter is the BasicAdvancedFilter implementation for NumberLessThanAdvancedFilter.

func (NumberLessThanAdvancedFilter) AsNumberLessThanAdvancedFilter

func (nltaf NumberLessThanAdvancedFilter) AsNumberLessThanAdvancedFilter() (*NumberLessThanAdvancedFilter, bool)

AsNumberLessThanAdvancedFilter is the BasicAdvancedFilter implementation for NumberLessThanAdvancedFilter.

func (NumberLessThanAdvancedFilter) AsNumberLessThanOrEqualsAdvancedFilter

func (nltaf NumberLessThanAdvancedFilter) AsNumberLessThanOrEqualsAdvancedFilter() (*NumberLessThanOrEqualsAdvancedFilter, bool)

AsNumberLessThanOrEqualsAdvancedFilter is the BasicAdvancedFilter implementation for NumberLessThanAdvancedFilter.

func (NumberLessThanAdvancedFilter) AsNumberNotInAdvancedFilter

func (nltaf NumberLessThanAdvancedFilter) AsNumberNotInAdvancedFilter() (*NumberNotInAdvancedFilter, bool)

AsNumberNotInAdvancedFilter is the BasicAdvancedFilter implementation for NumberLessThanAdvancedFilter.

func (NumberLessThanAdvancedFilter) AsNumberNotInRangeAdvancedFilter

func (nltaf NumberLessThanAdvancedFilter) AsNumberNotInRangeAdvancedFilter() (*NumberNotInRangeAdvancedFilter, bool)

AsNumberNotInRangeAdvancedFilter is the BasicAdvancedFilter implementation for NumberLessThanAdvancedFilter.

func (NumberLessThanAdvancedFilter) AsStringBeginsWithAdvancedFilter

func (nltaf NumberLessThanAdvancedFilter) AsStringBeginsWithAdvancedFilter() (*StringBeginsWithAdvancedFilter, bool)

AsStringBeginsWithAdvancedFilter is the BasicAdvancedFilter implementation for NumberLessThanAdvancedFilter.

func (NumberLessThanAdvancedFilter) AsStringContainsAdvancedFilter

func (nltaf NumberLessThanAdvancedFilter) AsStringContainsAdvancedFilter() (*StringContainsAdvancedFilter, bool)

AsStringContainsAdvancedFilter is the BasicAdvancedFilter implementation for NumberLessThanAdvancedFilter.

func (NumberLessThanAdvancedFilter) AsStringEndsWithAdvancedFilter

func (nltaf NumberLessThanAdvancedFilter) AsStringEndsWithAdvancedFilter() (*StringEndsWithAdvancedFilter, bool)

AsStringEndsWithAdvancedFilter is the BasicAdvancedFilter implementation for NumberLessThanAdvancedFilter.

func (NumberLessThanAdvancedFilter) AsStringInAdvancedFilter

func (nltaf NumberLessThanAdvancedFilter) AsStringInAdvancedFilter() (*StringInAdvancedFilter, bool)

AsStringInAdvancedFilter is the BasicAdvancedFilter implementation for NumberLessThanAdvancedFilter.

func (NumberLessThanAdvancedFilter) AsStringNotBeginsWithAdvancedFilter

func (nltaf NumberLessThanAdvancedFilter) AsStringNotBeginsWithAdvancedFilter() (*StringNotBeginsWithAdvancedFilter, bool)

AsStringNotBeginsWithAdvancedFilter is the BasicAdvancedFilter implementation for NumberLessThanAdvancedFilter.

func (NumberLessThanAdvancedFilter) AsStringNotContainsAdvancedFilter

func (nltaf NumberLessThanAdvancedFilter) AsStringNotContainsAdvancedFilter() (*StringNotContainsAdvancedFilter, bool)

AsStringNotContainsAdvancedFilter is the BasicAdvancedFilter implementation for NumberLessThanAdvancedFilter.

func (NumberLessThanAdvancedFilter) AsStringNotEndsWithAdvancedFilter

func (nltaf NumberLessThanAdvancedFilter) AsStringNotEndsWithAdvancedFilter() (*StringNotEndsWithAdvancedFilter, bool)

AsStringNotEndsWithAdvancedFilter is the BasicAdvancedFilter implementation for NumberLessThanAdvancedFilter.

func (NumberLessThanAdvancedFilter) AsStringNotInAdvancedFilter

func (nltaf NumberLessThanAdvancedFilter) AsStringNotInAdvancedFilter() (*StringNotInAdvancedFilter, bool)

AsStringNotInAdvancedFilter is the BasicAdvancedFilter implementation for NumberLessThanAdvancedFilter.

func (NumberLessThanAdvancedFilter) MarshalJSON

func (nltaf NumberLessThanAdvancedFilter) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for NumberLessThanAdvancedFilter.

type NumberLessThanOrEqualsAdvancedFilter

type NumberLessThanOrEqualsAdvancedFilter struct {
	// Value - The filter value.
	Value *float64 `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"`
}

NumberLessThanOrEqualsAdvancedFilter numberLessThanOrEquals Advanced Filter.

func (NumberLessThanOrEqualsAdvancedFilter) AsAdvancedFilter

func (nltoeaf NumberLessThanOrEqualsAdvancedFilter) AsAdvancedFilter() (*AdvancedFilter, bool)

AsAdvancedFilter is the BasicAdvancedFilter implementation for NumberLessThanOrEqualsAdvancedFilter.

func (NumberLessThanOrEqualsAdvancedFilter) AsBasicAdvancedFilter

func (nltoeaf NumberLessThanOrEqualsAdvancedFilter) AsBasicAdvancedFilter() (BasicAdvancedFilter, bool)

AsBasicAdvancedFilter is the BasicAdvancedFilter implementation for NumberLessThanOrEqualsAdvancedFilter.

func (NumberLessThanOrEqualsAdvancedFilter) AsBoolEqualsAdvancedFilter

func (nltoeaf NumberLessThanOrEqualsAdvancedFilter) AsBoolEqualsAdvancedFilter() (*BoolEqualsAdvancedFilter, bool)

AsBoolEqualsAdvancedFilter is the BasicAdvancedFilter implementation for NumberLessThanOrEqualsAdvancedFilter.

func (NumberLessThanOrEqualsAdvancedFilter) AsIsNotNullAdvancedFilter

func (nltoeaf NumberLessThanOrEqualsAdvancedFilter) AsIsNotNullAdvancedFilter() (*IsNotNullAdvancedFilter, bool)

AsIsNotNullAdvancedFilter is the BasicAdvancedFilter implementation for NumberLessThanOrEqualsAdvancedFilter.

func (NumberLessThanOrEqualsAdvancedFilter) AsIsNullOrUndefinedAdvancedFilter

func (nltoeaf NumberLessThanOrEqualsAdvancedFilter) AsIsNullOrUndefinedAdvancedFilter() (*IsNullOrUndefinedAdvancedFilter, bool)

AsIsNullOrUndefinedAdvancedFilter is the BasicAdvancedFilter implementation for NumberLessThanOrEqualsAdvancedFilter.

func (NumberLessThanOrEqualsAdvancedFilter) AsNumberGreaterThanAdvancedFilter

func (nltoeaf NumberLessThanOrEqualsAdvancedFilter) AsNumberGreaterThanAdvancedFilter() (*NumberGreaterThanAdvancedFilter, bool)

AsNumberGreaterThanAdvancedFilter is the BasicAdvancedFilter implementation for NumberLessThanOrEqualsAdvancedFilter.

func (NumberLessThanOrEqualsAdvancedFilter) AsNumberGreaterThanOrEqualsAdvancedFilter

func (nltoeaf NumberLessThanOrEqualsAdvancedFilter) AsNumberGreaterThanOrEqualsAdvancedFilter() (*NumberGreaterThanOrEqualsAdvancedFilter, bool)

AsNumberGreaterThanOrEqualsAdvancedFilter is the BasicAdvancedFilter implementation for NumberLessThanOrEqualsAdvancedFilter.

func (NumberLessThanOrEqualsAdvancedFilter) AsNumberInAdvancedFilter

func (nltoeaf NumberLessThanOrEqualsAdvancedFilter) AsNumberInAdvancedFilter() (*NumberInAdvancedFilter, bool)

AsNumberInAdvancedFilter is the BasicAdvancedFilter implementation for NumberLessThanOrEqualsAdvancedFilter.

func (NumberLessThanOrEqualsAdvancedFilter) AsNumberInRangeAdvancedFilter

func (nltoeaf NumberLessThanOrEqualsAdvancedFilter) AsNumberInRangeAdvancedFilter() (*NumberInRangeAdvancedFilter, bool)

AsNumberInRangeAdvancedFilter is the BasicAdvancedFilter implementation for NumberLessThanOrEqualsAdvancedFilter.

func (NumberLessThanOrEqualsAdvancedFilter) AsNumberLessThanAdvancedFilter

func (nltoeaf NumberLessThanOrEqualsAdvancedFilter) AsNumberLessThanAdvancedFilter() (*NumberLessThanAdvancedFilter, bool)

AsNumberLessThanAdvancedFilter is the BasicAdvancedFilter implementation for NumberLessThanOrEqualsAdvancedFilter.

func (NumberLessThanOrEqualsAdvancedFilter) AsNumberLessThanOrEqualsAdvancedFilter

func (nltoeaf NumberLessThanOrEqualsAdvancedFilter) AsNumberLessThanOrEqualsAdvancedFilter() (*NumberLessThanOrEqualsAdvancedFilter, bool)

AsNumberLessThanOrEqualsAdvancedFilter is the BasicAdvancedFilter implementation for NumberLessThanOrEqualsAdvancedFilter.

func (NumberLessThanOrEqualsAdvancedFilter) AsNumberNotInAdvancedFilter

func (nltoeaf NumberLessThanOrEqualsAdvancedFilter) AsNumberNotInAdvancedFilter() (*NumberNotInAdvancedFilter, bool)

AsNumberNotInAdvancedFilter is the BasicAdvancedFilter implementation for NumberLessThanOrEqualsAdvancedFilter.

func (NumberLessThanOrEqualsAdvancedFilter) AsNumberNotInRangeAdvancedFilter

func (nltoeaf NumberLessThanOrEqualsAdvancedFilter) AsNumberNotInRangeAdvancedFilter() (*NumberNotInRangeAdvancedFilter, bool)

AsNumberNotInRangeAdvancedFilter is the BasicAdvancedFilter implementation for NumberLessThanOrEqualsAdvancedFilter.

func (NumberLessThanOrEqualsAdvancedFilter) AsStringBeginsWithAdvancedFilter

func (nltoeaf NumberLessThanOrEqualsAdvancedFilter) AsStringBeginsWithAdvancedFilter() (*StringBeginsWithAdvancedFilter, bool)

AsStringBeginsWithAdvancedFilter is the BasicAdvancedFilter implementation for NumberLessThanOrEqualsAdvancedFilter.

func (NumberLessThanOrEqualsAdvancedFilter) AsStringContainsAdvancedFilter

func (nltoeaf NumberLessThanOrEqualsAdvancedFilter) AsStringContainsAdvancedFilter() (*StringContainsAdvancedFilter, bool)

AsStringContainsAdvancedFilter is the BasicAdvancedFilter implementation for NumberLessThanOrEqualsAdvancedFilter.

func (NumberLessThanOrEqualsAdvancedFilter) AsStringEndsWithAdvancedFilter

func (nltoeaf NumberLessThanOrEqualsAdvancedFilter) AsStringEndsWithAdvancedFilter() (*StringEndsWithAdvancedFilter, bool)

AsStringEndsWithAdvancedFilter is the BasicAdvancedFilter implementation for NumberLessThanOrEqualsAdvancedFilter.

func (NumberLessThanOrEqualsAdvancedFilter) AsStringInAdvancedFilter

func (nltoeaf NumberLessThanOrEqualsAdvancedFilter) AsStringInAdvancedFilter() (*StringInAdvancedFilter, bool)

AsStringInAdvancedFilter is the BasicAdvancedFilter implementation for NumberLessThanOrEqualsAdvancedFilter.

func (NumberLessThanOrEqualsAdvancedFilter) AsStringNotBeginsWithAdvancedFilter

func (nltoeaf NumberLessThanOrEqualsAdvancedFilter) AsStringNotBeginsWithAdvancedFilter() (*StringNotBeginsWithAdvancedFilter, bool)

AsStringNotBeginsWithAdvancedFilter is the BasicAdvancedFilter implementation for NumberLessThanOrEqualsAdvancedFilter.

func (NumberLessThanOrEqualsAdvancedFilter) AsStringNotContainsAdvancedFilter

func (nltoeaf NumberLessThanOrEqualsAdvancedFilter) AsStringNotContainsAdvancedFilter() (*StringNotContainsAdvancedFilter, bool)

AsStringNotContainsAdvancedFilter is the BasicAdvancedFilter implementation for NumberLessThanOrEqualsAdvancedFilter.

func (NumberLessThanOrEqualsAdvancedFilter) AsStringNotEndsWithAdvancedFilter

func (nltoeaf NumberLessThanOrEqualsAdvancedFilter) AsStringNotEndsWithAdvancedFilter() (*StringNotEndsWithAdvancedFilter, bool)

AsStringNotEndsWithAdvancedFilter is the BasicAdvancedFilter implementation for NumberLessThanOrEqualsAdvancedFilter.

func (NumberLessThanOrEqualsAdvancedFilter) AsStringNotInAdvancedFilter

func (nltoeaf NumberLessThanOrEqualsAdvancedFilter) AsStringNotInAdvancedFilter() (*StringNotInAdvancedFilter, bool)

AsStringNotInAdvancedFilter is the BasicAdvancedFilter implementation for NumberLessThanOrEqualsAdvancedFilter.

func (NumberLessThanOrEqualsAdvancedFilter) MarshalJSON

func (nltoeaf NumberLessThanOrEqualsAdvancedFilter) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for NumberLessThanOrEqualsAdvancedFilter.

type NumberNotInAdvancedFilter

type NumberNotInAdvancedFilter struct {
	// Values - The set of filter values.
	Values *[]float64 `json:"values,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"`
}

NumberNotInAdvancedFilter numberNotIn Advanced Filter.

func (NumberNotInAdvancedFilter) AsAdvancedFilter

func (nniaf NumberNotInAdvancedFilter) AsAdvancedFilter() (*AdvancedFilter, bool)

AsAdvancedFilter is the BasicAdvancedFilter implementation for NumberNotInAdvancedFilter.

func (NumberNotInAdvancedFilter) AsBasicAdvancedFilter

func (nniaf NumberNotInAdvancedFilter) AsBasicAdvancedFilter() (BasicAdvancedFilter, bool)

AsBasicAdvancedFilter is the BasicAdvancedFilter implementation for NumberNotInAdvancedFilter.

func (NumberNotInAdvancedFilter) AsBoolEqualsAdvancedFilter

func (nniaf NumberNotInAdvancedFilter) AsBoolEqualsAdvancedFilter() (*BoolEqualsAdvancedFilter, bool)

AsBoolEqualsAdvancedFilter is the BasicAdvancedFilter implementation for NumberNotInAdvancedFilter.

func (NumberNotInAdvancedFilter) AsIsNotNullAdvancedFilter

func (nniaf NumberNotInAdvancedFilter) AsIsNotNullAdvancedFilter() (*IsNotNullAdvancedFilter, bool)

AsIsNotNullAdvancedFilter is the BasicAdvancedFilter implementation for NumberNotInAdvancedFilter.

func (NumberNotInAdvancedFilter) AsIsNullOrUndefinedAdvancedFilter

func (nniaf NumberNotInAdvancedFilter) AsIsNullOrUndefinedAdvancedFilter() (*IsNullOrUndefinedAdvancedFilter, bool)

AsIsNullOrUndefinedAdvancedFilter is the BasicAdvancedFilter implementation for NumberNotInAdvancedFilter.

func (NumberNotInAdvancedFilter) AsNumberGreaterThanAdvancedFilter

func (nniaf NumberNotInAdvancedFilter) AsNumberGreaterThanAdvancedFilter() (*NumberGreaterThanAdvancedFilter, bool)

AsNumberGreaterThanAdvancedFilter is the BasicAdvancedFilter implementation for NumberNotInAdvancedFilter.

func (NumberNotInAdvancedFilter) AsNumberGreaterThanOrEqualsAdvancedFilter

func (nniaf NumberNotInAdvancedFilter) AsNumberGreaterThanOrEqualsAdvancedFilter() (*NumberGreaterThanOrEqualsAdvancedFilter, bool)

AsNumberGreaterThanOrEqualsAdvancedFilter is the BasicAdvancedFilter implementation for NumberNotInAdvancedFilter.

func (NumberNotInAdvancedFilter) AsNumberInAdvancedFilter

func (nniaf NumberNotInAdvancedFilter) AsNumberInAdvancedFilter() (*NumberInAdvancedFilter, bool)

AsNumberInAdvancedFilter is the BasicAdvancedFilter implementation for NumberNotInAdvancedFilter.

func (NumberNotInAdvancedFilter) AsNumberInRangeAdvancedFilter

func (nniaf NumberNotInAdvancedFilter) AsNumberInRangeAdvancedFilter() (*NumberInRangeAdvancedFilter, bool)

AsNumberInRangeAdvancedFilter is the BasicAdvancedFilter implementation for NumberNotInAdvancedFilter.

func (NumberNotInAdvancedFilter) AsNumberLessThanAdvancedFilter

func (nniaf NumberNotInAdvancedFilter) AsNumberLessThanAdvancedFilter() (*NumberLessThanAdvancedFilter, bool)

AsNumberLessThanAdvancedFilter is the BasicAdvancedFilter implementation for NumberNotInAdvancedFilter.

func (NumberNotInAdvancedFilter) AsNumberLessThanOrEqualsAdvancedFilter

func (nniaf NumberNotInAdvancedFilter) AsNumberLessThanOrEqualsAdvancedFilter() (*NumberLessThanOrEqualsAdvancedFilter, bool)

AsNumberLessThanOrEqualsAdvancedFilter is the BasicAdvancedFilter implementation for NumberNotInAdvancedFilter.

func (NumberNotInAdvancedFilter) AsNumberNotInAdvancedFilter

func (nniaf NumberNotInAdvancedFilter) AsNumberNotInAdvancedFilter() (*NumberNotInAdvancedFilter, bool)

AsNumberNotInAdvancedFilter is the BasicAdvancedFilter implementation for NumberNotInAdvancedFilter.

func (NumberNotInAdvancedFilter) AsNumberNotInRangeAdvancedFilter

func (nniaf NumberNotInAdvancedFilter) AsNumberNotInRangeAdvancedFilter() (*NumberNotInRangeAdvancedFilter, bool)

AsNumberNotInRangeAdvancedFilter is the BasicAdvancedFilter implementation for NumberNotInAdvancedFilter.

func (NumberNotInAdvancedFilter) AsStringBeginsWithAdvancedFilter

func (nniaf NumberNotInAdvancedFilter) AsStringBeginsWithAdvancedFilter() (*StringBeginsWithAdvancedFilter, bool)

AsStringBeginsWithAdvancedFilter is the BasicAdvancedFilter implementation for NumberNotInAdvancedFilter.

func (NumberNotInAdvancedFilter) AsStringContainsAdvancedFilter

func (nniaf NumberNotInAdvancedFilter) AsStringContainsAdvancedFilter() (*StringContainsAdvancedFilter, bool)

AsStringContainsAdvancedFilter is the BasicAdvancedFilter implementation for NumberNotInAdvancedFilter.

func (NumberNotInAdvancedFilter) AsStringEndsWithAdvancedFilter

func (nniaf NumberNotInAdvancedFilter) AsStringEndsWithAdvancedFilter() (*StringEndsWithAdvancedFilter, bool)

AsStringEndsWithAdvancedFilter is the BasicAdvancedFilter implementation for NumberNotInAdvancedFilter.

func (NumberNotInAdvancedFilter) AsStringInAdvancedFilter

func (nniaf NumberNotInAdvancedFilter) AsStringInAdvancedFilter() (*StringInAdvancedFilter, bool)

AsStringInAdvancedFilter is the BasicAdvancedFilter implementation for NumberNotInAdvancedFilter.

func (NumberNotInAdvancedFilter) AsStringNotBeginsWithAdvancedFilter

func (nniaf NumberNotInAdvancedFilter) AsStringNotBeginsWithAdvancedFilter() (*StringNotBeginsWithAdvancedFilter, bool)

AsStringNotBeginsWithAdvancedFilter is the BasicAdvancedFilter implementation for NumberNotInAdvancedFilter.

func (NumberNotInAdvancedFilter) AsStringNotContainsAdvancedFilter

func (nniaf NumberNotInAdvancedFilter) AsStringNotContainsAdvancedFilter() (*StringNotContainsAdvancedFilter, bool)

AsStringNotContainsAdvancedFilter is the BasicAdvancedFilter implementation for NumberNotInAdvancedFilter.

func (NumberNotInAdvancedFilter) AsStringNotEndsWithAdvancedFilter

func (nniaf NumberNotInAdvancedFilter) AsStringNotEndsWithAdvancedFilter() (*StringNotEndsWithAdvancedFilter, bool)

AsStringNotEndsWithAdvancedFilter is the BasicAdvancedFilter implementation for NumberNotInAdvancedFilter.

func (NumberNotInAdvancedFilter) AsStringNotInAdvancedFilter

func (nniaf NumberNotInAdvancedFilter) AsStringNotInAdvancedFilter() (*StringNotInAdvancedFilter, bool)

AsStringNotInAdvancedFilter is the BasicAdvancedFilter implementation for NumberNotInAdvancedFilter.

func (NumberNotInAdvancedFilter) MarshalJSON

func (nniaf NumberNotInAdvancedFilter) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for NumberNotInAdvancedFilter.

type NumberNotInRangeAdvancedFilter

type NumberNotInRangeAdvancedFilter struct {
	// Values - The set of filter values.
	Values *[][]float64 `json:"values,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"`
}

NumberNotInRangeAdvancedFilter numberNotInRange Advanced Filter.

func (NumberNotInRangeAdvancedFilter) AsAdvancedFilter

func (nniraf NumberNotInRangeAdvancedFilter) AsAdvancedFilter() (*AdvancedFilter, bool)

AsAdvancedFilter is the BasicAdvancedFilter implementation for NumberNotInRangeAdvancedFilter.

func (NumberNotInRangeAdvancedFilter) AsBasicAdvancedFilter

func (nniraf NumberNotInRangeAdvancedFilter) AsBasicAdvancedFilter() (BasicAdvancedFilter, bool)

AsBasicAdvancedFilter is the BasicAdvancedFilter implementation for NumberNotInRangeAdvancedFilter.

func (NumberNotInRangeAdvancedFilter) AsBoolEqualsAdvancedFilter

func (nniraf NumberNotInRangeAdvancedFilter) AsBoolEqualsAdvancedFilter() (*BoolEqualsAdvancedFilter, bool)

AsBoolEqualsAdvancedFilter is the BasicAdvancedFilter implementation for NumberNotInRangeAdvancedFilter.

func (NumberNotInRangeAdvancedFilter) AsIsNotNullAdvancedFilter

func (nniraf NumberNotInRangeAdvancedFilter) AsIsNotNullAdvancedFilter() (*IsNotNullAdvancedFilter, bool)

AsIsNotNullAdvancedFilter is the BasicAdvancedFilter implementation for NumberNotInRangeAdvancedFilter.

func (NumberNotInRangeAdvancedFilter) AsIsNullOrUndefinedAdvancedFilter

func (nniraf NumberNotInRangeAdvancedFilter) AsIsNullOrUndefinedAdvancedFilter() (*IsNullOrUndefinedAdvancedFilter, bool)

AsIsNullOrUndefinedAdvancedFilter is the BasicAdvancedFilter implementation for NumberNotInRangeAdvancedFilter.

func (NumberNotInRangeAdvancedFilter) AsNumberGreaterThanAdvancedFilter

func (nniraf NumberNotInRangeAdvancedFilter) AsNumberGreaterThanAdvancedFilter() (*NumberGreaterThanAdvancedFilter, bool)

AsNumberGreaterThanAdvancedFilter is the BasicAdvancedFilter implementation for NumberNotInRangeAdvancedFilter.

func (NumberNotInRangeAdvancedFilter) AsNumberGreaterThanOrEqualsAdvancedFilter

func (nniraf NumberNotInRangeAdvancedFilter) AsNumberGreaterThanOrEqualsAdvancedFilter() (*NumberGreaterThanOrEqualsAdvancedFilter, bool)

AsNumberGreaterThanOrEqualsAdvancedFilter is the BasicAdvancedFilter implementation for NumberNotInRangeAdvancedFilter.

func (NumberNotInRangeAdvancedFilter) AsNumberInAdvancedFilter

func (nniraf NumberNotInRangeAdvancedFilter) AsNumberInAdvancedFilter() (*NumberInAdvancedFilter, bool)

AsNumberInAdvancedFilter is the BasicAdvancedFilter implementation for NumberNotInRangeAdvancedFilter.

func (NumberNotInRangeAdvancedFilter) AsNumberInRangeAdvancedFilter

func (nniraf NumberNotInRangeAdvancedFilter) AsNumberInRangeAdvancedFilter() (*NumberInRangeAdvancedFilter, bool)

AsNumberInRangeAdvancedFilter is the BasicAdvancedFilter implementation for NumberNotInRangeAdvancedFilter.

func (NumberNotInRangeAdvancedFilter) AsNumberLessThanAdvancedFilter

func (nniraf NumberNotInRangeAdvancedFilter) AsNumberLessThanAdvancedFilter() (*NumberLessThanAdvancedFilter, bool)

AsNumberLessThanAdvancedFilter is the BasicAdvancedFilter implementation for NumberNotInRangeAdvancedFilter.

func (NumberNotInRangeAdvancedFilter) AsNumberLessThanOrEqualsAdvancedFilter

func (nniraf NumberNotInRangeAdvancedFilter) AsNumberLessThanOrEqualsAdvancedFilter() (*NumberLessThanOrEqualsAdvancedFilter, bool)

AsNumberLessThanOrEqualsAdvancedFilter is the BasicAdvancedFilter implementation for NumberNotInRangeAdvancedFilter.

func (NumberNotInRangeAdvancedFilter) AsNumberNotInAdvancedFilter

func (nniraf NumberNotInRangeAdvancedFilter) AsNumberNotInAdvancedFilter() (*NumberNotInAdvancedFilter, bool)

AsNumberNotInAdvancedFilter is the BasicAdvancedFilter implementation for NumberNotInRangeAdvancedFilter.

func (NumberNotInRangeAdvancedFilter) AsNumberNotInRangeAdvancedFilter

func (nniraf NumberNotInRangeAdvancedFilter) AsNumberNotInRangeAdvancedFilter() (*NumberNotInRangeAdvancedFilter, bool)

AsNumberNotInRangeAdvancedFilter is the BasicAdvancedFilter implementation for NumberNotInRangeAdvancedFilter.

func (NumberNotInRangeAdvancedFilter) AsStringBeginsWithAdvancedFilter

func (nniraf NumberNotInRangeAdvancedFilter) AsStringBeginsWithAdvancedFilter() (*StringBeginsWithAdvancedFilter, bool)

AsStringBeginsWithAdvancedFilter is the BasicAdvancedFilter implementation for NumberNotInRangeAdvancedFilter.

func (NumberNotInRangeAdvancedFilter) AsStringContainsAdvancedFilter

func (nniraf NumberNotInRangeAdvancedFilter) AsStringContainsAdvancedFilter() (*StringContainsAdvancedFilter, bool)

AsStringContainsAdvancedFilter is the BasicAdvancedFilter implementation for NumberNotInRangeAdvancedFilter.

func (NumberNotInRangeAdvancedFilter) AsStringEndsWithAdvancedFilter

func (nniraf NumberNotInRangeAdvancedFilter) AsStringEndsWithAdvancedFilter() (*StringEndsWithAdvancedFilter, bool)

AsStringEndsWithAdvancedFilter is the BasicAdvancedFilter implementation for NumberNotInRangeAdvancedFilter.

func (NumberNotInRangeAdvancedFilter) AsStringInAdvancedFilter

func (nniraf NumberNotInRangeAdvancedFilter) AsStringInAdvancedFilter() (*StringInAdvancedFilter, bool)

AsStringInAdvancedFilter is the BasicAdvancedFilter implementation for NumberNotInRangeAdvancedFilter.

func (NumberNotInRangeAdvancedFilter) AsStringNotBeginsWithAdvancedFilter

func (nniraf NumberNotInRangeAdvancedFilter) AsStringNotBeginsWithAdvancedFilter() (*StringNotBeginsWithAdvancedFilter, bool)

AsStringNotBeginsWithAdvancedFilter is the BasicAdvancedFilter implementation for NumberNotInRangeAdvancedFilter.

func (NumberNotInRangeAdvancedFilter) AsStringNotContainsAdvancedFilter

func (nniraf NumberNotInRangeAdvancedFilter) AsStringNotContainsAdvancedFilter() (*StringNotContainsAdvancedFilter, bool)

AsStringNotContainsAdvancedFilter is the BasicAdvancedFilter implementation for NumberNotInRangeAdvancedFilter.

func (NumberNotInRangeAdvancedFilter) AsStringNotEndsWithAdvancedFilter

func (nniraf NumberNotInRangeAdvancedFilter) AsStringNotEndsWithAdvancedFilter() (*StringNotEndsWithAdvancedFilter, bool)

AsStringNotEndsWithAdvancedFilter is the BasicAdvancedFilter implementation for NumberNotInRangeAdvancedFilter.

func (NumberNotInRangeAdvancedFilter) AsStringNotInAdvancedFilter

func (nniraf NumberNotInRangeAdvancedFilter) AsStringNotInAdvancedFilter() (*StringNotInAdvancedFilter, bool)

AsStringNotInAdvancedFilter is the BasicAdvancedFilter implementation for NumberNotInRangeAdvancedFilter.

func (NumberNotInRangeAdvancedFilter) MarshalJSON

func (nniraf NumberNotInRangeAdvancedFilter) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for NumberNotInRangeAdvancedFilter.

type Operation

type Operation struct {
	// Name - Name of the operation.
	Name *string `json:"name,omitempty"`
	// Display - Display name of the operation.
	Display *OperationInfo `json:"display,omitempty"`
	// Origin - Origin of the operation.
	Origin *string `json:"origin,omitempty"`
	// IsDataAction - This Boolean is used to determine if the operation is a data plane action or not.
	IsDataAction *bool `json:"isDataAction,omitempty"`
	// Properties - Properties of the operation.
	Properties interface{} `json:"properties,omitempty"`
}

Operation represents an operation returned by the GetOperations request.

type OperationInfo

type OperationInfo struct {
	// Provider - Name of the provider
	Provider *string `json:"provider,omitempty"`
	// Resource - Name of the resource type
	Resource *string `json:"resource,omitempty"`
	// Operation - Name of the operation
	Operation *string `json:"operation,omitempty"`
	// Description - Description of the operation
	Description *string `json:"description,omitempty"`
}

OperationInfo information about an operation

type OperationsClient

type OperationsClient struct {
	BaseClient
}

OperationsClient is the azure EventGrid Management Client

func NewOperationsClient

func NewOperationsClient(subscriptionID string) OperationsClient

NewOperationsClient creates an instance of the OperationsClient client.

func NewOperationsClientWithBaseURI

func NewOperationsClientWithBaseURI(baseURI string, subscriptionID string) OperationsClient

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

func (OperationsClient) List

func (client OperationsClient) List(ctx context.Context) (result OperationsListResult, err error)

List list the available operations supported by the Microsoft.EventGrid resource provider.

func (OperationsClient) ListPreparer

func (client OperationsClient) ListPreparer(ctx context.Context) (*http.Request, error)

ListPreparer prepares the List request.

func (OperationsClient) ListResponder

func (client OperationsClient) ListResponder(resp *http.Response) (result OperationsListResult, err error)

ListResponder handles the response to the List request. The method always closes the http.Response Body.

func (OperationsClient) ListSender

func (client OperationsClient) ListSender(req *http.Request) (*http.Response, error)

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

type OperationsListResult

type OperationsListResult struct {
	autorest.Response `json:"-"`
	// Value - A collection of operations
	Value *[]Operation `json:"value,omitempty"`
}

OperationsListResult result of the List Operations operation

type OperatorType

type OperatorType string

OperatorType enumerates the values for operator type.

const (
	// OperatorTypeAdvancedFilter ...
	OperatorTypeAdvancedFilter OperatorType = "AdvancedFilter"
	// OperatorTypeBoolEquals ...
	OperatorTypeBoolEquals OperatorType = "BoolEquals"
	// OperatorTypeIsNotNull ...
	OperatorTypeIsNotNull OperatorType = "IsNotNull"
	// OperatorTypeIsNullOrUndefined ...
	OperatorTypeIsNullOrUndefined OperatorType = "IsNullOrUndefined"
	// OperatorTypeNumberGreaterThan ...
	OperatorTypeNumberGreaterThan OperatorType = "NumberGreaterThan"
	// OperatorTypeNumberGreaterThanOrEquals ...
	OperatorTypeNumberGreaterThanOrEquals OperatorType = "NumberGreaterThanOrEquals"
	// OperatorTypeNumberIn ...
	OperatorTypeNumberIn OperatorType = "NumberIn"
	// OperatorTypeNumberInRange ...
	OperatorTypeNumberInRange OperatorType = "NumberInRange"
	// OperatorTypeNumberLessThan ...
	OperatorTypeNumberLessThan OperatorType = "NumberLessThan"
	// OperatorTypeNumberLessThanOrEquals ...
	OperatorTypeNumberLessThanOrEquals OperatorType = "NumberLessThanOrEquals"
	// OperatorTypeNumberNotIn ...
	OperatorTypeNumberNotIn OperatorType = "NumberNotIn"
	// OperatorTypeNumberNotInRange ...
	OperatorTypeNumberNotInRange OperatorType = "NumberNotInRange"
	// OperatorTypeStringBeginsWith ...
	OperatorTypeStringBeginsWith OperatorType = "StringBeginsWith"
	// OperatorTypeStringContains ...
	OperatorTypeStringContains OperatorType = "StringContains"
	// OperatorTypeStringEndsWith ...
	OperatorTypeStringEndsWith OperatorType = "StringEndsWith"
	// OperatorTypeStringIn ...
	OperatorTypeStringIn OperatorType = "StringIn"
	// OperatorTypeStringNotBeginsWith ...
	OperatorTypeStringNotBeginsWith OperatorType = "StringNotBeginsWith"
	// OperatorTypeStringNotContains ...
	OperatorTypeStringNotContains OperatorType = "StringNotContains"
	// OperatorTypeStringNotEndsWith ...
	OperatorTypeStringNotEndsWith OperatorType = "StringNotEndsWith"
	// OperatorTypeStringNotIn ...
	OperatorTypeStringNotIn OperatorType = "StringNotIn"
)

func PossibleOperatorTypeValues

func PossibleOperatorTypeValues() []OperatorType

PossibleOperatorTypeValues returns an array of possible values for the OperatorType const type.

type ParentType

type ParentType string

ParentType enumerates the values for parent type.

const (
	// ParentTypeDomains ...
	ParentTypeDomains ParentType = "domains"
	// ParentTypePartnerNamespaces ...
	ParentTypePartnerNamespaces ParentType = "partnerNamespaces"
	// ParentTypeTopics ...
	ParentTypeTopics ParentType = "topics"
)

func PossibleParentTypeValues

func PossibleParentTypeValues() []ParentType

PossibleParentTypeValues returns an array of possible values for the ParentType const type.

type Partner

type Partner struct {
	// PartnerRegistrationImmutableID - The immutableId of the corresponding partner registration.
	PartnerRegistrationImmutableID *uuid.UUID `json:"partnerRegistrationImmutableId,omitempty"`
	// PartnerName - The partner name.
	PartnerName *string `json:"partnerName,omitempty"`
	// AuthorizationExpirationTimeInUtc - Expiration time of the partner authorization. If this timer expires, any request from this partner to create, update or delete resources in subscriber's
	// context will fail. If specified, the allowed values are between 1 to the value of defaultMaximumExpirationTimeInDays specified in PartnerConfiguration.
	// If not specified, the default value will be the value of defaultMaximumExpirationTimeInDays specified in PartnerConfiguration or 7 if this value is not specified.
	AuthorizationExpirationTimeInUtc *date.Time `json:"authorizationExpirationTimeInUtc,omitempty"`
}

Partner information about the partner.

type PartnerAuthorization

type PartnerAuthorization struct {
	// DefaultMaximumExpirationTimeInDays - Time used to validate the authorization expiration time for each authorized partner. If DefaultMaximumExpirationTimeInDays is
	// not specified, the default is 7 days. Otherwise, allowed values are between 1 and 365 days.
	DefaultMaximumExpirationTimeInDays *int32 `json:"defaultMaximumExpirationTimeInDays,omitempty"`
	// AuthorizedPartnersList - The list of authorized partners.
	AuthorizedPartnersList *[]Partner `json:"authorizedPartnersList,omitempty"`
}

PartnerAuthorization the partner authorization details.

type PartnerClientAuthentication

type PartnerClientAuthentication struct {
	// ClientAuthenticationType - Possible values include: 'ClientAuthenticationTypePartnerClientAuthentication', 'ClientAuthenticationTypeAzureAD'
	ClientAuthenticationType ClientAuthenticationType `json:"clientAuthenticationType,omitempty"`
}

PartnerClientAuthentication partner client authentication

func (PartnerClientAuthentication) AsAzureADPartnerClientAuthentication

func (pca PartnerClientAuthentication) AsAzureADPartnerClientAuthentication() (*AzureADPartnerClientAuthentication, bool)

AsAzureADPartnerClientAuthentication is the BasicPartnerClientAuthentication implementation for PartnerClientAuthentication.

func (PartnerClientAuthentication) AsBasicPartnerClientAuthentication

func (pca PartnerClientAuthentication) AsBasicPartnerClientAuthentication() (BasicPartnerClientAuthentication, bool)

AsBasicPartnerClientAuthentication is the BasicPartnerClientAuthentication implementation for PartnerClientAuthentication.

func (PartnerClientAuthentication) AsPartnerClientAuthentication

func (pca PartnerClientAuthentication) AsPartnerClientAuthentication() (*PartnerClientAuthentication, bool)

AsPartnerClientAuthentication is the BasicPartnerClientAuthentication implementation for PartnerClientAuthentication.

func (PartnerClientAuthentication) MarshalJSON

func (pca PartnerClientAuthentication) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for PartnerClientAuthentication.

type PartnerConfiguration

type PartnerConfiguration struct {
	autorest.Response `json:"-"`
	// PartnerConfigurationProperties - Properties of the partner configuration.
	*PartnerConfigurationProperties `json:"properties,omitempty"`
	// SystemData - READ-ONLY; The system metadata relating to partner configuration resource.
	SystemData *SystemData `json:"systemData,omitempty"`
	// Location - Location of the resource.
	Location *string `json:"location,omitempty"`
	// Tags - Tags of the resource.
	Tags map[string]*string `json:"tags"`
	// ID - READ-ONLY; Fully qualified identifier of the resource.
	ID *string `json:"id,omitempty"`
	// Name - READ-ONLY; Name of the resource.
	Name *string `json:"name,omitempty"`
	// Type - READ-ONLY; Type of the resource.
	Type *string `json:"type,omitempty"`
}

PartnerConfiguration partner configuration information

func (PartnerConfiguration) MarshalJSON

func (pc PartnerConfiguration) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for PartnerConfiguration.

func (*PartnerConfiguration) UnmarshalJSON

func (pc *PartnerConfiguration) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for PartnerConfiguration struct.

type PartnerConfigurationProperties

type PartnerConfigurationProperties struct {
	// PartnerAuthorization - The details of authorized partners.
	PartnerAuthorization *PartnerAuthorization `json:"partnerAuthorization,omitempty"`
	// ProvisioningState - Provisioning state of the partner configuration. Possible values include: 'PartnerConfigurationProvisioningStateCreating', 'PartnerConfigurationProvisioningStateUpdating', 'PartnerConfigurationProvisioningStateDeleting', 'PartnerConfigurationProvisioningStateSucceeded', 'PartnerConfigurationProvisioningStateCanceled', 'PartnerConfigurationProvisioningStateFailed'
	ProvisioningState PartnerConfigurationProvisioningState `json:"provisioningState,omitempty"`
}

PartnerConfigurationProperties properties of the partner configuration.

type PartnerConfigurationProvisioningState

type PartnerConfigurationProvisioningState string

PartnerConfigurationProvisioningState enumerates the values for partner configuration provisioning state.

const (
	// PartnerConfigurationProvisioningStateCanceled ...
	PartnerConfigurationProvisioningStateCanceled PartnerConfigurationProvisioningState = "Canceled"
	// PartnerConfigurationProvisioningStateCreating ...
	PartnerConfigurationProvisioningStateCreating PartnerConfigurationProvisioningState = "Creating"
	// PartnerConfigurationProvisioningStateDeleting ...
	PartnerConfigurationProvisioningStateDeleting PartnerConfigurationProvisioningState = "Deleting"
	// PartnerConfigurationProvisioningStateFailed ...
	PartnerConfigurationProvisioningStateFailed PartnerConfigurationProvisioningState = "Failed"
	// PartnerConfigurationProvisioningStateSucceeded ...
	PartnerConfigurationProvisioningStateSucceeded PartnerConfigurationProvisioningState = "Succeeded"
	// PartnerConfigurationProvisioningStateUpdating ...
	PartnerConfigurationProvisioningStateUpdating PartnerConfigurationProvisioningState = "Updating"
)

func PossiblePartnerConfigurationProvisioningStateValues

func PossiblePartnerConfigurationProvisioningStateValues() []PartnerConfigurationProvisioningState

PossiblePartnerConfigurationProvisioningStateValues returns an array of possible values for the PartnerConfigurationProvisioningState const type.

type PartnerConfigurationUpdateParameterProperties

type PartnerConfigurationUpdateParameterProperties struct {
	// DefaultMaximumExpirationTimeInDays - The default time used to validate the maximum expiration time for each authorized partners in days. Allowed values ar between 1 and 365 days.
	DefaultMaximumExpirationTimeInDays *int32 `json:"defaultMaximumExpirationTimeInDays,omitempty"`
}

PartnerConfigurationUpdateParameterProperties information of partner configuration update parameter properties.

type PartnerConfigurationUpdateParameters

type PartnerConfigurationUpdateParameters struct {
	// Tags - Tags of the partner configuration resource.
	Tags map[string]*string `json:"tags"`
	// PartnerConfigurationUpdateParameterProperties - Properties of the Topic resource.
	*PartnerConfigurationUpdateParameterProperties `json:"properties,omitempty"`
}

PartnerConfigurationUpdateParameters properties of the partner configuration update.

func (PartnerConfigurationUpdateParameters) MarshalJSON

func (pcup PartnerConfigurationUpdateParameters) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for PartnerConfigurationUpdateParameters.

func (*PartnerConfigurationUpdateParameters) UnmarshalJSON

func (pcup *PartnerConfigurationUpdateParameters) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for PartnerConfigurationUpdateParameters struct.

type PartnerConfigurationsClient

type PartnerConfigurationsClient struct {
	BaseClient
}

PartnerConfigurationsClient is the azure EventGrid Management Client

func NewPartnerConfigurationsClient

func NewPartnerConfigurationsClient(subscriptionID string) PartnerConfigurationsClient

NewPartnerConfigurationsClient creates an instance of the PartnerConfigurationsClient client.

func NewPartnerConfigurationsClientWithBaseURI

func NewPartnerConfigurationsClientWithBaseURI(baseURI string, subscriptionID string) PartnerConfigurationsClient

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

func (PartnerConfigurationsClient) AuthorizePartner

func (client PartnerConfigurationsClient) AuthorizePartner(ctx context.Context, resourceGroupName string, partnerInfo Partner) (result PartnerConfiguration, err error)

AuthorizePartner authorize a single partner either by partner registration immutable Id or by partner name. Parameters: resourceGroupName - the name of the resource group within the user's subscription. partnerInfo - the information of the partner to be authorized.

func (PartnerConfigurationsClient) AuthorizePartnerPreparer

func (client PartnerConfigurationsClient) AuthorizePartnerPreparer(ctx context.Context, resourceGroupName string, partnerInfo Partner) (*http.Request, error)

AuthorizePartnerPreparer prepares the AuthorizePartner request.

func (PartnerConfigurationsClient) AuthorizePartnerResponder

func (client PartnerConfigurationsClient) AuthorizePartnerResponder(resp *http.Response) (result PartnerConfiguration, err error)

AuthorizePartnerResponder handles the response to the AuthorizePartner request. The method always closes the http.Response Body.

func (PartnerConfigurationsClient) AuthorizePartnerSender

func (client PartnerConfigurationsClient) AuthorizePartnerSender(req *http.Request) (*http.Response, error)

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

func (PartnerConfigurationsClient) CreateOrUpdate

func (client PartnerConfigurationsClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, partnerConfigurationInfo PartnerConfiguration) (result PartnerConfigurationsCreateOrUpdateFuture, err error)

CreateOrUpdate synchronously creates or updates a partner configuration with the specified parameters. Parameters: resourceGroupName - the name of the resource group within the user's subscription. partnerConfigurationInfo - partner configuration information.

func (PartnerConfigurationsClient) CreateOrUpdatePreparer

func (client PartnerConfigurationsClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, partnerConfigurationInfo PartnerConfiguration) (*http.Request, error)

CreateOrUpdatePreparer prepares the CreateOrUpdate request.

func (PartnerConfigurationsClient) CreateOrUpdateResponder

func (client PartnerConfigurationsClient) CreateOrUpdateResponder(resp *http.Response) (result PartnerConfiguration, err error)

CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always closes the http.Response Body.

func (PartnerConfigurationsClient) CreateOrUpdateSender

func (client PartnerConfigurationsClient) CreateOrUpdateSender(req *http.Request) (future PartnerConfigurationsCreateOrUpdateFuture, err error)

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

func (PartnerConfigurationsClient) Delete

func (client PartnerConfigurationsClient) Delete(ctx context.Context, resourceGroupName string) (result PartnerConfigurationsDeleteFuture, err error)

Delete delete existing partner configuration. Parameters: resourceGroupName - the name of the resource group within the user's subscription.

func (PartnerConfigurationsClient) DeletePreparer

func (client PartnerConfigurationsClient) DeletePreparer(ctx context.Context, resourceGroupName string) (*http.Request, error)

DeletePreparer prepares the Delete request.

func (PartnerConfigurationsClient) DeleteResponder

func (client PartnerConfigurationsClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)

DeleteResponder handles the response to the Delete request. The method always closes the http.Response Body.

func (PartnerConfigurationsClient) DeleteSender

func (client PartnerConfigurationsClient) DeleteSender(req *http.Request) (future PartnerConfigurationsDeleteFuture, err error)

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

func (PartnerConfigurationsClient) Get

func (client PartnerConfigurationsClient) Get(ctx context.Context, resourceGroupName string) (result PartnerConfiguration, err error)

Get get properties of a partner configuration. Parameters: resourceGroupName - the name of the resource group within the user's subscription.

func (PartnerConfigurationsClient) GetPreparer

func (client PartnerConfigurationsClient) GetPreparer(ctx context.Context, resourceGroupName string) (*http.Request, error)

GetPreparer prepares the Get request.

func (PartnerConfigurationsClient) GetResponder

func (client PartnerConfigurationsClient) GetResponder(resp *http.Response) (result PartnerConfiguration, err error)

GetResponder handles the response to the Get request. The method always closes the http.Response Body.

func (PartnerConfigurationsClient) GetSender

func (client PartnerConfigurationsClient) GetSender(req *http.Request) (*http.Response, error)

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

func (PartnerConfigurationsClient) ListByResourceGroup

func (client PartnerConfigurationsClient) ListByResourceGroup(ctx context.Context, resourceGroupName string) (result PartnerConfigurationsListResult, err error)

ListByResourceGroup list all the partner configurations under a resource group. Parameters: resourceGroupName - the name of the resource group within the user's subscription.

func (PartnerConfigurationsClient) ListByResourceGroupPreparer

func (client PartnerConfigurationsClient) ListByResourceGroupPreparer(ctx context.Context, resourceGroupName string) (*http.Request, error)

ListByResourceGroupPreparer prepares the ListByResourceGroup request.

func (PartnerConfigurationsClient) ListByResourceGroupResponder

func (client PartnerConfigurationsClient) ListByResourceGroupResponder(resp *http.Response) (result PartnerConfigurationsListResult, err error)

ListByResourceGroupResponder handles the response to the ListByResourceGroup request. The method always closes the http.Response Body.

func (PartnerConfigurationsClient) ListByResourceGroupSender

func (client PartnerConfigurationsClient) ListByResourceGroupSender(req *http.Request) (*http.Response, error)

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

func (PartnerConfigurationsClient) ListBySubscription

func (client PartnerConfigurationsClient) ListBySubscription(ctx context.Context, filter string, top *int32) (result PartnerConfigurationsListResultPage, err error)

ListBySubscription list all the partner configurations under an Azure subscription. Parameters: filter - the query used to filter the search results using OData syntax. Filtering is permitted on the 'name' property only and with limited number of OData operations. These operations are: the 'contains' function as well as the following logical operations: not, and, or, eq (for equal), and ne (for not equal). No arithmetic operations are supported. The following is a valid filter example: $filter=contains(namE, 'PATTERN') and name ne 'PATTERN-1'. The following is not a valid filter example: $filter=location eq 'westus'. top - the number of results to return per page for the list operation. Valid range for top parameter is 1 to 100. If not specified, the default number of results to be returned is 20 items per page.

func (PartnerConfigurationsClient) ListBySubscriptionComplete

func (client PartnerConfigurationsClient) ListBySubscriptionComplete(ctx context.Context, filter string, top *int32) (result PartnerConfigurationsListResultIterator, err error)

ListBySubscriptionComplete enumerates all values, automatically crossing page boundaries as required.

func (PartnerConfigurationsClient) ListBySubscriptionPreparer

func (client PartnerConfigurationsClient) ListBySubscriptionPreparer(ctx context.Context, filter string, top *int32) (*http.Request, error)

ListBySubscriptionPreparer prepares the ListBySubscription request.

func (PartnerConfigurationsClient) ListBySubscriptionResponder

func (client PartnerConfigurationsClient) ListBySubscriptionResponder(resp *http.Response) (result PartnerConfigurationsListResult, err error)

ListBySubscriptionResponder handles the response to the ListBySubscription request. The method always closes the http.Response Body.

func (PartnerConfigurationsClient) ListBySubscriptionSender

func (client PartnerConfigurationsClient) ListBySubscriptionSender(req *http.Request) (*http.Response, error)

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

func (PartnerConfigurationsClient) UnauthorizePartner

func (client PartnerConfigurationsClient) UnauthorizePartner(ctx context.Context, resourceGroupName string, partnerInfo Partner) (result PartnerConfiguration, err error)

UnauthorizePartner unauthorize a single partner either by partner registration immutable Id or by partner name. Parameters: resourceGroupName - the name of the resource group within the user's subscription. partnerInfo - the information of the partner to be unauthorized.

func (PartnerConfigurationsClient) UnauthorizePartnerPreparer

func (client PartnerConfigurationsClient) UnauthorizePartnerPreparer(ctx context.Context, resourceGroupName string, partnerInfo Partner) (*http.Request, error)

UnauthorizePartnerPreparer prepares the UnauthorizePartner request.

func (PartnerConfigurationsClient) UnauthorizePartnerResponder

func (client PartnerConfigurationsClient) UnauthorizePartnerResponder(resp *http.Response) (result PartnerConfiguration, err error)

UnauthorizePartnerResponder handles the response to the UnauthorizePartner request. The method always closes the http.Response Body.

func (PartnerConfigurationsClient) UnauthorizePartnerSender

func (client PartnerConfigurationsClient) UnauthorizePartnerSender(req *http.Request) (*http.Response, error)

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

func (PartnerConfigurationsClient) Update

func (client PartnerConfigurationsClient) Update(ctx context.Context, resourceGroupName string, partnerConfigurationUpdateParameters PartnerConfigurationUpdateParameters) (result PartnerConfigurationsUpdateFuture, err error)

Update synchronously updates a partner configuration with the specified parameters. Parameters: resourceGroupName - the name of the resource group within the user's subscription. partnerConfigurationUpdateParameters - partner configuration update information.

func (PartnerConfigurationsClient) UpdatePreparer

func (client PartnerConfigurationsClient) UpdatePreparer(ctx context.Context, resourceGroupName string, partnerConfigurationUpdateParameters PartnerConfigurationUpdateParameters) (*http.Request, error)

UpdatePreparer prepares the Update request.

func (PartnerConfigurationsClient) UpdateResponder

func (client PartnerConfigurationsClient) UpdateResponder(resp *http.Response) (result PartnerConfiguration, err error)

UpdateResponder handles the response to the Update request. The method always closes the http.Response Body.

func (PartnerConfigurationsClient) UpdateSender

func (client PartnerConfigurationsClient) UpdateSender(req *http.Request) (future PartnerConfigurationsUpdateFuture, err error)

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

type PartnerConfigurationsCreateOrUpdateFuture

type PartnerConfigurationsCreateOrUpdateFuture struct {
	azure.FutureAPI
	// Result returns the result of the asynchronous operation.
	// If the operation has not completed it will return an error.
	Result func(PartnerConfigurationsClient) (PartnerConfiguration, error)
}

PartnerConfigurationsCreateOrUpdateFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*PartnerConfigurationsCreateOrUpdateFuture) UnmarshalJSON

func (future *PartnerConfigurationsCreateOrUpdateFuture) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type PartnerConfigurationsDeleteFuture

type PartnerConfigurationsDeleteFuture struct {
	azure.FutureAPI
	// Result returns the result of the asynchronous operation.
	// If the operation has not completed it will return an error.
	Result func(PartnerConfigurationsClient) (autorest.Response, error)
}

PartnerConfigurationsDeleteFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*PartnerConfigurationsDeleteFuture) UnmarshalJSON

func (future *PartnerConfigurationsDeleteFuture) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type PartnerConfigurationsListResult

type PartnerConfigurationsListResult struct {
	autorest.Response `json:"-"`
	// Value - A collection of partner configurations.
	Value *[]PartnerConfiguration `json:"value,omitempty"`
	// NextLink - A link for the next page of partner configurations.
	NextLink *string `json:"nextLink,omitempty"`
}

PartnerConfigurationsListResult result of the List partner configurations operation

func (PartnerConfigurationsListResult) IsEmpty

func (pclr PartnerConfigurationsListResult) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type PartnerConfigurationsListResultIterator

type PartnerConfigurationsListResultIterator struct {
	// contains filtered or unexported fields
}

PartnerConfigurationsListResultIterator provides access to a complete listing of PartnerConfiguration values.

func NewPartnerConfigurationsListResultIterator

func NewPartnerConfigurationsListResultIterator(page PartnerConfigurationsListResultPage) PartnerConfigurationsListResultIterator

Creates a new instance of the PartnerConfigurationsListResultIterator type.

func (*PartnerConfigurationsListResultIterator) Next

Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*PartnerConfigurationsListResultIterator) NextWithContext

func (iter *PartnerConfigurationsListResultIterator) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.

func (PartnerConfigurationsListResultIterator) NotDone

NotDone returns true if the enumeration should be started or is not yet complete.

func (PartnerConfigurationsListResultIterator) Response

Response returns the raw server response from the last page request.

func (PartnerConfigurationsListResultIterator) Value

Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.

type PartnerConfigurationsListResultPage

type PartnerConfigurationsListResultPage struct {
	// contains filtered or unexported fields
}

PartnerConfigurationsListResultPage contains a page of PartnerConfiguration values.

func NewPartnerConfigurationsListResultPage

Creates a new instance of the PartnerConfigurationsListResultPage type.

func (*PartnerConfigurationsListResultPage) Next

Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*PartnerConfigurationsListResultPage) NextWithContext

func (page *PartnerConfigurationsListResultPage) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.

func (PartnerConfigurationsListResultPage) NotDone

NotDone returns true if the page enumeration should be started or is not yet complete.

func (PartnerConfigurationsListResultPage) Response

Response returns the raw server response from the last page request.

func (PartnerConfigurationsListResultPage) Values

Values returns the slice of values for the current page or nil if there are no values.

type PartnerConfigurationsUpdateFuture

type PartnerConfigurationsUpdateFuture struct {
	azure.FutureAPI
	// Result returns the result of the asynchronous operation.
	// If the operation has not completed it will return an error.
	Result func(PartnerConfigurationsClient) (PartnerConfiguration, error)
}

PartnerConfigurationsUpdateFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*PartnerConfigurationsUpdateFuture) UnmarshalJSON

func (future *PartnerConfigurationsUpdateFuture) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type PartnerDestination

type PartnerDestination struct {
	autorest.Response `json:"-"`
	// PartnerDestinationProperties - Properties of the Partner Destination.
	*PartnerDestinationProperties `json:"properties,omitempty"`
	// SystemData - READ-ONLY; The system metadata relating to Partner Destination resource.
	SystemData *SystemData `json:"systemData,omitempty"`
	// Location - Location of the resource.
	Location *string `json:"location,omitempty"`
	// Tags - Tags of the resource.
	Tags map[string]*string `json:"tags"`
	// ID - READ-ONLY; Fully qualified identifier of the resource.
	ID *string `json:"id,omitempty"`
	// Name - READ-ONLY; Name of the resource.
	Name *string `json:"name,omitempty"`
	// Type - READ-ONLY; Type of the resource.
	Type *string `json:"type,omitempty"`
}

PartnerDestination event Grid Partner Destination.

func (PartnerDestination) MarshalJSON

func (pd PartnerDestination) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for PartnerDestination.

func (*PartnerDestination) UnmarshalJSON

func (pd *PartnerDestination) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for PartnerDestination struct.

type PartnerDestinationActivationState

type PartnerDestinationActivationState string

PartnerDestinationActivationState enumerates the values for partner destination activation state.

const (
	// PartnerDestinationActivationStateActivated ...
	PartnerDestinationActivationStateActivated PartnerDestinationActivationState = "Activated"
	// PartnerDestinationActivationStateNeverActivated ...
	PartnerDestinationActivationStateNeverActivated PartnerDestinationActivationState = "NeverActivated"
)

func PossiblePartnerDestinationActivationStateValues

func PossiblePartnerDestinationActivationStateValues() []PartnerDestinationActivationState

PossiblePartnerDestinationActivationStateValues returns an array of possible values for the PartnerDestinationActivationState const type.

type PartnerDestinationInfo

type PartnerDestinationInfo struct {
	// AzureSubscriptionID - Azure subscription ID of the subscriber. The partner destination associated with the channel will be
	// created under this Azure subscription.
	AzureSubscriptionID *string `json:"azureSubscriptionId,omitempty"`
	// ResourceGroupName - Azure Resource Group of the subscriber. The partner destination associated with the channel will be
	// created under this resource group.
	ResourceGroupName *string `json:"resourceGroupName,omitempty"`
	// Name - Name of the partner destination associated with the channel.
	Name *string `json:"name,omitempty"`
	// EndpointServiceContext - Additional context of the partner destination endpoint.
	EndpointServiceContext *string `json:"endpointServiceContext,omitempty"`
	// ResourceMoveChangeHistory - Change history of the resource move.
	ResourceMoveChangeHistory *[]ResourceMoveChangeHistory `json:"resourceMoveChangeHistory,omitempty"`
	// EndpointType - Possible values include: 'EndpointTypePartnerDestinationInfo', 'EndpointTypeWebHook'
	EndpointType EndpointType `json:"endpointType,omitempty"`
}

PartnerDestinationInfo properties of the corresponding partner destination of a Channel.

func (PartnerDestinationInfo) AsBasicPartnerDestinationInfo

func (pdi PartnerDestinationInfo) AsBasicPartnerDestinationInfo() (BasicPartnerDestinationInfo, bool)

AsBasicPartnerDestinationInfo is the BasicPartnerDestinationInfo implementation for PartnerDestinationInfo.

func (PartnerDestinationInfo) AsPartnerDestinationInfo

func (pdi PartnerDestinationInfo) AsPartnerDestinationInfo() (*PartnerDestinationInfo, bool)

AsPartnerDestinationInfo is the BasicPartnerDestinationInfo implementation for PartnerDestinationInfo.

func (PartnerDestinationInfo) AsWebhookPartnerDestinationInfo

func (pdi PartnerDestinationInfo) AsWebhookPartnerDestinationInfo() (*WebhookPartnerDestinationInfo, bool)

AsWebhookPartnerDestinationInfo is the BasicPartnerDestinationInfo implementation for PartnerDestinationInfo.

func (PartnerDestinationInfo) MarshalJSON

func (pdi PartnerDestinationInfo) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for PartnerDestinationInfo.

type PartnerDestinationProperties

type PartnerDestinationProperties struct {
	// PartnerRegistrationImmutableID - The immutable Id of the corresponding partner registration.
	PartnerRegistrationImmutableID *uuid.UUID `json:"partnerRegistrationImmutableId,omitempty"`
	// EndpointServiceContext - Endpoint context associated with this partner destination.
	EndpointServiceContext *string `json:"endpointServiceContext,omitempty"`
	// ExpirationTimeIfNotActivatedUtc - Expiration time of the partner destination. If this timer expires and the partner destination was never activated,
	// the partner destination and corresponding channel are deleted.
	ExpirationTimeIfNotActivatedUtc *date.Time `json:"expirationTimeIfNotActivatedUtc,omitempty"`
	// ProvisioningState - Provisioning state of the partner destination. Possible values include: 'PartnerDestinationProvisioningStateCreating', 'PartnerDestinationProvisioningStateUpdating', 'PartnerDestinationProvisioningStateDeleting', 'PartnerDestinationProvisioningStateSucceeded', 'PartnerDestinationProvisioningStateCanceled', 'PartnerDestinationProvisioningStateFailed'
	ProvisioningState PartnerDestinationProvisioningState `json:"provisioningState,omitempty"`
	// ActivationState - Activation state of the partner destination. Possible values include: 'PartnerDestinationActivationStateNeverActivated', 'PartnerDestinationActivationStateActivated'
	ActivationState PartnerDestinationActivationState `json:"activationState,omitempty"`
	// EndpointBaseURL - Endpoint Base URL of the partner destination
	EndpointBaseURL *string `json:"endpointBaseUrl,omitempty"`
	// MessageForActivation - Context or helpful message that can be used during the approval process.
	MessageForActivation *string `json:"messageForActivation,omitempty"`
}

PartnerDestinationProperties properties of the Partner Destination.

type PartnerDestinationProvisioningState

type PartnerDestinationProvisioningState string

PartnerDestinationProvisioningState enumerates the values for partner destination provisioning state.

const (
	// PartnerDestinationProvisioningStateCanceled ...
	PartnerDestinationProvisioningStateCanceled PartnerDestinationProvisioningState = "Canceled"
	// PartnerDestinationProvisioningStateCreating ...
	PartnerDestinationProvisioningStateCreating PartnerDestinationProvisioningState = "Creating"
	// PartnerDestinationProvisioningStateDeleting ...
	PartnerDestinationProvisioningStateDeleting PartnerDestinationProvisioningState = "Deleting"
	// PartnerDestinationProvisioningStateFailed ...
	PartnerDestinationProvisioningStateFailed PartnerDestinationProvisioningState = "Failed"
	// PartnerDestinationProvisioningStateSucceeded ...
	PartnerDestinationProvisioningStateSucceeded PartnerDestinationProvisioningState = "Succeeded"
	// PartnerDestinationProvisioningStateUpdating ...
	PartnerDestinationProvisioningStateUpdating PartnerDestinationProvisioningState = "Updating"
)

func PossiblePartnerDestinationProvisioningStateValues

func PossiblePartnerDestinationProvisioningStateValues() []PartnerDestinationProvisioningState

PossiblePartnerDestinationProvisioningStateValues returns an array of possible values for the PartnerDestinationProvisioningState const type.

type PartnerDestinationUpdateParameters

type PartnerDestinationUpdateParameters struct {
	// Tags - Tags of the Partner Destination resource.
	Tags map[string]*string `json:"tags"`
}

PartnerDestinationUpdateParameters properties of the Partner Destination that can be updated.

func (PartnerDestinationUpdateParameters) MarshalJSON

func (pdup PartnerDestinationUpdateParameters) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for PartnerDestinationUpdateParameters.

type PartnerDestinationsClient

type PartnerDestinationsClient struct {
	BaseClient
}

PartnerDestinationsClient is the azure EventGrid Management Client

func NewPartnerDestinationsClient

func NewPartnerDestinationsClient(subscriptionID string) PartnerDestinationsClient

NewPartnerDestinationsClient creates an instance of the PartnerDestinationsClient client.

func NewPartnerDestinationsClientWithBaseURI

func NewPartnerDestinationsClientWithBaseURI(baseURI string, subscriptionID string) PartnerDestinationsClient

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

func (PartnerDestinationsClient) Activate

func (client PartnerDestinationsClient) Activate(ctx context.Context, resourceGroupName string, partnerDestinationName string) (result PartnerDestination, err error)

Activate activate a newly created partner destination. Parameters: resourceGroupName - the name of the resource group within the user's subscription. partnerDestinationName - name of the partner destination.

func (PartnerDestinationsClient) ActivatePreparer

func (client PartnerDestinationsClient) ActivatePreparer(ctx context.Context, resourceGroupName string, partnerDestinationName string) (*http.Request, error)

ActivatePreparer prepares the Activate request.

func (PartnerDestinationsClient) ActivateResponder

func (client PartnerDestinationsClient) ActivateResponder(resp *http.Response) (result PartnerDestination, err error)

ActivateResponder handles the response to the Activate request. The method always closes the http.Response Body.

func (PartnerDestinationsClient) ActivateSender

func (client PartnerDestinationsClient) ActivateSender(req *http.Request) (*http.Response, error)

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

func (PartnerDestinationsClient) CreateOrUpdate

func (client PartnerDestinationsClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, partnerDestinationName string, partnerDestination PartnerDestination) (result PartnerDestination, err error)

CreateOrUpdate asynchronously creates a new partner destination with the specified parameters. Parameters: resourceGroupName - the name of the resource group within the user's subscription. partnerDestinationName - name of the partner destination. partnerDestination - partner destination create information.

func (PartnerDestinationsClient) CreateOrUpdatePreparer

func (client PartnerDestinationsClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, partnerDestinationName string, partnerDestination PartnerDestination) (*http.Request, error)

CreateOrUpdatePreparer prepares the CreateOrUpdate request.

func (PartnerDestinationsClient) CreateOrUpdateResponder

func (client PartnerDestinationsClient) CreateOrUpdateResponder(resp *http.Response) (result PartnerDestination, err error)

CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always closes the http.Response Body.

func (PartnerDestinationsClient) CreateOrUpdateSender

func (client PartnerDestinationsClient) CreateOrUpdateSender(req *http.Request) (*http.Response, error)

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

func (PartnerDestinationsClient) Delete

func (client PartnerDestinationsClient) Delete(ctx context.Context, resourceGroupName string, partnerDestinationName string) (result PartnerDestinationsDeleteFuture, err error)

Delete delete existing partner destination. Parameters: resourceGroupName - the name of the resource group within the user's subscription. partnerDestinationName - name of the partner destination.

func (PartnerDestinationsClient) DeletePreparer

func (client PartnerDestinationsClient) DeletePreparer(ctx context.Context, resourceGroupName string, partnerDestinationName string) (*http.Request, error)

DeletePreparer prepares the Delete request.

func (PartnerDestinationsClient) DeleteResponder

func (client PartnerDestinationsClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)

DeleteResponder handles the response to the Delete request. The method always closes the http.Response Body.

func (PartnerDestinationsClient) DeleteSender

func (client PartnerDestinationsClient) DeleteSender(req *http.Request) (future PartnerDestinationsDeleteFuture, err error)

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

func (PartnerDestinationsClient) Get

func (client PartnerDestinationsClient) Get(ctx context.Context, resourceGroupName string, partnerDestinationName string) (result PartnerDestination, err error)

Get get properties of a partner destination. Parameters: resourceGroupName - the name of the resource group within the user's subscription. partnerDestinationName - name of the partner destination.

func (PartnerDestinationsClient) GetPreparer

func (client PartnerDestinationsClient) GetPreparer(ctx context.Context, resourceGroupName string, partnerDestinationName string) (*http.Request, error)

GetPreparer prepares the Get request.

func (PartnerDestinationsClient) GetResponder

func (client PartnerDestinationsClient) GetResponder(resp *http.Response) (result PartnerDestination, err error)

GetResponder handles the response to the Get request. The method always closes the http.Response Body.

func (PartnerDestinationsClient) GetSender

func (client PartnerDestinationsClient) GetSender(req *http.Request) (*http.Response, error)

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

func (PartnerDestinationsClient) ListByResourceGroup

func (client PartnerDestinationsClient) ListByResourceGroup(ctx context.Context, resourceGroupName string, filter string, top *int32) (result PartnerDestinationsListResultPage, err error)

ListByResourceGroup list all the partner destinations under a resource group. Parameters: resourceGroupName - the name of the resource group within the user's subscription. filter - the query used to filter the search results using OData syntax. Filtering is permitted on the 'name' property only and with limited number of OData operations. These operations are: the 'contains' function as well as the following logical operations: not, and, or, eq (for equal), and ne (for not equal). No arithmetic operations are supported. The following is a valid filter example: $filter=contains(namE, 'PATTERN') and name ne 'PATTERN-1'. The following is not a valid filter example: $filter=location eq 'westus'. top - the number of results to return per page for the list operation. Valid range for top parameter is 1 to 100. If not specified, the default number of results to be returned is 20 items per page.

func (PartnerDestinationsClient) ListByResourceGroupComplete

func (client PartnerDestinationsClient) ListByResourceGroupComplete(ctx context.Context, resourceGroupName string, filter string, top *int32) (result PartnerDestinationsListResultIterator, err error)

ListByResourceGroupComplete enumerates all values, automatically crossing page boundaries as required.

func (PartnerDestinationsClient) ListByResourceGroupPreparer

func (client PartnerDestinationsClient) ListByResourceGroupPreparer(ctx context.Context, resourceGroupName string, filter string, top *int32) (*http.Request, error)

ListByResourceGroupPreparer prepares the ListByResourceGroup request.

func (PartnerDestinationsClient) ListByResourceGroupResponder

func (client PartnerDestinationsClient) ListByResourceGroupResponder(resp *http.Response) (result PartnerDestinationsListResult, err error)

ListByResourceGroupResponder handles the response to the ListByResourceGroup request. The method always closes the http.Response Body.

func (PartnerDestinationsClient) ListByResourceGroupSender

func (client PartnerDestinationsClient) ListByResourceGroupSender(req *http.Request) (*http.Response, error)

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

func (PartnerDestinationsClient) ListBySubscription

func (client PartnerDestinationsClient) ListBySubscription(ctx context.Context, filter string, top *int32) (result PartnerDestinationsListResultPage, err error)

ListBySubscription list all the partner destinations under an Azure subscription. Parameters: filter - the query used to filter the search results using OData syntax. Filtering is permitted on the 'name' property only and with limited number of OData operations. These operations are: the 'contains' function as well as the following logical operations: not, and, or, eq (for equal), and ne (for not equal). No arithmetic operations are supported. The following is a valid filter example: $filter=contains(namE, 'PATTERN') and name ne 'PATTERN-1'. The following is not a valid filter example: $filter=location eq 'westus'. top - the number of results to return per page for the list operation. Valid range for top parameter is 1 to 100. If not specified, the default number of results to be returned is 20 items per page.

func (PartnerDestinationsClient) ListBySubscriptionComplete

func (client PartnerDestinationsClient) ListBySubscriptionComplete(ctx context.Context, filter string, top *int32) (result PartnerDestinationsListResultIterator, err error)

ListBySubscriptionComplete enumerates all values, automatically crossing page boundaries as required.

func (PartnerDestinationsClient) ListBySubscriptionPreparer

func (client PartnerDestinationsClient) ListBySubscriptionPreparer(ctx context.Context, filter string, top *int32) (*http.Request, error)

ListBySubscriptionPreparer prepares the ListBySubscription request.

func (PartnerDestinationsClient) ListBySubscriptionResponder

func (client PartnerDestinationsClient) ListBySubscriptionResponder(resp *http.Response) (result PartnerDestinationsListResult, err error)

ListBySubscriptionResponder handles the response to the ListBySubscription request. The method always closes the http.Response Body.

func (PartnerDestinationsClient) ListBySubscriptionSender

func (client PartnerDestinationsClient) ListBySubscriptionSender(req *http.Request) (*http.Response, error)

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

func (PartnerDestinationsClient) Update

func (client PartnerDestinationsClient) Update(ctx context.Context, resourceGroupName string, partnerDestinationName string, partnerDestinationUpdateParameters PartnerDestinationUpdateParameters) (result PartnerDestination, err error)

Update asynchronously updates a partner destination with the specified parameters. Parameters: resourceGroupName - the name of the resource group within the user's subscription. partnerDestinationName - name of the partner destination. partnerDestinationUpdateParameters - partner destination update information.

func (PartnerDestinationsClient) UpdatePreparer

func (client PartnerDestinationsClient) UpdatePreparer(ctx context.Context, resourceGroupName string, partnerDestinationName string, partnerDestinationUpdateParameters PartnerDestinationUpdateParameters) (*http.Request, error)

UpdatePreparer prepares the Update request.

func (PartnerDestinationsClient) UpdateResponder

func (client PartnerDestinationsClient) UpdateResponder(resp *http.Response) (result PartnerDestination, err error)

UpdateResponder handles the response to the Update request. The method always closes the http.Response Body.

func (PartnerDestinationsClient) UpdateSender

func (client PartnerDestinationsClient) UpdateSender(req *http.Request) (*http.Response, error)

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

type PartnerDestinationsDeleteFuture

type PartnerDestinationsDeleteFuture struct {
	azure.FutureAPI
	// Result returns the result of the asynchronous operation.
	// If the operation has not completed it will return an error.
	Result func(PartnerDestinationsClient) (autorest.Response, error)
}

PartnerDestinationsDeleteFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*PartnerDestinationsDeleteFuture) UnmarshalJSON

func (future *PartnerDestinationsDeleteFuture) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type PartnerDestinationsListResult

type PartnerDestinationsListResult struct {
	autorest.Response `json:"-"`
	// Value - A collection of partner destinations.
	Value *[]PartnerDestination `json:"value,omitempty"`
	// NextLink - A link for the next page of partner destinations.
	NextLink *string `json:"nextLink,omitempty"`
}

PartnerDestinationsListResult result of the List Partner Destinations operation.

func (PartnerDestinationsListResult) IsEmpty

func (pdlr PartnerDestinationsListResult) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type PartnerDestinationsListResultIterator

type PartnerDestinationsListResultIterator struct {
	// contains filtered or unexported fields
}

PartnerDestinationsListResultIterator provides access to a complete listing of PartnerDestination values.

func NewPartnerDestinationsListResultIterator

func NewPartnerDestinationsListResultIterator(page PartnerDestinationsListResultPage) PartnerDestinationsListResultIterator

Creates a new instance of the PartnerDestinationsListResultIterator type.

func (*PartnerDestinationsListResultIterator) Next

Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*PartnerDestinationsListResultIterator) NextWithContext

func (iter *PartnerDestinationsListResultIterator) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.

func (PartnerDestinationsListResultIterator) NotDone

NotDone returns true if the enumeration should be started or is not yet complete.

func (PartnerDestinationsListResultIterator) Response

Response returns the raw server response from the last page request.

func (PartnerDestinationsListResultIterator) Value

Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.

type PartnerDestinationsListResultPage

type PartnerDestinationsListResultPage struct {
	// contains filtered or unexported fields
}

PartnerDestinationsListResultPage contains a page of PartnerDestination values.

func NewPartnerDestinationsListResultPage

Creates a new instance of the PartnerDestinationsListResultPage type.

func (*PartnerDestinationsListResultPage) Next

Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*PartnerDestinationsListResultPage) NextWithContext

func (page *PartnerDestinationsListResultPage) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.

func (PartnerDestinationsListResultPage) NotDone

func (page PartnerDestinationsListResultPage) NotDone() bool

NotDone returns true if the page enumeration should be started or is not yet complete.

func (PartnerDestinationsListResultPage) Response

Response returns the raw server response from the last page request.

func (PartnerDestinationsListResultPage) Values

Values returns the slice of values for the current page or nil if there are no values.

type PartnerDetails

type PartnerDetails struct {
	// Description - This is short description about the partner. The length of this description should not exceed 256 characters.
	Description *string `json:"description,omitempty"`
	// LongDescription - Long description for the partner's scenarios and integration.Length of this description should not exceed 2048 characters.
	LongDescription *string `json:"longDescription,omitempty"`
	// SetupURI - URI of the partner website that can be used by Azure customers to setup Event Grid
	// integration on an event source.
	SetupURI *string `json:"setupUri,omitempty"`
}

PartnerDetails information about the partner.

type PartnerEventSubscriptionDestination

type PartnerEventSubscriptionDestination struct {
	// PartnerEventSubscriptionDestinationProperties - Partner Destination Properties of the event subscription destination.
	*PartnerEventSubscriptionDestinationProperties `json:"properties,omitempty"`
	// EndpointType - Possible values include: 'EndpointTypeBasicEventSubscriptionDestinationEndpointTypeEventSubscriptionDestination', 'EndpointTypeBasicEventSubscriptionDestinationEndpointTypeWebHook', 'EndpointTypeBasicEventSubscriptionDestinationEndpointTypeEventHub', 'EndpointTypeBasicEventSubscriptionDestinationEndpointTypeStorageQueue', 'EndpointTypeBasicEventSubscriptionDestinationEndpointTypeHybridConnection', 'EndpointTypeBasicEventSubscriptionDestinationEndpointTypeServiceBusQueue', 'EndpointTypeBasicEventSubscriptionDestinationEndpointTypeServiceBusTopic', 'EndpointTypeBasicEventSubscriptionDestinationEndpointTypeAzureFunction', 'EndpointTypeBasicEventSubscriptionDestinationEndpointTypePartnerDestination'
	EndpointType EndpointTypeBasicEventSubscriptionDestination `json:"endpointType,omitempty"`
}

PartnerEventSubscriptionDestination ...

func (PartnerEventSubscriptionDestination) AsAzureFunctionEventSubscriptionDestination

func (pesd PartnerEventSubscriptionDestination) AsAzureFunctionEventSubscriptionDestination() (*AzureFunctionEventSubscriptionDestination, bool)

AsAzureFunctionEventSubscriptionDestination is the BasicEventSubscriptionDestination implementation for PartnerEventSubscriptionDestination.

func (PartnerEventSubscriptionDestination) AsBasicEventSubscriptionDestination

func (pesd PartnerEventSubscriptionDestination) AsBasicEventSubscriptionDestination() (BasicEventSubscriptionDestination, bool)

AsBasicEventSubscriptionDestination is the BasicEventSubscriptionDestination implementation for PartnerEventSubscriptionDestination.

func (PartnerEventSubscriptionDestination) AsEventHubEventSubscriptionDestination

func (pesd PartnerEventSubscriptionDestination) AsEventHubEventSubscriptionDestination() (*EventHubEventSubscriptionDestination, bool)

AsEventHubEventSubscriptionDestination is the BasicEventSubscriptionDestination implementation for PartnerEventSubscriptionDestination.

func (PartnerEventSubscriptionDestination) AsEventSubscriptionDestination

func (pesd PartnerEventSubscriptionDestination) AsEventSubscriptionDestination() (*EventSubscriptionDestination, bool)

AsEventSubscriptionDestination is the BasicEventSubscriptionDestination implementation for PartnerEventSubscriptionDestination.

func (PartnerEventSubscriptionDestination) AsHybridConnectionEventSubscriptionDestination

func (pesd PartnerEventSubscriptionDestination) AsHybridConnectionEventSubscriptionDestination() (*HybridConnectionEventSubscriptionDestination, bool)

AsHybridConnectionEventSubscriptionDestination is the BasicEventSubscriptionDestination implementation for PartnerEventSubscriptionDestination.

func (PartnerEventSubscriptionDestination) AsPartnerEventSubscriptionDestination

func (pesd PartnerEventSubscriptionDestination) AsPartnerEventSubscriptionDestination() (*PartnerEventSubscriptionDestination, bool)

AsPartnerEventSubscriptionDestination is the BasicEventSubscriptionDestination implementation for PartnerEventSubscriptionDestination.

func (PartnerEventSubscriptionDestination) AsServiceBusQueueEventSubscriptionDestination

func (pesd PartnerEventSubscriptionDestination) AsServiceBusQueueEventSubscriptionDestination() (*ServiceBusQueueEventSubscriptionDestination, bool)

AsServiceBusQueueEventSubscriptionDestination is the BasicEventSubscriptionDestination implementation for PartnerEventSubscriptionDestination.

func (PartnerEventSubscriptionDestination) AsServiceBusTopicEventSubscriptionDestination

func (pesd PartnerEventSubscriptionDestination) AsServiceBusTopicEventSubscriptionDestination() (*ServiceBusTopicEventSubscriptionDestination, bool)

AsServiceBusTopicEventSubscriptionDestination is the BasicEventSubscriptionDestination implementation for PartnerEventSubscriptionDestination.

func (PartnerEventSubscriptionDestination) AsStorageQueueEventSubscriptionDestination

func (pesd PartnerEventSubscriptionDestination) AsStorageQueueEventSubscriptionDestination() (*StorageQueueEventSubscriptionDestination, bool)

AsStorageQueueEventSubscriptionDestination is the BasicEventSubscriptionDestination implementation for PartnerEventSubscriptionDestination.

func (PartnerEventSubscriptionDestination) AsWebHookEventSubscriptionDestination

func (pesd PartnerEventSubscriptionDestination) AsWebHookEventSubscriptionDestination() (*WebHookEventSubscriptionDestination, bool)

AsWebHookEventSubscriptionDestination is the BasicEventSubscriptionDestination implementation for PartnerEventSubscriptionDestination.

func (PartnerEventSubscriptionDestination) MarshalJSON

func (pesd PartnerEventSubscriptionDestination) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for PartnerEventSubscriptionDestination.

func (*PartnerEventSubscriptionDestination) UnmarshalJSON

func (pesd *PartnerEventSubscriptionDestination) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for PartnerEventSubscriptionDestination struct.

type PartnerEventSubscriptionDestinationProperties

type PartnerEventSubscriptionDestinationProperties struct {
	// ResourceID - The Azure Resource Id that represents the endpoint of a Partner Destination of an event subscription.
	ResourceID *string `json:"resourceId,omitempty"`
}

PartnerEventSubscriptionDestinationProperties ...

type PartnerNamespace

type PartnerNamespace struct {
	autorest.Response `json:"-"`
	// PartnerNamespaceProperties - Properties of the Partner Namespace.
	*PartnerNamespaceProperties `json:"properties,omitempty"`
	// SystemData - READ-ONLY; The system metadata relating to Partner Namespace resource.
	SystemData *SystemData `json:"systemData,omitempty"`
	// Location - Location of the resource.
	Location *string `json:"location,omitempty"`
	// Tags - Tags of the resource.
	Tags map[string]*string `json:"tags"`
	// ID - READ-ONLY; Fully qualified identifier of the resource.
	ID *string `json:"id,omitempty"`
	// Name - READ-ONLY; Name of the resource.
	Name *string `json:"name,omitempty"`
	// Type - READ-ONLY; Type of the resource.
	Type *string `json:"type,omitempty"`
}

PartnerNamespace eventGrid Partner Namespace.

func (PartnerNamespace) MarshalJSON

func (pn PartnerNamespace) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for PartnerNamespace.

func (*PartnerNamespace) UnmarshalJSON

func (pn *PartnerNamespace) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for PartnerNamespace struct.

type PartnerNamespaceProperties

type PartnerNamespaceProperties struct {
	// PrivateEndpointConnections - READ-ONLY
	PrivateEndpointConnections *[]PrivateEndpointConnection `json:"privateEndpointConnections,omitempty"`
	// ProvisioningState - READ-ONLY; Provisioning state of the partner namespace. Possible values include: 'PartnerNamespaceProvisioningStateCreating', 'PartnerNamespaceProvisioningStateUpdating', 'PartnerNamespaceProvisioningStateDeleting', 'PartnerNamespaceProvisioningStateSucceeded', 'PartnerNamespaceProvisioningStateCanceled', 'PartnerNamespaceProvisioningStateFailed'
	ProvisioningState PartnerNamespaceProvisioningState `json:"provisioningState,omitempty"`
	// PartnerRegistrationFullyQualifiedID - The fully qualified ARM Id of the partner registration that should be associated with this partner namespace. This takes the following format:
	// /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventGrid/partnerRegistrations/{partnerRegistrationName}.
	PartnerRegistrationFullyQualifiedID *string `json:"partnerRegistrationFullyQualifiedId,omitempty"`
	// Endpoint - READ-ONLY; Endpoint for the partner namespace.
	Endpoint *string `json:"endpoint,omitempty"`
	// PublicNetworkAccess - This determines if traffic is allowed over public network. By default it is enabled.
	// You can further restrict to specific IPs by configuring <seealso cref="P:Microsoft.Azure.Events.ResourceProvider.Common.Contracts.PartnerNamespaceProperties.InboundIpRules" />. Possible values include: 'PublicNetworkAccessEnabled', 'PublicNetworkAccessDisabled'
	PublicNetworkAccess PublicNetworkAccess `json:"publicNetworkAccess,omitempty"`
	// InboundIPRules - This can be used to restrict traffic from specific IPs instead of all IPs. Note: These are considered only if PublicNetworkAccess is enabled.
	InboundIPRules *[]InboundIPRule `json:"inboundIpRules,omitempty"`
	// DisableLocalAuth - This boolean is used to enable or disable local auth. Default value is false. When the property is set to true, only AAD token will be used to authenticate if user is allowed to publish to the partner namespace.
	DisableLocalAuth *bool `json:"disableLocalAuth,omitempty"`
	// PartnerTopicRoutingMode - This determines if events published to this partner namespace should use the source attribute in the event payload
	// or use the channel name in the header when matching to the partner topic. If none is specified, source attribute routing will be used to match the partner topic. Possible values include: 'PartnerTopicRoutingModeSourceEventAttribute', 'PartnerTopicRoutingModeChannelNameHeader'
	PartnerTopicRoutingMode PartnerTopicRoutingMode `json:"partnerTopicRoutingMode,omitempty"`
}

PartnerNamespaceProperties properties of the partner namespace.

func (PartnerNamespaceProperties) MarshalJSON

func (pnp PartnerNamespaceProperties) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for PartnerNamespaceProperties.

type PartnerNamespaceProvisioningState

type PartnerNamespaceProvisioningState string

PartnerNamespaceProvisioningState enumerates the values for partner namespace provisioning state.

const (
	// PartnerNamespaceProvisioningStateCanceled ...
	PartnerNamespaceProvisioningStateCanceled PartnerNamespaceProvisioningState = "Canceled"
	// PartnerNamespaceProvisioningStateCreating ...
	PartnerNamespaceProvisioningStateCreating PartnerNamespaceProvisioningState = "Creating"
	// PartnerNamespaceProvisioningStateDeleting ...
	PartnerNamespaceProvisioningStateDeleting PartnerNamespaceProvisioningState = "Deleting"
	// PartnerNamespaceProvisioningStateFailed ...
	PartnerNamespaceProvisioningStateFailed PartnerNamespaceProvisioningState = "Failed"
	// PartnerNamespaceProvisioningStateSucceeded ...
	PartnerNamespaceProvisioningStateSucceeded PartnerNamespaceProvisioningState = "Succeeded"
	// PartnerNamespaceProvisioningStateUpdating ...
	PartnerNamespaceProvisioningStateUpdating PartnerNamespaceProvisioningState = "Updating"
)

func PossiblePartnerNamespaceProvisioningStateValues

func PossiblePartnerNamespaceProvisioningStateValues() []PartnerNamespaceProvisioningState

PossiblePartnerNamespaceProvisioningStateValues returns an array of possible values for the PartnerNamespaceProvisioningState const type.

type PartnerNamespaceRegenerateKeyRequest

type PartnerNamespaceRegenerateKeyRequest struct {
	// KeyName - Key name to regenerate (key1 or key2).
	KeyName *string `json:"keyName,omitempty"`
}

PartnerNamespaceRegenerateKeyRequest partnerNamespace regenerate shared access key request.

type PartnerNamespaceSharedAccessKeys

type PartnerNamespaceSharedAccessKeys struct {
	autorest.Response `json:"-"`
	// Key1 - Shared access key1 for the partner namespace.
	Key1 *string `json:"key1,omitempty"`
	// Key2 - Shared access key2 for the partner namespace.
	Key2 *string `json:"key2,omitempty"`
}

PartnerNamespaceSharedAccessKeys shared access keys of the partner namespace.

type PartnerNamespaceUpdateParameterProperties

type PartnerNamespaceUpdateParameterProperties struct {
	// PublicNetworkAccess - This determines if traffic is allowed over public network. By default it is enabled.
	// You can further restrict to specific IPs by configuring <seealso cref="P:Microsoft.Azure.Events.ResourceProvider.Common.Contracts.PartnerNamespaceUpdateParameterProperties.InboundIpRules" />. Possible values include: 'PublicNetworkAccessEnabled', 'PublicNetworkAccessDisabled'
	PublicNetworkAccess PublicNetworkAccess `json:"publicNetworkAccess,omitempty"`
	// InboundIPRules - This can be used to restrict traffic from specific IPs instead of all IPs. Note: These are considered only if PublicNetworkAccess is enabled.
	InboundIPRules *[]InboundIPRule `json:"inboundIpRules,omitempty"`
	// DisableLocalAuth - This boolean is used to enable or disable local auth. Default value is false. When the property is set to true, only AAD token will be used to authenticate if user is allowed to publish to the partner namespace.
	DisableLocalAuth *bool `json:"disableLocalAuth,omitempty"`
}

PartnerNamespaceUpdateParameterProperties information of Partner Namespace update parameter properties.

type PartnerNamespaceUpdateParameters

type PartnerNamespaceUpdateParameters struct {
	// Tags - Tags of the Partner Namespace.
	Tags map[string]*string `json:"tags"`
	// PartnerNamespaceUpdateParameterProperties - Properties of the Partner Namespace.
	*PartnerNamespaceUpdateParameterProperties `json:"properties,omitempty"`
}

PartnerNamespaceUpdateParameters properties of the Partner Namespace update.

func (PartnerNamespaceUpdateParameters) MarshalJSON

func (pnup PartnerNamespaceUpdateParameters) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for PartnerNamespaceUpdateParameters.

func (*PartnerNamespaceUpdateParameters) UnmarshalJSON

func (pnup *PartnerNamespaceUpdateParameters) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for PartnerNamespaceUpdateParameters struct.

type PartnerNamespacesClient

type PartnerNamespacesClient struct {
	BaseClient
}

PartnerNamespacesClient is the azure EventGrid Management Client

func NewPartnerNamespacesClient

func NewPartnerNamespacesClient(subscriptionID string) PartnerNamespacesClient

NewPartnerNamespacesClient creates an instance of the PartnerNamespacesClient client.

func NewPartnerNamespacesClientWithBaseURI

func NewPartnerNamespacesClientWithBaseURI(baseURI string, subscriptionID string) PartnerNamespacesClient

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

func (PartnerNamespacesClient) CreateOrUpdate

func (client PartnerNamespacesClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, partnerNamespaceName string, partnerNamespaceInfo PartnerNamespace) (result PartnerNamespacesCreateOrUpdateFuture, err error)

CreateOrUpdate asynchronously creates a new partner namespace with the specified parameters. Parameters: resourceGroupName - the name of the resource group within the user's subscription. partnerNamespaceName - name of the partner namespace. partnerNamespaceInfo - partnerNamespace information.

func (PartnerNamespacesClient) CreateOrUpdatePreparer

func (client PartnerNamespacesClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, partnerNamespaceName string, partnerNamespaceInfo PartnerNamespace) (*http.Request, error)

CreateOrUpdatePreparer prepares the CreateOrUpdate request.

func (PartnerNamespacesClient) CreateOrUpdateResponder

func (client PartnerNamespacesClient) CreateOrUpdateResponder(resp *http.Response) (result PartnerNamespace, err error)

CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always closes the http.Response Body.

func (PartnerNamespacesClient) CreateOrUpdateSender

func (client PartnerNamespacesClient) CreateOrUpdateSender(req *http.Request) (future PartnerNamespacesCreateOrUpdateFuture, err error)

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

func (PartnerNamespacesClient) Delete

func (client PartnerNamespacesClient) Delete(ctx context.Context, resourceGroupName string, partnerNamespaceName string) (result PartnerNamespacesDeleteFuture, err error)

Delete delete existing partner namespace. Parameters: resourceGroupName - the name of the resource group within the user's subscription. partnerNamespaceName - name of the partner namespace.

func (PartnerNamespacesClient) DeletePreparer

func (client PartnerNamespacesClient) DeletePreparer(ctx context.Context, resourceGroupName string, partnerNamespaceName string) (*http.Request, error)

DeletePreparer prepares the Delete request.

func (PartnerNamespacesClient) DeleteResponder

func (client PartnerNamespacesClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)

DeleteResponder handles the response to the Delete request. The method always closes the http.Response Body.

func (PartnerNamespacesClient) DeleteSender

func (client PartnerNamespacesClient) DeleteSender(req *http.Request) (future PartnerNamespacesDeleteFuture, err error)

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

func (PartnerNamespacesClient) Get

func (client PartnerNamespacesClient) Get(ctx context.Context, resourceGroupName string, partnerNamespaceName string) (result PartnerNamespace, err error)

Get get properties of a partner namespace. Parameters: resourceGroupName - the name of the resource group within the user's subscription. partnerNamespaceName - name of the partner namespace.

func (PartnerNamespacesClient) GetPreparer

func (client PartnerNamespacesClient) GetPreparer(ctx context.Context, resourceGroupName string, partnerNamespaceName string) (*http.Request, error)

GetPreparer prepares the Get request.

func (PartnerNamespacesClient) GetResponder

func (client PartnerNamespacesClient) GetResponder(resp *http.Response) (result PartnerNamespace, err error)

GetResponder handles the response to the Get request. The method always closes the http.Response Body.

func (PartnerNamespacesClient) GetSender

func (client PartnerNamespacesClient) GetSender(req *http.Request) (*http.Response, error)

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

func (PartnerNamespacesClient) ListByResourceGroup

func (client PartnerNamespacesClient) ListByResourceGroup(ctx context.Context, resourceGroupName string, filter string, top *int32) (result PartnerNamespacesListResultPage, err error)

ListByResourceGroup list all the partner namespaces under a resource group. Parameters: resourceGroupName - the name of the resource group within the user's subscription. filter - the query used to filter the search results using OData syntax. Filtering is permitted on the 'name' property only and with limited number of OData operations. These operations are: the 'contains' function as well as the following logical operations: not, and, or, eq (for equal), and ne (for not equal). No arithmetic operations are supported. The following is a valid filter example: $filter=contains(namE, 'PATTERN') and name ne 'PATTERN-1'. The following is not a valid filter example: $filter=location eq 'westus'. top - the number of results to return per page for the list operation. Valid range for top parameter is 1 to 100. If not specified, the default number of results to be returned is 20 items per page.

func (PartnerNamespacesClient) ListByResourceGroupComplete

func (client PartnerNamespacesClient) ListByResourceGroupComplete(ctx context.Context, resourceGroupName string, filter string, top *int32) (result PartnerNamespacesListResultIterator, err error)

ListByResourceGroupComplete enumerates all values, automatically crossing page boundaries as required.

func (PartnerNamespacesClient) ListByResourceGroupPreparer

func (client PartnerNamespacesClient) ListByResourceGroupPreparer(ctx context.Context, resourceGroupName string, filter string, top *int32) (*http.Request, error)

ListByResourceGroupPreparer prepares the ListByResourceGroup request.

func (PartnerNamespacesClient) ListByResourceGroupResponder

func (client PartnerNamespacesClient) ListByResourceGroupResponder(resp *http.Response) (result PartnerNamespacesListResult, err error)

ListByResourceGroupResponder handles the response to the ListByResourceGroup request. The method always closes the http.Response Body.

func (PartnerNamespacesClient) ListByResourceGroupSender

func (client PartnerNamespacesClient) ListByResourceGroupSender(req *http.Request) (*http.Response, error)

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

func (PartnerNamespacesClient) ListBySubscription

func (client PartnerNamespacesClient) ListBySubscription(ctx context.Context, filter string, top *int32) (result PartnerNamespacesListResultPage, err error)

ListBySubscription list all the partner namespaces under an Azure subscription. Parameters: filter - the query used to filter the search results using OData syntax. Filtering is permitted on the 'name' property only and with limited number of OData operations. These operations are: the 'contains' function as well as the following logical operations: not, and, or, eq (for equal), and ne (for not equal). No arithmetic operations are supported. The following is a valid filter example: $filter=contains(namE, 'PATTERN') and name ne 'PATTERN-1'. The following is not a valid filter example: $filter=location eq 'westus'. top - the number of results to return per page for the list operation. Valid range for top parameter is 1 to 100. If not specified, the default number of results to be returned is 20 items per page.

func (PartnerNamespacesClient) ListBySubscriptionComplete

func (client PartnerNamespacesClient) ListBySubscriptionComplete(ctx context.Context, filter string, top *int32) (result PartnerNamespacesListResultIterator, err error)

ListBySubscriptionComplete enumerates all values, automatically crossing page boundaries as required.

func (PartnerNamespacesClient) ListBySubscriptionPreparer

func (client PartnerNamespacesClient) ListBySubscriptionPreparer(ctx context.Context, filter string, top *int32) (*http.Request, error)

ListBySubscriptionPreparer prepares the ListBySubscription request.

func (PartnerNamespacesClient) ListBySubscriptionResponder

func (client PartnerNamespacesClient) ListBySubscriptionResponder(resp *http.Response) (result PartnerNamespacesListResult, err error)

ListBySubscriptionResponder handles the response to the ListBySubscription request. The method always closes the http.Response Body.

func (PartnerNamespacesClient) ListBySubscriptionSender

func (client PartnerNamespacesClient) ListBySubscriptionSender(req *http.Request) (*http.Response, error)

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

func (PartnerNamespacesClient) ListSharedAccessKeys

func (client PartnerNamespacesClient) ListSharedAccessKeys(ctx context.Context, resourceGroupName string, partnerNamespaceName string) (result PartnerNamespaceSharedAccessKeys, err error)

ListSharedAccessKeys list the two keys used to publish to a partner namespace. Parameters: resourceGroupName - the name of the resource group within the user's subscription. partnerNamespaceName - name of the partner namespace.

func (PartnerNamespacesClient) ListSharedAccessKeysPreparer

func (client PartnerNamespacesClient) ListSharedAccessKeysPreparer(ctx context.Context, resourceGroupName string, partnerNamespaceName string) (*http.Request, error)

ListSharedAccessKeysPreparer prepares the ListSharedAccessKeys request.

func (PartnerNamespacesClient) ListSharedAccessKeysResponder

func (client PartnerNamespacesClient) ListSharedAccessKeysResponder(resp *http.Response) (result PartnerNamespaceSharedAccessKeys, err error)

ListSharedAccessKeysResponder handles the response to the ListSharedAccessKeys request. The method always closes the http.Response Body.

func (PartnerNamespacesClient) ListSharedAccessKeysSender

func (client PartnerNamespacesClient) ListSharedAccessKeysSender(req *http.Request) (*http.Response, error)

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

func (PartnerNamespacesClient) RegenerateKey

func (client PartnerNamespacesClient) RegenerateKey(ctx context.Context, resourceGroupName string, partnerNamespaceName string, regenerateKeyRequest PartnerNamespaceRegenerateKeyRequest) (result PartnerNamespaceSharedAccessKeys, err error)

RegenerateKey regenerate a shared access key for a partner namespace. Parameters: resourceGroupName - the name of the resource group within the user's subscription. partnerNamespaceName - name of the partner namespace. regenerateKeyRequest - request body to regenerate key.

func (PartnerNamespacesClient) RegenerateKeyPreparer

func (client PartnerNamespacesClient) RegenerateKeyPreparer(ctx context.Context, resourceGroupName string, partnerNamespaceName string, regenerateKeyRequest PartnerNamespaceRegenerateKeyRequest) (*http.Request, error)

RegenerateKeyPreparer prepares the RegenerateKey request.

func (PartnerNamespacesClient) RegenerateKeyResponder

func (client PartnerNamespacesClient) RegenerateKeyResponder(resp *http.Response) (result PartnerNamespaceSharedAccessKeys, err error)

RegenerateKeyResponder handles the response to the RegenerateKey request. The method always closes the http.Response Body.

func (PartnerNamespacesClient) RegenerateKeySender

func (client PartnerNamespacesClient) RegenerateKeySender(req *http.Request) (*http.Response, error)

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

func (PartnerNamespacesClient) Update

func (client PartnerNamespacesClient) Update(ctx context.Context, resourceGroupName string, partnerNamespaceName string, partnerNamespaceUpdateParameters PartnerNamespaceUpdateParameters) (result PartnerNamespacesUpdateFuture, err error)

Update asynchronously updates a partner namespace with the specified parameters. Parameters: resourceGroupName - the name of the resource group within the user's subscription. partnerNamespaceName - name of the partner namespace. partnerNamespaceUpdateParameters - partner namespace update information.

func (PartnerNamespacesClient) UpdatePreparer

func (client PartnerNamespacesClient) UpdatePreparer(ctx context.Context, resourceGroupName string, partnerNamespaceName string, partnerNamespaceUpdateParameters PartnerNamespaceUpdateParameters) (*http.Request, error)

UpdatePreparer prepares the Update request.

func (PartnerNamespacesClient) UpdateResponder

func (client PartnerNamespacesClient) UpdateResponder(resp *http.Response) (result PartnerNamespace, err error)

UpdateResponder handles the response to the Update request. The method always closes the http.Response Body.

func (PartnerNamespacesClient) UpdateSender

func (client PartnerNamespacesClient) UpdateSender(req *http.Request) (future PartnerNamespacesUpdateFuture, err error)

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

type PartnerNamespacesCreateOrUpdateFuture

type PartnerNamespacesCreateOrUpdateFuture struct {
	azure.FutureAPI
	// Result returns the result of the asynchronous operation.
	// If the operation has not completed it will return an error.
	Result func(PartnerNamespacesClient) (PartnerNamespace, error)
}

PartnerNamespacesCreateOrUpdateFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*PartnerNamespacesCreateOrUpdateFuture) UnmarshalJSON

func (future *PartnerNamespacesCreateOrUpdateFuture) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type PartnerNamespacesDeleteFuture

type PartnerNamespacesDeleteFuture struct {
	azure.FutureAPI
	// Result returns the result of the asynchronous operation.
	// If the operation has not completed it will return an error.
	Result func(PartnerNamespacesClient) (autorest.Response, error)
}

PartnerNamespacesDeleteFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*PartnerNamespacesDeleteFuture) UnmarshalJSON

func (future *PartnerNamespacesDeleteFuture) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type PartnerNamespacesListResult

type PartnerNamespacesListResult struct {
	autorest.Response `json:"-"`
	// Value - A collection of partner namespaces.
	Value *[]PartnerNamespace `json:"value,omitempty"`
	// NextLink - A link for the next page of partner namespaces.
	NextLink *string `json:"nextLink,omitempty"`
}

PartnerNamespacesListResult result of the List Partner Namespaces operation

func (PartnerNamespacesListResult) IsEmpty

func (pnlr PartnerNamespacesListResult) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type PartnerNamespacesListResultIterator

type PartnerNamespacesListResultIterator struct {
	// contains filtered or unexported fields
}

PartnerNamespacesListResultIterator provides access to a complete listing of PartnerNamespace values.

func NewPartnerNamespacesListResultIterator

func NewPartnerNamespacesListResultIterator(page PartnerNamespacesListResultPage) PartnerNamespacesListResultIterator

Creates a new instance of the PartnerNamespacesListResultIterator type.

func (*PartnerNamespacesListResultIterator) Next

Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*PartnerNamespacesListResultIterator) NextWithContext

func (iter *PartnerNamespacesListResultIterator) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.

func (PartnerNamespacesListResultIterator) NotDone

NotDone returns true if the enumeration should be started or is not yet complete.

func (PartnerNamespacesListResultIterator) Response

Response returns the raw server response from the last page request.

func (PartnerNamespacesListResultIterator) Value

Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.

type PartnerNamespacesListResultPage

type PartnerNamespacesListResultPage struct {
	// contains filtered or unexported fields
}

PartnerNamespacesListResultPage contains a page of PartnerNamespace values.

func NewPartnerNamespacesListResultPage

Creates a new instance of the PartnerNamespacesListResultPage type.

func (*PartnerNamespacesListResultPage) Next

Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*PartnerNamespacesListResultPage) NextWithContext

func (page *PartnerNamespacesListResultPage) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.

func (PartnerNamespacesListResultPage) NotDone

func (page PartnerNamespacesListResultPage) NotDone() bool

NotDone returns true if the page enumeration should be started or is not yet complete.

func (PartnerNamespacesListResultPage) Response

Response returns the raw server response from the last page request.

func (PartnerNamespacesListResultPage) Values

Values returns the slice of values for the current page or nil if there are no values.

type PartnerNamespacesUpdateFuture

type PartnerNamespacesUpdateFuture struct {
	azure.FutureAPI
	// Result returns the result of the asynchronous operation.
	// If the operation has not completed it will return an error.
	Result func(PartnerNamespacesClient) (PartnerNamespace, error)
}

PartnerNamespacesUpdateFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*PartnerNamespacesUpdateFuture) UnmarshalJSON

func (future *PartnerNamespacesUpdateFuture) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type PartnerRegistration

type PartnerRegistration struct {
	autorest.Response `json:"-"`
	// PartnerRegistrationProperties - Properties of the partner registration.
	*PartnerRegistrationProperties `json:"properties,omitempty"`
	// SystemData - READ-ONLY; The system metadata relating to Partner Registration resource.
	SystemData *SystemData `json:"systemData,omitempty"`
	// Location - Location of the resource.
	Location *string `json:"location,omitempty"`
	// Tags - Tags of the resource.
	Tags map[string]*string `json:"tags"`
	// ID - READ-ONLY; Fully qualified identifier of the resource.
	ID *string `json:"id,omitempty"`
	// Name - READ-ONLY; Name of the resource.
	Name *string `json:"name,omitempty"`
	// Type - READ-ONLY; Type of the resource.
	Type *string `json:"type,omitempty"`
}

PartnerRegistration information about a partner registration.

func (PartnerRegistration) MarshalJSON

func (pr PartnerRegistration) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for PartnerRegistration.

func (*PartnerRegistration) UnmarshalJSON

func (pr *PartnerRegistration) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for PartnerRegistration struct.

type PartnerRegistrationProperties

type PartnerRegistrationProperties struct {
	// ProvisioningState - READ-ONLY; Provisioning state of the partner registration. Possible values include: 'PartnerRegistrationProvisioningStateCreating', 'PartnerRegistrationProvisioningStateUpdating', 'PartnerRegistrationProvisioningStateDeleting', 'PartnerRegistrationProvisioningStateSucceeded', 'PartnerRegistrationProvisioningStateCanceled', 'PartnerRegistrationProvisioningStateFailed'
	ProvisioningState PartnerRegistrationProvisioningState `json:"provisioningState,omitempty"`
	// PartnerRegistrationImmutableID - The immutableId of the corresponding partner registration.
	PartnerRegistrationImmutableID *uuid.UUID `json:"partnerRegistrationImmutableId,omitempty"`
	// PartnerName - Official name of the partner name. For example: "Contoso".
	PartnerName *string `json:"partnerName,omitempty"`
	// PartnerResourceTypeName - Name of the partner resource type.
	PartnerResourceTypeName *string `json:"partnerResourceTypeName,omitempty"`
	// PartnerResourceTypeDisplayName - Display name of the partner resource type.
	PartnerResourceTypeDisplayName *string `json:"partnerResourceTypeDisplayName,omitempty"`
	// PartnerResourceTypeDescription - Short description of the partner resource type. The length of this description should not exceed 256 characters.
	PartnerResourceTypeDescription *string `json:"partnerResourceTypeDescription,omitempty"`
	// LongDescription - Long description for the custom scenarios and integration to be displayed in the portal if needed.
	// Length of this description should not exceed 2048 characters.
	LongDescription *string `json:"longDescription,omitempty"`
	// PartnerCustomerServiceNumber - The customer service number of the publisher. The expected phone format should start with a '+' sign
	// followed by the country code. The remaining digits are then followed. Only digits and spaces are allowed and its
	// length cannot exceed 16 digits including country code. Examples of valid phone numbers are: +1 515 123 4567 and
	// +966 7 5115 2471. Examples of invalid phone numbers are: +1 (515) 123-4567, 1 515 123 4567 and +966 121 5115 24 7 551 1234 43
	PartnerCustomerServiceNumber *string `json:"partnerCustomerServiceNumber,omitempty"`
	// PartnerCustomerServiceExtension - The extension of the customer service number of the publisher. Only digits are allowed and number of digits should not exceed 10.
	PartnerCustomerServiceExtension *string `json:"partnerCustomerServiceExtension,omitempty"`
	// CustomerServiceURI - The extension of the customer service URI of the publisher.
	CustomerServiceURI *string `json:"customerServiceUri,omitempty"`
	// SetupURI - URI of the partner website that can be used by Azure customers to setup Event Grid
	// integration on an event source.
	SetupURI *string `json:"setupUri,omitempty"`
	// LogoURI - URI of the logo.
	LogoURI *string `json:"logoUri,omitempty"`
	// VisibilityState - Visibility state of the partner registration. Possible values include: 'PartnerRegistrationVisibilityStateHidden', 'PartnerRegistrationVisibilityStatePublicPreview', 'PartnerRegistrationVisibilityStateGenerallyAvailable'
	VisibilityState PartnerRegistrationVisibilityState `json:"visibilityState,omitempty"`
	// AuthorizedAzureSubscriptionIds - List of Azure subscription Ids that are authorized to create a partner namespace
	// associated with this partner registration. This is an optional property. Creating
	// partner namespaces is always permitted under the same Azure subscription as the one used
	// for creating the partner registration.
	AuthorizedAzureSubscriptionIds *[]string `json:"authorizedAzureSubscriptionIds,omitempty"`
}

PartnerRegistrationProperties properties of the partner registration.

func (PartnerRegistrationProperties) MarshalJSON

func (prp PartnerRegistrationProperties) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for PartnerRegistrationProperties.

type PartnerRegistrationProvisioningState

type PartnerRegistrationProvisioningState string

PartnerRegistrationProvisioningState enumerates the values for partner registration provisioning state.

const (
	// PartnerRegistrationProvisioningStateCanceled ...
	PartnerRegistrationProvisioningStateCanceled PartnerRegistrationProvisioningState = "Canceled"
	// PartnerRegistrationProvisioningStateCreating ...
	PartnerRegistrationProvisioningStateCreating PartnerRegistrationProvisioningState = "Creating"
	// PartnerRegistrationProvisioningStateDeleting ...
	PartnerRegistrationProvisioningStateDeleting PartnerRegistrationProvisioningState = "Deleting"
	// PartnerRegistrationProvisioningStateFailed ...
	PartnerRegistrationProvisioningStateFailed PartnerRegistrationProvisioningState = "Failed"
	// PartnerRegistrationProvisioningStateSucceeded ...
	PartnerRegistrationProvisioningStateSucceeded PartnerRegistrationProvisioningState = "Succeeded"
	// PartnerRegistrationProvisioningStateUpdating ...
	PartnerRegistrationProvisioningStateUpdating PartnerRegistrationProvisioningState = "Updating"
)

func PossiblePartnerRegistrationProvisioningStateValues

func PossiblePartnerRegistrationProvisioningStateValues() []PartnerRegistrationProvisioningState

PossiblePartnerRegistrationProvisioningStateValues returns an array of possible values for the PartnerRegistrationProvisioningState const type.

type PartnerRegistrationUpdateParameters

type PartnerRegistrationUpdateParameters struct {
	// Tags - Tags of the partner registration resource.
	Tags map[string]*string `json:"tags"`
	// PartnerTopicTypeName - Name of the partner topic type.
	PartnerTopicTypeName *string `json:"partnerTopicTypeName,omitempty"`
	// PartnerTopicTypeDisplayName - Display name of the partner topic type.
	PartnerTopicTypeDisplayName *string `json:"partnerTopicTypeDisplayName,omitempty"`
	// PartnerTopicTypeDescription - Description of the partner topic type.
	PartnerTopicTypeDescription *string `json:"partnerTopicTypeDescription,omitempty"`
	// SetupURI - URI of the partner website that can be used by Azure customers to setup Event Grid
	// integration on an event source.
	SetupURI *string `json:"setupUri,omitempty"`
	// LogoURI - URI of the partner logo.
	LogoURI *string `json:"logoUri,omitempty"`
	// AuthorizedAzureSubscriptionIds - List of IDs of Azure AD applications that are authorized to create a partner namespace
	// associated with this partner registration. This is an optional property. Creating
	// partner namespaces is always permitted under the same Azure subscription as the one used
	// for creating the partner registration.
	AuthorizedAzureSubscriptionIds *[]string `json:"authorizedAzureSubscriptionIds,omitempty"`
}

PartnerRegistrationUpdateParameters properties of the Partner Registration update.

func (PartnerRegistrationUpdateParameters) MarshalJSON

func (prup PartnerRegistrationUpdateParameters) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for PartnerRegistrationUpdateParameters.

type PartnerRegistrationVisibilityState

type PartnerRegistrationVisibilityState string

PartnerRegistrationVisibilityState enumerates the values for partner registration visibility state.

const (
	// PartnerRegistrationVisibilityStateGenerallyAvailable ...
	PartnerRegistrationVisibilityStateGenerallyAvailable PartnerRegistrationVisibilityState = "GenerallyAvailable"
	// PartnerRegistrationVisibilityStateHidden ...
	PartnerRegistrationVisibilityStateHidden PartnerRegistrationVisibilityState = "Hidden"
	// PartnerRegistrationVisibilityStatePublicPreview ...
	PartnerRegistrationVisibilityStatePublicPreview PartnerRegistrationVisibilityState = "PublicPreview"
)

func PossiblePartnerRegistrationVisibilityStateValues

func PossiblePartnerRegistrationVisibilityStateValues() []PartnerRegistrationVisibilityState

PossiblePartnerRegistrationVisibilityStateValues returns an array of possible values for the PartnerRegistrationVisibilityState const type.

type PartnerRegistrationsClient

type PartnerRegistrationsClient struct {
	BaseClient
}

PartnerRegistrationsClient is the azure EventGrid Management Client

func NewPartnerRegistrationsClient

func NewPartnerRegistrationsClient(subscriptionID string) PartnerRegistrationsClient

NewPartnerRegistrationsClient creates an instance of the PartnerRegistrationsClient client.

func NewPartnerRegistrationsClientWithBaseURI

func NewPartnerRegistrationsClientWithBaseURI(baseURI string, subscriptionID string) PartnerRegistrationsClient

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

func (PartnerRegistrationsClient) CreateOrUpdate

func (client PartnerRegistrationsClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, partnerRegistrationName string, partnerRegistrationInfo PartnerRegistration) (result PartnerRegistrationsCreateOrUpdateFuture, err error)

CreateOrUpdate creates a new partner registration with the specified parameters. Parameters: resourceGroupName - the name of the resource group within the user's subscription. partnerRegistrationName - name of the partner registration. partnerRegistrationInfo - partnerRegistration information.

func (PartnerRegistrationsClient) CreateOrUpdatePreparer

func (client PartnerRegistrationsClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, partnerRegistrationName string, partnerRegistrationInfo PartnerRegistration) (*http.Request, error)

CreateOrUpdatePreparer prepares the CreateOrUpdate request.

func (PartnerRegistrationsClient) CreateOrUpdateResponder

func (client PartnerRegistrationsClient) CreateOrUpdateResponder(resp *http.Response) (result PartnerRegistration, err error)

CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always closes the http.Response Body.

func (PartnerRegistrationsClient) CreateOrUpdateSender

func (client PartnerRegistrationsClient) CreateOrUpdateSender(req *http.Request) (future PartnerRegistrationsCreateOrUpdateFuture, err error)

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

func (PartnerRegistrationsClient) Delete

func (client PartnerRegistrationsClient) Delete(ctx context.Context, resourceGroupName string, partnerRegistrationName string) (result PartnerRegistrationsDeleteFuture, err error)

Delete deletes a partner registration with the specified parameters. Parameters: resourceGroupName - the name of the resource group within the user's subscription. partnerRegistrationName - name of the partner registration.

func (PartnerRegistrationsClient) DeletePreparer

func (client PartnerRegistrationsClient) DeletePreparer(ctx context.Context, resourceGroupName string, partnerRegistrationName string) (*http.Request, error)

DeletePreparer prepares the Delete request.

func (PartnerRegistrationsClient) DeleteResponder

func (client PartnerRegistrationsClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)

DeleteResponder handles the response to the Delete request. The method always closes the http.Response Body.

func (PartnerRegistrationsClient) DeleteSender

func (client PartnerRegistrationsClient) DeleteSender(req *http.Request) (future PartnerRegistrationsDeleteFuture, err error)

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

func (PartnerRegistrationsClient) Get

func (client PartnerRegistrationsClient) Get(ctx context.Context, resourceGroupName string, partnerRegistrationName string) (result PartnerRegistration, err error)

Get gets a partner registration with the specified parameters. Parameters: resourceGroupName - the name of the resource group within the user's subscription. partnerRegistrationName - name of the partner registration.

func (PartnerRegistrationsClient) GetPreparer

func (client PartnerRegistrationsClient) GetPreparer(ctx context.Context, resourceGroupName string, partnerRegistrationName string) (*http.Request, error)

GetPreparer prepares the Get request.

func (PartnerRegistrationsClient) GetResponder

func (client PartnerRegistrationsClient) GetResponder(resp *http.Response) (result PartnerRegistration, err error)

GetResponder handles the response to the Get request. The method always closes the http.Response Body.

func (PartnerRegistrationsClient) GetSender

func (client PartnerRegistrationsClient) GetSender(req *http.Request) (*http.Response, error)

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

func (PartnerRegistrationsClient) ListByResourceGroup

func (client PartnerRegistrationsClient) ListByResourceGroup(ctx context.Context, resourceGroupName string, filter string, top *int32) (result PartnerRegistrationsListResultPage, err error)

ListByResourceGroup list all the partner registrations under a resource group. Parameters: resourceGroupName - the name of the resource group within the user's subscription. filter - the query used to filter the search results using OData syntax. Filtering is permitted on the 'name' property only and with limited number of OData operations. These operations are: the 'contains' function as well as the following logical operations: not, and, or, eq (for equal), and ne (for not equal). No arithmetic operations are supported. The following is a valid filter example: $filter=contains(namE, 'PATTERN') and name ne 'PATTERN-1'. The following is not a valid filter example: $filter=location eq 'westus'. top - the number of results to return per page for the list operation. Valid range for top parameter is 1 to 100. If not specified, the default number of results to be returned is 20 items per page.

func (PartnerRegistrationsClient) ListByResourceGroupComplete

func (client PartnerRegistrationsClient) ListByResourceGroupComplete(ctx context.Context, resourceGroupName string, filter string, top *int32) (result PartnerRegistrationsListResultIterator, err error)

ListByResourceGroupComplete enumerates all values, automatically crossing page boundaries as required.

func (PartnerRegistrationsClient) ListByResourceGroupPreparer

func (client PartnerRegistrationsClient) ListByResourceGroupPreparer(ctx context.Context, resourceGroupName string, filter string, top *int32) (*http.Request, error)

ListByResourceGroupPreparer prepares the ListByResourceGroup request.

func (PartnerRegistrationsClient) ListByResourceGroupResponder

func (client PartnerRegistrationsClient) ListByResourceGroupResponder(resp *http.Response) (result PartnerRegistrationsListResult, err error)

ListByResourceGroupResponder handles the response to the ListByResourceGroup request. The method always closes the http.Response Body.

func (PartnerRegistrationsClient) ListByResourceGroupSender

func (client PartnerRegistrationsClient) ListByResourceGroupSender(req *http.Request) (*http.Response, error)

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

func (PartnerRegistrationsClient) ListBySubscription

func (client PartnerRegistrationsClient) ListBySubscription(ctx context.Context, filter string, top *int32) (result PartnerRegistrationsListResultPage, err error)

ListBySubscription list all the partner registrations under an Azure subscription. Parameters: filter - the query used to filter the search results using OData syntax. Filtering is permitted on the 'name' property only and with limited number of OData operations. These operations are: the 'contains' function as well as the following logical operations: not, and, or, eq (for equal), and ne (for not equal). No arithmetic operations are supported. The following is a valid filter example: $filter=contains(namE, 'PATTERN') and name ne 'PATTERN-1'. The following is not a valid filter example: $filter=location eq 'westus'. top - the number of results to return per page for the list operation. Valid range for top parameter is 1 to 100. If not specified, the default number of results to be returned is 20 items per page.

func (PartnerRegistrationsClient) ListBySubscriptionComplete

func (client PartnerRegistrationsClient) ListBySubscriptionComplete(ctx context.Context, filter string, top *int32) (result PartnerRegistrationsListResultIterator, err error)

ListBySubscriptionComplete enumerates all values, automatically crossing page boundaries as required.

func (PartnerRegistrationsClient) ListBySubscriptionPreparer

func (client PartnerRegistrationsClient) ListBySubscriptionPreparer(ctx context.Context, filter string, top *int32) (*http.Request, error)

ListBySubscriptionPreparer prepares the ListBySubscription request.

func (PartnerRegistrationsClient) ListBySubscriptionResponder

func (client PartnerRegistrationsClient) ListBySubscriptionResponder(resp *http.Response) (result PartnerRegistrationsListResult, err error)

ListBySubscriptionResponder handles the response to the ListBySubscription request. The method always closes the http.Response Body.

func (PartnerRegistrationsClient) ListBySubscriptionSender

func (client PartnerRegistrationsClient) ListBySubscriptionSender(req *http.Request) (*http.Response, error)

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

func (PartnerRegistrationsClient) Update

func (client PartnerRegistrationsClient) Update(ctx context.Context, resourceGroupName string, partnerRegistrationName string, partnerRegistrationUpdateParameters PartnerRegistrationUpdateParameters) (result PartnerRegistrationsUpdateFuture, err error)

Update updates a partner registration with the specified parameters. Parameters: resourceGroupName - the name of the resource group within the user's subscription. partnerRegistrationName - name of the partner registration. partnerRegistrationUpdateParameters - partner registration update information.

func (PartnerRegistrationsClient) UpdatePreparer

func (client PartnerRegistrationsClient) UpdatePreparer(ctx context.Context, resourceGroupName string, partnerRegistrationName string, partnerRegistrationUpdateParameters PartnerRegistrationUpdateParameters) (*http.Request, error)

UpdatePreparer prepares the Update request.

func (PartnerRegistrationsClient) UpdateResponder

func (client PartnerRegistrationsClient) UpdateResponder(resp *http.Response) (result PartnerRegistration, err error)

UpdateResponder handles the response to the Update request. The method always closes the http.Response Body.

func (PartnerRegistrationsClient) UpdateSender

func (client PartnerRegistrationsClient) UpdateSender(req *http.Request) (future PartnerRegistrationsUpdateFuture, err error)

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

type PartnerRegistrationsCreateOrUpdateFuture

type PartnerRegistrationsCreateOrUpdateFuture struct {
	azure.FutureAPI
	// Result returns the result of the asynchronous operation.
	// If the operation has not completed it will return an error.
	Result func(PartnerRegistrationsClient) (PartnerRegistration, error)
}

PartnerRegistrationsCreateOrUpdateFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*PartnerRegistrationsCreateOrUpdateFuture) UnmarshalJSON

func (future *PartnerRegistrationsCreateOrUpdateFuture) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type PartnerRegistrationsDeleteFuture

type PartnerRegistrationsDeleteFuture struct {
	azure.FutureAPI
	// Result returns the result of the asynchronous operation.
	// If the operation has not completed it will return an error.
	Result func(PartnerRegistrationsClient) (autorest.Response, error)
}

PartnerRegistrationsDeleteFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*PartnerRegistrationsDeleteFuture) UnmarshalJSON

func (future *PartnerRegistrationsDeleteFuture) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type PartnerRegistrationsListResult

type PartnerRegistrationsListResult struct {
	autorest.Response `json:"-"`
	// Value - A collection of partner registrations.
	Value *[]PartnerRegistration `json:"value,omitempty"`
	// NextLink - A link for the next page of partner registrations.
	NextLink *string `json:"nextLink,omitempty"`
}

PartnerRegistrationsListResult result of the List Partner Registrations operation.

func (PartnerRegistrationsListResult) IsEmpty

func (prlr PartnerRegistrationsListResult) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type PartnerRegistrationsListResultIterator

type PartnerRegistrationsListResultIterator struct {
	// contains filtered or unexported fields
}

PartnerRegistrationsListResultIterator provides access to a complete listing of PartnerRegistration values.

func NewPartnerRegistrationsListResultIterator

func NewPartnerRegistrationsListResultIterator(page PartnerRegistrationsListResultPage) PartnerRegistrationsListResultIterator

Creates a new instance of the PartnerRegistrationsListResultIterator type.

func (*PartnerRegistrationsListResultIterator) Next

Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*PartnerRegistrationsListResultIterator) NextWithContext

func (iter *PartnerRegistrationsListResultIterator) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.

func (PartnerRegistrationsListResultIterator) NotDone

NotDone returns true if the enumeration should be started or is not yet complete.

func (PartnerRegistrationsListResultIterator) Response

Response returns the raw server response from the last page request.

func (PartnerRegistrationsListResultIterator) Value

Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.

type PartnerRegistrationsListResultPage

type PartnerRegistrationsListResultPage struct {
	// contains filtered or unexported fields
}

PartnerRegistrationsListResultPage contains a page of PartnerRegistration values.

func NewPartnerRegistrationsListResultPage

Creates a new instance of the PartnerRegistrationsListResultPage type.

func (*PartnerRegistrationsListResultPage) Next

Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*PartnerRegistrationsListResultPage) NextWithContext

func (page *PartnerRegistrationsListResultPage) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.

func (PartnerRegistrationsListResultPage) NotDone

NotDone returns true if the page enumeration should be started or is not yet complete.

func (PartnerRegistrationsListResultPage) Response

Response returns the raw server response from the last page request.

func (PartnerRegistrationsListResultPage) Values

Values returns the slice of values for the current page or nil if there are no values.

type PartnerRegistrationsUpdateFuture

type PartnerRegistrationsUpdateFuture struct {
	azure.FutureAPI
	// Result returns the result of the asynchronous operation.
	// If the operation has not completed it will return an error.
	Result func(PartnerRegistrationsClient) (PartnerRegistration, error)
}

PartnerRegistrationsUpdateFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*PartnerRegistrationsUpdateFuture) UnmarshalJSON

func (future *PartnerRegistrationsUpdateFuture) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type PartnerTopic

type PartnerTopic struct {
	autorest.Response `json:"-"`
	// PartnerTopicProperties - Properties of the Partner Topic.
	*PartnerTopicProperties `json:"properties,omitempty"`
	// SystemData - READ-ONLY; The system metadata relating to Partner Topic resource.
	SystemData *SystemData `json:"systemData,omitempty"`
	// Identity - Identity information for the Partner Topic resource.
	Identity *IdentityInfo `json:"identity,omitempty"`
	// Location - Location of the resource.
	Location *string `json:"location,omitempty"`
	// Tags - Tags of the resource.
	Tags map[string]*string `json:"tags"`
	// ID - READ-ONLY; Fully qualified identifier of the resource.
	ID *string `json:"id,omitempty"`
	// Name - READ-ONLY; Name of the resource.
	Name *string `json:"name,omitempty"`
	// Type - READ-ONLY; Type of the resource.
	Type *string `json:"type,omitempty"`
}

PartnerTopic event Grid Partner Topic.

func (PartnerTopic) MarshalJSON

func (pt PartnerTopic) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for PartnerTopic.

func (*PartnerTopic) UnmarshalJSON

func (pt *PartnerTopic) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for PartnerTopic struct.

type PartnerTopicActivationState

type PartnerTopicActivationState string

PartnerTopicActivationState enumerates the values for partner topic activation state.

const (
	// PartnerTopicActivationStateActivated ...
	PartnerTopicActivationStateActivated PartnerTopicActivationState = "Activated"
	// PartnerTopicActivationStateDeactivated ...
	PartnerTopicActivationStateDeactivated PartnerTopicActivationState = "Deactivated"
	// PartnerTopicActivationStateNeverActivated ...
	PartnerTopicActivationStateNeverActivated PartnerTopicActivationState = "NeverActivated"
)

func PossiblePartnerTopicActivationStateValues

func PossiblePartnerTopicActivationStateValues() []PartnerTopicActivationState

PossiblePartnerTopicActivationStateValues returns an array of possible values for the PartnerTopicActivationState const type.

type PartnerTopicEventSubscriptionsClient

type PartnerTopicEventSubscriptionsClient struct {
	BaseClient
}

PartnerTopicEventSubscriptionsClient is the azure EventGrid Management Client

func NewPartnerTopicEventSubscriptionsClient

func NewPartnerTopicEventSubscriptionsClient(subscriptionID string) PartnerTopicEventSubscriptionsClient

NewPartnerTopicEventSubscriptionsClient creates an instance of the PartnerTopicEventSubscriptionsClient client.

func NewPartnerTopicEventSubscriptionsClientWithBaseURI

func NewPartnerTopicEventSubscriptionsClientWithBaseURI(baseURI string, subscriptionID string) PartnerTopicEventSubscriptionsClient

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

func (PartnerTopicEventSubscriptionsClient) CreateOrUpdate

func (client PartnerTopicEventSubscriptionsClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, partnerTopicName string, eventSubscriptionName string, eventSubscriptionInfo EventSubscription) (result PartnerTopicEventSubscriptionsCreateOrUpdateFuture, err error)

CreateOrUpdate asynchronously creates or updates an event subscription of a partner topic with the specified parameters. Existing event subscriptions will be updated with this API. Parameters: resourceGroupName - the name of the resource group within the user's subscription. partnerTopicName - name of the partner topic. eventSubscriptionName - name of the event subscription to be created. Event subscription names must be between 3 and 100 characters in length and use alphanumeric letters only. eventSubscriptionInfo - event subscription properties containing the destination and filter information.

func (PartnerTopicEventSubscriptionsClient) CreateOrUpdatePreparer

func (client PartnerTopicEventSubscriptionsClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, partnerTopicName string, eventSubscriptionName string, eventSubscriptionInfo EventSubscription) (*http.Request, error)

CreateOrUpdatePreparer prepares the CreateOrUpdate request.

func (PartnerTopicEventSubscriptionsClient) CreateOrUpdateResponder

func (client PartnerTopicEventSubscriptionsClient) CreateOrUpdateResponder(resp *http.Response) (result EventSubscription, err error)

CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always closes the http.Response Body.

func (PartnerTopicEventSubscriptionsClient) CreateOrUpdateSender

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

func (PartnerTopicEventSubscriptionsClient) Delete

func (client PartnerTopicEventSubscriptionsClient) Delete(ctx context.Context, resourceGroupName string, partnerTopicName string, eventSubscriptionName string) (result PartnerTopicEventSubscriptionsDeleteFuture, err error)

Delete delete an existing event subscription of a partner topic. Parameters: resourceGroupName - the name of the resource group within the user's subscription. partnerTopicName - name of the partner topic. eventSubscriptionName - name of the event subscription to be created. Event subscription names must be between 3 and 100 characters in length and use alphanumeric letters only.

func (PartnerTopicEventSubscriptionsClient) DeletePreparer

func (client PartnerTopicEventSubscriptionsClient) DeletePreparer(ctx context.Context, resourceGroupName string, partnerTopicName string, eventSubscriptionName string) (*http.Request, error)

DeletePreparer prepares the Delete request.

func (PartnerTopicEventSubscriptionsClient) DeleteResponder

func (client PartnerTopicEventSubscriptionsClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)

DeleteResponder handles the response to the Delete request. The method always closes the http.Response Body.

func (PartnerTopicEventSubscriptionsClient) DeleteSender

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

func (PartnerTopicEventSubscriptionsClient) Get

func (client PartnerTopicEventSubscriptionsClient) Get(ctx context.Context, resourceGroupName string, partnerTopicName string, eventSubscriptionName string) (result EventSubscription, err error)

Get get properties of an event subscription of a partner topic. Parameters: resourceGroupName - the name of the resource group within the user's subscription. partnerTopicName - name of the partner topic. eventSubscriptionName - name of the event subscription to be found. Event subscription names must be between 3 and 100 characters in length and use alphanumeric letters only.

func (PartnerTopicEventSubscriptionsClient) GetDeliveryAttributes

func (client PartnerTopicEventSubscriptionsClient) GetDeliveryAttributes(ctx context.Context, resourceGroupName string, partnerTopicName string, eventSubscriptionName string) (result DeliveryAttributeListResult, err error)

GetDeliveryAttributes get all delivery attributes for an event subscription of a partner topic. Parameters: resourceGroupName - the name of the resource group within the user's subscription. partnerTopicName - name of the partner topic. eventSubscriptionName - name of the event subscription to be created. Event subscription names must be between 3 and 100 characters in length and use alphanumeric letters only.

func (PartnerTopicEventSubscriptionsClient) GetDeliveryAttributesPreparer

func (client PartnerTopicEventSubscriptionsClient) GetDeliveryAttributesPreparer(ctx context.Context, resourceGroupName string, partnerTopicName string, eventSubscriptionName string) (*http.Request, error)

GetDeliveryAttributesPreparer prepares the GetDeliveryAttributes request.

func (PartnerTopicEventSubscriptionsClient) GetDeliveryAttributesResponder

func (client PartnerTopicEventSubscriptionsClient) GetDeliveryAttributesResponder(resp *http.Response) (result DeliveryAttributeListResult, err error)

GetDeliveryAttributesResponder handles the response to the GetDeliveryAttributes request. The method always closes the http.Response Body.

func (PartnerTopicEventSubscriptionsClient) GetDeliveryAttributesSender

func (client PartnerTopicEventSubscriptionsClient) GetDeliveryAttributesSender(req *http.Request) (*http.Response, error)

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

func (PartnerTopicEventSubscriptionsClient) GetFullURL

func (client PartnerTopicEventSubscriptionsClient) GetFullURL(ctx context.Context, resourceGroupName string, partnerTopicName string, eventSubscriptionName string) (result EventSubscriptionFullURL, err error)

GetFullURL get the full endpoint URL for an event subscription of a partner topic. Parameters: resourceGroupName - the name of the resource group within the user's subscription. partnerTopicName - name of the partner topic. eventSubscriptionName - name of the event subscription to be created. Event subscription names must be between 3 and 100 characters in length and use alphanumeric letters only.

func (PartnerTopicEventSubscriptionsClient) GetFullURLPreparer

func (client PartnerTopicEventSubscriptionsClient) GetFullURLPreparer(ctx context.Context, resourceGroupName string, partnerTopicName string, eventSubscriptionName string) (*http.Request, error)

GetFullURLPreparer prepares the GetFullURL request.

func (PartnerTopicEventSubscriptionsClient) GetFullURLResponder

func (client PartnerTopicEventSubscriptionsClient) GetFullURLResponder(resp *http.Response) (result EventSubscriptionFullURL, err error)

GetFullURLResponder handles the response to the GetFullURL request. The method always closes the http.Response Body.

func (PartnerTopicEventSubscriptionsClient) GetFullURLSender

func (client PartnerTopicEventSubscriptionsClient) GetFullURLSender(req *http.Request) (*http.Response, error)

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

func (PartnerTopicEventSubscriptionsClient) GetPreparer

func (client PartnerTopicEventSubscriptionsClient) GetPreparer(ctx context.Context, resourceGroupName string, partnerTopicName string, eventSubscriptionName string) (*http.Request, error)

GetPreparer prepares the Get request.

func (PartnerTopicEventSubscriptionsClient) GetResponder

func (client PartnerTopicEventSubscriptionsClient) GetResponder(resp *http.Response) (result EventSubscription, err error)

GetResponder handles the response to the Get request. The method always closes the http.Response Body.

func (PartnerTopicEventSubscriptionsClient) GetSender

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

func (PartnerTopicEventSubscriptionsClient) ListByPartnerTopic

func (client PartnerTopicEventSubscriptionsClient) ListByPartnerTopic(ctx context.Context, resourceGroupName string, partnerTopicName string, filter string, top *int32) (result EventSubscriptionsListResultPage, err error)

ListByPartnerTopic list event subscriptions that belong to a specific partner topic. Parameters: resourceGroupName - the name of the resource group within the user's subscription. partnerTopicName - name of the partner topic. filter - the query used to filter the search results using OData syntax. Filtering is permitted on the 'name' property only and with limited number of OData operations. These operations are: the 'contains' function as well as the following logical operations: not, and, or, eq (for equal), and ne (for not equal). No arithmetic operations are supported. The following is a valid filter example: $filter=contains(namE, 'PATTERN') and name ne 'PATTERN-1'. The following is not a valid filter example: $filter=location eq 'westus'. top - the number of results to return per page for the list operation. Valid range for top parameter is 1 to 100. If not specified, the default number of results to be returned is 20 items per page.

func (PartnerTopicEventSubscriptionsClient) ListByPartnerTopicComplete

func (client PartnerTopicEventSubscriptionsClient) ListByPartnerTopicComplete(ctx context.Context, resourceGroupName string, partnerTopicName string, filter string, top *int32) (result EventSubscriptionsListResultIterator, err error)

ListByPartnerTopicComplete enumerates all values, automatically crossing page boundaries as required.

func (PartnerTopicEventSubscriptionsClient) ListByPartnerTopicPreparer

func (client PartnerTopicEventSubscriptionsClient) ListByPartnerTopicPreparer(ctx context.Context, resourceGroupName string, partnerTopicName string, filter string, top *int32) (*http.Request, error)

ListByPartnerTopicPreparer prepares the ListByPartnerTopic request.

func (PartnerTopicEventSubscriptionsClient) ListByPartnerTopicResponder

func (client PartnerTopicEventSubscriptionsClient) ListByPartnerTopicResponder(resp *http.Response) (result EventSubscriptionsListResult, err error)

ListByPartnerTopicResponder handles the response to the ListByPartnerTopic request. The method always closes the http.Response Body.

func (PartnerTopicEventSubscriptionsClient) ListByPartnerTopicSender

func (client PartnerTopicEventSubscriptionsClient) ListByPartnerTopicSender(req *http.Request) (*http.Response, error)

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

func (PartnerTopicEventSubscriptionsClient) Update

func (client PartnerTopicEventSubscriptionsClient) Update(ctx context.Context, resourceGroupName string, partnerTopicName string, eventSubscriptionName string, eventSubscriptionUpdateParameters EventSubscriptionUpdateParameters) (result PartnerTopicEventSubscriptionsUpdateFuture, err error)

Update update an existing event subscription of a partner topic. Parameters: resourceGroupName - the name of the resource group within the user's subscription. partnerTopicName - name of the partner topic. eventSubscriptionName - name of the event subscription to be created. Event subscription names must be between 3 and 100 characters in length and use alphanumeric letters only. eventSubscriptionUpdateParameters - updated event subscription information.

func (PartnerTopicEventSubscriptionsClient) UpdatePreparer

func (client PartnerTopicEventSubscriptionsClient) UpdatePreparer(ctx context.Context, resourceGroupName string, partnerTopicName string, eventSubscriptionName string, eventSubscriptionUpdateParameters EventSubscriptionUpdateParameters) (*http.Request, error)

UpdatePreparer prepares the Update request.

func (PartnerTopicEventSubscriptionsClient) UpdateResponder

func (client PartnerTopicEventSubscriptionsClient) UpdateResponder(resp *http.Response) (result EventSubscription, err error)

UpdateResponder handles the response to the Update request. The method always closes the http.Response Body.

func (PartnerTopicEventSubscriptionsClient) UpdateSender

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

type PartnerTopicEventSubscriptionsCreateOrUpdateFuture

type PartnerTopicEventSubscriptionsCreateOrUpdateFuture struct {
	azure.FutureAPI
	// Result returns the result of the asynchronous operation.
	// If the operation has not completed it will return an error.
	Result func(PartnerTopicEventSubscriptionsClient) (EventSubscription, error)
}

PartnerTopicEventSubscriptionsCreateOrUpdateFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*PartnerTopicEventSubscriptionsCreateOrUpdateFuture) UnmarshalJSON

func (future *PartnerTopicEventSubscriptionsCreateOrUpdateFuture) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type PartnerTopicEventSubscriptionsDeleteFuture

type PartnerTopicEventSubscriptionsDeleteFuture struct {
	azure.FutureAPI
	// Result returns the result of the asynchronous operation.
	// If the operation has not completed it will return an error.
	Result func(PartnerTopicEventSubscriptionsClient) (autorest.Response, error)
}

PartnerTopicEventSubscriptionsDeleteFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*PartnerTopicEventSubscriptionsDeleteFuture) UnmarshalJSON

func (future *PartnerTopicEventSubscriptionsDeleteFuture) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type PartnerTopicEventSubscriptionsUpdateFuture

type PartnerTopicEventSubscriptionsUpdateFuture struct {
	azure.FutureAPI
	// Result returns the result of the asynchronous operation.
	// If the operation has not completed it will return an error.
	Result func(PartnerTopicEventSubscriptionsClient) (EventSubscription, error)
}

PartnerTopicEventSubscriptionsUpdateFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*PartnerTopicEventSubscriptionsUpdateFuture) UnmarshalJSON

func (future *PartnerTopicEventSubscriptionsUpdateFuture) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type PartnerTopicInfo

type PartnerTopicInfo struct {
	// AzureSubscriptionID - Azure subscription ID of the subscriber. The partner topic associated with the channel will be
	// created under this Azure subscription.
	AzureSubscriptionID *string `json:"azureSubscriptionId,omitempty"`
	// ResourceGroupName - Azure Resource Group of the subscriber. The partner topic associated with the channel will be
	// created under this resource group.
	ResourceGroupName *string `json:"resourceGroupName,omitempty"`
	// Name - Name of the partner topic associated with the channel.
	Name *string `json:"name,omitempty"`
	// EventTypeInfo - Event Type Information for the partner topic. This information is provided by the publisher and can be used by the
	// subscriber to view different types of events that are published.
	EventTypeInfo *EventTypeInfo `json:"eventTypeInfo,omitempty"`
	// Source - The source information is provided by the publisher to determine the scope or context from which the events
	// are originating. This information can be used by the subscriber during the approval process of the
	// created partner topic.
	Source *string `json:"source,omitempty"`
}

PartnerTopicInfo properties of the corresponding partner topic of a Channel.

type PartnerTopicProperties

type PartnerTopicProperties struct {
	// PartnerRegistrationImmutableID - The immutableId of the corresponding partner registration.
	PartnerRegistrationImmutableID *uuid.UUID `json:"partnerRegistrationImmutableId,omitempty"`
	// Source - Source associated with this partner topic. This represents a unique partner resource.
	Source *string `json:"source,omitempty"`
	// EventTypeInfo - Event Type information from the corresponding event channel.
	EventTypeInfo *EventTypeInfo `json:"eventTypeInfo,omitempty"`
	// ExpirationTimeIfNotActivatedUtc - Expiration time of the partner topic. If this timer expires while the partner topic is still never activated,
	// the partner topic and corresponding event channel are deleted.
	ExpirationTimeIfNotActivatedUtc *date.Time `json:"expirationTimeIfNotActivatedUtc,omitempty"`
	// ProvisioningState - READ-ONLY; Provisioning state of the partner topic. Possible values include: 'PartnerTopicProvisioningStateCreating', 'PartnerTopicProvisioningStateUpdating', 'PartnerTopicProvisioningStateDeleting', 'PartnerTopicProvisioningStateSucceeded', 'PartnerTopicProvisioningStateCanceled', 'PartnerTopicProvisioningStateFailed'
	ProvisioningState PartnerTopicProvisioningState `json:"provisioningState,omitempty"`
	// ActivationState - Activation state of the partner topic. Possible values include: 'PartnerTopicActivationStateNeverActivated', 'PartnerTopicActivationStateActivated', 'PartnerTopicActivationStateDeactivated'
	ActivationState PartnerTopicActivationState `json:"activationState,omitempty"`
	// PartnerTopicFriendlyDescription - Friendly description about the topic. This can be set by the publisher/partner to show custom description for the customer partner topic.
	// This will be helpful to remove any ambiguity of the origin of creation of the partner topic for the customer.
	PartnerTopicFriendlyDescription *string `json:"partnerTopicFriendlyDescription,omitempty"`
	// MessageForActivation - Context or helpful message that can be used during the approval process by the subscriber.
	MessageForActivation *string `json:"messageForActivation,omitempty"`
}

PartnerTopicProperties properties of the Partner Topic.

func (PartnerTopicProperties) MarshalJSON

func (ptp PartnerTopicProperties) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for PartnerTopicProperties.

type PartnerTopicProvisioningState

type PartnerTopicProvisioningState string

PartnerTopicProvisioningState enumerates the values for partner topic provisioning state.

const (
	// PartnerTopicProvisioningStateCanceled ...
	PartnerTopicProvisioningStateCanceled PartnerTopicProvisioningState = "Canceled"
	// PartnerTopicProvisioningStateCreating ...
	PartnerTopicProvisioningStateCreating PartnerTopicProvisioningState = "Creating"
	// PartnerTopicProvisioningStateDeleting ...
	PartnerTopicProvisioningStateDeleting PartnerTopicProvisioningState = "Deleting"
	// PartnerTopicProvisioningStateFailed ...
	PartnerTopicProvisioningStateFailed PartnerTopicProvisioningState = "Failed"
	// PartnerTopicProvisioningStateSucceeded ...
	PartnerTopicProvisioningStateSucceeded PartnerTopicProvisioningState = "Succeeded"
	// PartnerTopicProvisioningStateUpdating ...
	PartnerTopicProvisioningStateUpdating PartnerTopicProvisioningState = "Updating"
)

func PossiblePartnerTopicProvisioningStateValues

func PossiblePartnerTopicProvisioningStateValues() []PartnerTopicProvisioningState

PossiblePartnerTopicProvisioningStateValues returns an array of possible values for the PartnerTopicProvisioningState const type.

type PartnerTopicReadinessState

type PartnerTopicReadinessState string

PartnerTopicReadinessState enumerates the values for partner topic readiness state.

const (
	// PartnerTopicReadinessStateActivatedByUser ...
	PartnerTopicReadinessStateActivatedByUser PartnerTopicReadinessState = "ActivatedByUser"
	// PartnerTopicReadinessStateDeactivatedByUser ...
	PartnerTopicReadinessStateDeactivatedByUser PartnerTopicReadinessState = "DeactivatedByUser"
	// PartnerTopicReadinessStateDeletedByUser ...
	PartnerTopicReadinessStateDeletedByUser PartnerTopicReadinessState = "DeletedByUser"
	// PartnerTopicReadinessStateNotActivatedByUserYet ...
	PartnerTopicReadinessStateNotActivatedByUserYet PartnerTopicReadinessState = "NotActivatedByUserYet"
)

func PossiblePartnerTopicReadinessStateValues

func PossiblePartnerTopicReadinessStateValues() []PartnerTopicReadinessState

PossiblePartnerTopicReadinessStateValues returns an array of possible values for the PartnerTopicReadinessState const type.

type PartnerTopicRoutingMode

type PartnerTopicRoutingMode string

PartnerTopicRoutingMode enumerates the values for partner topic routing mode.

const (
	// PartnerTopicRoutingModeChannelNameHeader ...
	PartnerTopicRoutingModeChannelNameHeader PartnerTopicRoutingMode = "ChannelNameHeader"
	// PartnerTopicRoutingModeSourceEventAttribute ...
	PartnerTopicRoutingModeSourceEventAttribute PartnerTopicRoutingMode = "SourceEventAttribute"
)

func PossiblePartnerTopicRoutingModeValues

func PossiblePartnerTopicRoutingModeValues() []PartnerTopicRoutingMode

PossiblePartnerTopicRoutingModeValues returns an array of possible values for the PartnerTopicRoutingMode const type.

type PartnerTopicUpdateParameters

type PartnerTopicUpdateParameters struct {
	// Tags - Tags of the Partner Topic resource.
	Tags map[string]*string `json:"tags"`
	// Identity - Identity information for the Partner Topic resource.
	Identity *IdentityInfo `json:"identity,omitempty"`
}

PartnerTopicUpdateParameters properties of the Partner Topic update.

func (PartnerTopicUpdateParameters) MarshalJSON

func (ptup PartnerTopicUpdateParameters) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for PartnerTopicUpdateParameters.

type PartnerTopicsClient

type PartnerTopicsClient struct {
	BaseClient
}

PartnerTopicsClient is the azure EventGrid Management Client

func NewPartnerTopicsClient

func NewPartnerTopicsClient(subscriptionID string) PartnerTopicsClient

NewPartnerTopicsClient creates an instance of the PartnerTopicsClient client.

func NewPartnerTopicsClientWithBaseURI

func NewPartnerTopicsClientWithBaseURI(baseURI string, subscriptionID string) PartnerTopicsClient

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

func (PartnerTopicsClient) Activate

func (client PartnerTopicsClient) Activate(ctx context.Context, resourceGroupName string, partnerTopicName string) (result PartnerTopic, err error)

Activate activate a newly created partner topic. Parameters: resourceGroupName - the name of the resource group within the user's subscription. partnerTopicName - name of the partner topic.

func (PartnerTopicsClient) ActivatePreparer

func (client PartnerTopicsClient) ActivatePreparer(ctx context.Context, resourceGroupName string, partnerTopicName string) (*http.Request, error)

ActivatePreparer prepares the Activate request.

func (PartnerTopicsClient) ActivateResponder

func (client PartnerTopicsClient) ActivateResponder(resp *http.Response) (result PartnerTopic, err error)

ActivateResponder handles the response to the Activate request. The method always closes the http.Response Body.

func (PartnerTopicsClient) ActivateSender

func (client PartnerTopicsClient) ActivateSender(req *http.Request) (*http.Response, error)

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

func (PartnerTopicsClient) CreateOrUpdate

func (client PartnerTopicsClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, partnerTopicName string, partnerTopicInfo PartnerTopic) (result PartnerTopic, err error)

CreateOrUpdate asynchronously creates a new partner topic with the specified parameters. Parameters: resourceGroupName - the name of the resource group within the user's subscription. partnerTopicName - name of the partner topic. partnerTopicInfo - partner Topic information.

func (PartnerTopicsClient) CreateOrUpdatePreparer

func (client PartnerTopicsClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, partnerTopicName string, partnerTopicInfo PartnerTopic) (*http.Request, error)

CreateOrUpdatePreparer prepares the CreateOrUpdate request.

func (PartnerTopicsClient) CreateOrUpdateResponder

func (client PartnerTopicsClient) CreateOrUpdateResponder(resp *http.Response) (result PartnerTopic, err error)

CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always closes the http.Response Body.

func (PartnerTopicsClient) CreateOrUpdateSender

func (client PartnerTopicsClient) CreateOrUpdateSender(req *http.Request) (*http.Response, error)

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

func (PartnerTopicsClient) Deactivate

func (client PartnerTopicsClient) Deactivate(ctx context.Context, resourceGroupName string, partnerTopicName string) (result PartnerTopic, err error)

Deactivate deactivate specific partner topic. Parameters: resourceGroupName - the name of the resource group within the user's subscription. partnerTopicName - name of the partner topic.

func (PartnerTopicsClient) DeactivatePreparer

func (client PartnerTopicsClient) DeactivatePreparer(ctx context.Context, resourceGroupName string, partnerTopicName string) (*http.Request, error)

DeactivatePreparer prepares the Deactivate request.

func (PartnerTopicsClient) DeactivateResponder

func (client PartnerTopicsClient) DeactivateResponder(resp *http.Response) (result PartnerTopic, err error)

DeactivateResponder handles the response to the Deactivate request. The method always closes the http.Response Body.

func (PartnerTopicsClient) DeactivateSender

func (client PartnerTopicsClient) DeactivateSender(req *http.Request) (*http.Response, error)

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

func (PartnerTopicsClient) Delete

func (client PartnerTopicsClient) Delete(ctx context.Context, resourceGroupName string, partnerTopicName string) (result PartnerTopicsDeleteFuture, err error)

Delete delete existing partner topic. Parameters: resourceGroupName - the name of the resource group within the user's subscription. partnerTopicName - name of the partner topic.

func (PartnerTopicsClient) DeletePreparer

func (client PartnerTopicsClient) DeletePreparer(ctx context.Context, resourceGroupName string, partnerTopicName string) (*http.Request, error)

DeletePreparer prepares the Delete request.

func (PartnerTopicsClient) DeleteResponder

func (client PartnerTopicsClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)

DeleteResponder handles the response to the Delete request. The method always closes the http.Response Body.

func (PartnerTopicsClient) DeleteSender

func (client PartnerTopicsClient) DeleteSender(req *http.Request) (future PartnerTopicsDeleteFuture, err error)

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

func (PartnerTopicsClient) Get

func (client PartnerTopicsClient) Get(ctx context.Context, resourceGroupName string, partnerTopicName string) (result PartnerTopic, err error)

Get get properties of a partner topic. Parameters: resourceGroupName - the name of the resource group within the user's subscription. partnerTopicName - name of the partner topic.

func (PartnerTopicsClient) GetPreparer

func (client PartnerTopicsClient) GetPreparer(ctx context.Context, resourceGroupName string, partnerTopicName string) (*http.Request, error)

GetPreparer prepares the Get request.

func (PartnerTopicsClient) GetResponder

func (client PartnerTopicsClient) GetResponder(resp *http.Response) (result PartnerTopic, err error)

GetResponder handles the response to the Get request. The method always closes the http.Response Body.

func (PartnerTopicsClient) GetSender

func (client PartnerTopicsClient) GetSender(req *http.Request) (*http.Response, error)

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

func (PartnerTopicsClient) ListByResourceGroup

func (client PartnerTopicsClient) ListByResourceGroup(ctx context.Context, resourceGroupName string, filter string, top *int32) (result PartnerTopicsListResultPage, err error)

ListByResourceGroup list all the partner topics under a resource group. Parameters: resourceGroupName - the name of the resource group within the user's subscription. filter - the query used to filter the search results using OData syntax. Filtering is permitted on the 'name' property only and with limited number of OData operations. These operations are: the 'contains' function as well as the following logical operations: not, and, or, eq (for equal), and ne (for not equal). No arithmetic operations are supported. The following is a valid filter example: $filter=contains(namE, 'PATTERN') and name ne 'PATTERN-1'. The following is not a valid filter example: $filter=location eq 'westus'. top - the number of results to return per page for the list operation. Valid range for top parameter is 1 to 100. If not specified, the default number of results to be returned is 20 items per page.

func (PartnerTopicsClient) ListByResourceGroupComplete

func (client PartnerTopicsClient) ListByResourceGroupComplete(ctx context.Context, resourceGroupName string, filter string, top *int32) (result PartnerTopicsListResultIterator, err error)

ListByResourceGroupComplete enumerates all values, automatically crossing page boundaries as required.

func (PartnerTopicsClient) ListByResourceGroupPreparer

func (client PartnerTopicsClient) ListByResourceGroupPreparer(ctx context.Context, resourceGroupName string, filter string, top *int32) (*http.Request, error)

ListByResourceGroupPreparer prepares the ListByResourceGroup request.

func (PartnerTopicsClient) ListByResourceGroupResponder

func (client PartnerTopicsClient) ListByResourceGroupResponder(resp *http.Response) (result PartnerTopicsListResult, err error)

ListByResourceGroupResponder handles the response to the ListByResourceGroup request. The method always closes the http.Response Body.

func (PartnerTopicsClient) ListByResourceGroupSender

func (client PartnerTopicsClient) ListByResourceGroupSender(req *http.Request) (*http.Response, error)

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

func (PartnerTopicsClient) ListBySubscription

func (client PartnerTopicsClient) ListBySubscription(ctx context.Context, filter string, top *int32) (result PartnerTopicsListResultPage, err error)

ListBySubscription list all the partner topics under an Azure subscription. Parameters: filter - the query used to filter the search results using OData syntax. Filtering is permitted on the 'name' property only and with limited number of OData operations. These operations are: the 'contains' function as well as the following logical operations: not, and, or, eq (for equal), and ne (for not equal). No arithmetic operations are supported. The following is a valid filter example: $filter=contains(namE, 'PATTERN') and name ne 'PATTERN-1'. The following is not a valid filter example: $filter=location eq 'westus'. top - the number of results to return per page for the list operation. Valid range for top parameter is 1 to 100. If not specified, the default number of results to be returned is 20 items per page.

func (PartnerTopicsClient) ListBySubscriptionComplete

func (client PartnerTopicsClient) ListBySubscriptionComplete(ctx context.Context, filter string, top *int32) (result PartnerTopicsListResultIterator, err error)

ListBySubscriptionComplete enumerates all values, automatically crossing page boundaries as required.

func (PartnerTopicsClient) ListBySubscriptionPreparer

func (client PartnerTopicsClient) ListBySubscriptionPreparer(ctx context.Context, filter string, top *int32) (*http.Request, error)

ListBySubscriptionPreparer prepares the ListBySubscription request.

func (PartnerTopicsClient) ListBySubscriptionResponder

func (client PartnerTopicsClient) ListBySubscriptionResponder(resp *http.Response) (result PartnerTopicsListResult, err error)

ListBySubscriptionResponder handles the response to the ListBySubscription request. The method always closes the http.Response Body.

func (PartnerTopicsClient) ListBySubscriptionSender

func (client PartnerTopicsClient) ListBySubscriptionSender(req *http.Request) (*http.Response, error)

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

func (PartnerTopicsClient) Update

func (client PartnerTopicsClient) Update(ctx context.Context, resourceGroupName string, partnerTopicName string, partnerTopicUpdateParameters PartnerTopicUpdateParameters) (result PartnerTopic, err error)

Update asynchronously updates a partner topic with the specified parameters. Parameters: resourceGroupName - the name of the resource group within the user's subscription. partnerTopicName - name of the partner topic. partnerTopicUpdateParameters - partnerTopic update information.

func (PartnerTopicsClient) UpdatePreparer

func (client PartnerTopicsClient) UpdatePreparer(ctx context.Context, resourceGroupName string, partnerTopicName string, partnerTopicUpdateParameters PartnerTopicUpdateParameters) (*http.Request, error)

UpdatePreparer prepares the Update request.

func (PartnerTopicsClient) UpdateResponder

func (client PartnerTopicsClient) UpdateResponder(resp *http.Response) (result PartnerTopic, err error)

UpdateResponder handles the response to the Update request. The method always closes the http.Response Body.

func (PartnerTopicsClient) UpdateSender

func (client PartnerTopicsClient) UpdateSender(req *http.Request) (*http.Response, error)

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

type PartnerTopicsDeleteFuture

type PartnerTopicsDeleteFuture struct {
	azure.FutureAPI
	// Result returns the result of the asynchronous operation.
	// If the operation has not completed it will return an error.
	Result func(PartnerTopicsClient) (autorest.Response, error)
}

PartnerTopicsDeleteFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*PartnerTopicsDeleteFuture) UnmarshalJSON

func (future *PartnerTopicsDeleteFuture) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type PartnerTopicsListResult

type PartnerTopicsListResult struct {
	autorest.Response `json:"-"`
	// Value - A collection of partner topics.
	Value *[]PartnerTopic `json:"value,omitempty"`
	// NextLink - A link for the next page of partner topics.
	NextLink *string `json:"nextLink,omitempty"`
}

PartnerTopicsListResult result of the List Partner Topics operation.

func (PartnerTopicsListResult) IsEmpty

func (ptlr PartnerTopicsListResult) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type PartnerTopicsListResultIterator

type PartnerTopicsListResultIterator struct {
	// contains filtered or unexported fields
}

PartnerTopicsListResultIterator provides access to a complete listing of PartnerTopic values.

func NewPartnerTopicsListResultIterator

func NewPartnerTopicsListResultIterator(page PartnerTopicsListResultPage) PartnerTopicsListResultIterator

Creates a new instance of the PartnerTopicsListResultIterator type.

func (*PartnerTopicsListResultIterator) Next

Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*PartnerTopicsListResultIterator) NextWithContext

func (iter *PartnerTopicsListResultIterator) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.

func (PartnerTopicsListResultIterator) NotDone

func (iter PartnerTopicsListResultIterator) NotDone() bool

NotDone returns true if the enumeration should be started or is not yet complete.

func (PartnerTopicsListResultIterator) Response

Response returns the raw server response from the last page request.

func (PartnerTopicsListResultIterator) Value

Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.

type PartnerTopicsListResultPage

type PartnerTopicsListResultPage struct {
	// contains filtered or unexported fields
}

PartnerTopicsListResultPage contains a page of PartnerTopic values.

func NewPartnerTopicsListResultPage

Creates a new instance of the PartnerTopicsListResultPage type.

func (*PartnerTopicsListResultPage) Next

func (page *PartnerTopicsListResultPage) Next() error

Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*PartnerTopicsListResultPage) NextWithContext

func (page *PartnerTopicsListResultPage) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.

func (PartnerTopicsListResultPage) NotDone

func (page PartnerTopicsListResultPage) NotDone() bool

NotDone returns true if the page enumeration should be started or is not yet complete.

func (PartnerTopicsListResultPage) Response

Response returns the raw server response from the last page request.

func (PartnerTopicsListResultPage) Values

func (page PartnerTopicsListResultPage) Values() []PartnerTopic

Values returns the slice of values for the current page or nil if there are no values.

type PartnerUpdateDestinationInfo

type PartnerUpdateDestinationInfo struct {
	// EndpointType - Possible values include: 'EndpointTypeBasicPartnerUpdateDestinationInfoEndpointTypePartnerUpdateDestinationInfo', 'EndpointTypeBasicPartnerUpdateDestinationInfoEndpointTypeWebHook'
	EndpointType EndpointTypeBasicPartnerUpdateDestinationInfo `json:"endpointType,omitempty"`
}

PartnerUpdateDestinationInfo properties of the corresponding partner destination of a Channel.

func (PartnerUpdateDestinationInfo) AsBasicPartnerUpdateDestinationInfo

func (pudi PartnerUpdateDestinationInfo) AsBasicPartnerUpdateDestinationInfo() (BasicPartnerUpdateDestinationInfo, bool)

AsBasicPartnerUpdateDestinationInfo is the BasicPartnerUpdateDestinationInfo implementation for PartnerUpdateDestinationInfo.

func (PartnerUpdateDestinationInfo) AsPartnerUpdateDestinationInfo

func (pudi PartnerUpdateDestinationInfo) AsPartnerUpdateDestinationInfo() (*PartnerUpdateDestinationInfo, bool)

AsPartnerUpdateDestinationInfo is the BasicPartnerUpdateDestinationInfo implementation for PartnerUpdateDestinationInfo.

func (PartnerUpdateDestinationInfo) AsWebhookUpdatePartnerDestinationInfo

func (pudi PartnerUpdateDestinationInfo) AsWebhookUpdatePartnerDestinationInfo() (*WebhookUpdatePartnerDestinationInfo, bool)

AsWebhookUpdatePartnerDestinationInfo is the BasicPartnerUpdateDestinationInfo implementation for PartnerUpdateDestinationInfo.

func (PartnerUpdateDestinationInfo) MarshalJSON

func (pudi PartnerUpdateDestinationInfo) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for PartnerUpdateDestinationInfo.

type PartnerUpdateTopicInfo

type PartnerUpdateTopicInfo struct {
	// EventTypeInfo - Event type info for the partner topic
	EventTypeInfo *EventTypeInfo `json:"eventTypeInfo,omitempty"`
}

PartnerUpdateTopicInfo update properties for the corresponding partner topic of a channel.

type PersistedConnectionStatus

type PersistedConnectionStatus string

PersistedConnectionStatus enumerates the values for persisted connection status.

const (
	// PersistedConnectionStatusApproved ...
	PersistedConnectionStatusApproved PersistedConnectionStatus = "Approved"
	// PersistedConnectionStatusDisconnected ...
	PersistedConnectionStatusDisconnected PersistedConnectionStatus = "Disconnected"
	// PersistedConnectionStatusPending ...
	PersistedConnectionStatusPending PersistedConnectionStatus = "Pending"
	// PersistedConnectionStatusRejected ...
	PersistedConnectionStatusRejected PersistedConnectionStatus = "Rejected"
)

func PossiblePersistedConnectionStatusValues

func PossiblePersistedConnectionStatusValues() []PersistedConnectionStatus

PossiblePersistedConnectionStatusValues returns an array of possible values for the PersistedConnectionStatus const type.

type PrivateEndpoint

type PrivateEndpoint struct {
	// ID - The ARM identifier for Private Endpoint.
	ID *string `json:"id,omitempty"`
}

PrivateEndpoint privateEndpoint information.

type PrivateEndpointConnection

type PrivateEndpointConnection struct {
	autorest.Response `json:"-"`
	// PrivateEndpointConnectionProperties - Properties of the PrivateEndpointConnection.
	*PrivateEndpointConnectionProperties `json:"properties,omitempty"`
	// ID - READ-ONLY; Fully qualified identifier of the resource.
	ID *string `json:"id,omitempty"`
	// Name - READ-ONLY; Name of the resource.
	Name *string `json:"name,omitempty"`
	// Type - READ-ONLY; Type of the resource.
	Type *string `json:"type,omitempty"`
}

PrivateEndpointConnection ...

func (PrivateEndpointConnection) MarshalJSON

func (pec PrivateEndpointConnection) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for PrivateEndpointConnection.

func (*PrivateEndpointConnection) UnmarshalJSON

func (pec *PrivateEndpointConnection) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for PrivateEndpointConnection struct.

type PrivateEndpointConnectionListResult

type PrivateEndpointConnectionListResult struct {
	autorest.Response `json:"-"`
	// Value - A collection of private endpoint connection resources.
	Value *[]PrivateEndpointConnection `json:"value,omitempty"`
	// NextLink - A link for the next page of private endpoint connection resources.
	NextLink *string `json:"nextLink,omitempty"`
}

PrivateEndpointConnectionListResult result of the list of all private endpoint connections operation.

func (PrivateEndpointConnectionListResult) IsEmpty

func (peclr PrivateEndpointConnectionListResult) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type PrivateEndpointConnectionListResultIterator

type PrivateEndpointConnectionListResultIterator struct {
	// contains filtered or unexported fields
}

PrivateEndpointConnectionListResultIterator provides access to a complete listing of PrivateEndpointConnection values.

func NewPrivateEndpointConnectionListResultIterator

func NewPrivateEndpointConnectionListResultIterator(page PrivateEndpointConnectionListResultPage) PrivateEndpointConnectionListResultIterator

Creates a new instance of the PrivateEndpointConnectionListResultIterator type.

func (*PrivateEndpointConnectionListResultIterator) Next

Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*PrivateEndpointConnectionListResultIterator) NextWithContext

func (iter *PrivateEndpointConnectionListResultIterator) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.

func (PrivateEndpointConnectionListResultIterator) NotDone

NotDone returns true if the enumeration should be started or is not yet complete.

func (PrivateEndpointConnectionListResultIterator) Response

Response returns the raw server response from the last page request.

func (PrivateEndpointConnectionListResultIterator) Value

Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.

type PrivateEndpointConnectionListResultPage

type PrivateEndpointConnectionListResultPage struct {
	// contains filtered or unexported fields
}

PrivateEndpointConnectionListResultPage contains a page of PrivateEndpointConnection values.

func NewPrivateEndpointConnectionListResultPage

Creates a new instance of the PrivateEndpointConnectionListResultPage type.

func (*PrivateEndpointConnectionListResultPage) Next

Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*PrivateEndpointConnectionListResultPage) NextWithContext

func (page *PrivateEndpointConnectionListResultPage) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.

func (PrivateEndpointConnectionListResultPage) NotDone

NotDone returns true if the page enumeration should be started or is not yet complete.

func (PrivateEndpointConnectionListResultPage) Response

Response returns the raw server response from the last page request.

func (PrivateEndpointConnectionListResultPage) Values

Values returns the slice of values for the current page or nil if there are no values.

type PrivateEndpointConnectionProperties

type PrivateEndpointConnectionProperties struct {
	// PrivateEndpoint - The Private Endpoint resource for this Connection.
	PrivateEndpoint *PrivateEndpoint `json:"privateEndpoint,omitempty"`
	// GroupIds - GroupIds from the private link service resource.
	GroupIds *[]string `json:"groupIds,omitempty"`
	// PrivateLinkServiceConnectionState - Details about the state of the connection.
	PrivateLinkServiceConnectionState *ConnectionState `json:"privateLinkServiceConnectionState,omitempty"`
	// ProvisioningState - Provisioning state of the Private Endpoint Connection. Possible values include: 'ResourceProvisioningStateCreating', 'ResourceProvisioningStateUpdating', 'ResourceProvisioningStateDeleting', 'ResourceProvisioningStateSucceeded', 'ResourceProvisioningStateCanceled', 'ResourceProvisioningStateFailed'
	ProvisioningState ResourceProvisioningState `json:"provisioningState,omitempty"`
}

PrivateEndpointConnectionProperties properties of the private endpoint connection resource.

type PrivateEndpointConnectionsClient

type PrivateEndpointConnectionsClient struct {
	BaseClient
}

PrivateEndpointConnectionsClient is the azure EventGrid Management Client

func NewPrivateEndpointConnectionsClient

func NewPrivateEndpointConnectionsClient(subscriptionID string) PrivateEndpointConnectionsClient

NewPrivateEndpointConnectionsClient creates an instance of the PrivateEndpointConnectionsClient client.

func NewPrivateEndpointConnectionsClientWithBaseURI

func NewPrivateEndpointConnectionsClientWithBaseURI(baseURI string, subscriptionID string) PrivateEndpointConnectionsClient

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

func (PrivateEndpointConnectionsClient) Delete

func (client PrivateEndpointConnectionsClient) Delete(ctx context.Context, resourceGroupName string, parentType ParentType, parentName string, privateEndpointConnectionName string) (result PrivateEndpointConnectionsDeleteFuture, err error)

Delete delete a specific private endpoint connection under a topic, domain, or partner namespace. Parameters: resourceGroupName - the name of the resource group within the user's subscription. parentType - the type of the parent resource. This can be either \'topics\', \'domains\', or \'partnerNamespaces\'. parentName - the name of the parent resource (namely, either, the topic name, domain name, or partner namespace name). privateEndpointConnectionName - the name of the private endpoint connection connection.

func (PrivateEndpointConnectionsClient) DeletePreparer

func (client PrivateEndpointConnectionsClient) DeletePreparer(ctx context.Context, resourceGroupName string, parentType ParentType, parentName string, privateEndpointConnectionName string) (*http.Request, error)

DeletePreparer prepares the Delete request.

func (PrivateEndpointConnectionsClient) DeleteResponder

func (client PrivateEndpointConnectionsClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)

DeleteResponder handles the response to the Delete request. The method always closes the http.Response Body.

func (PrivateEndpointConnectionsClient) DeleteSender

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

func (PrivateEndpointConnectionsClient) Get

func (client PrivateEndpointConnectionsClient) Get(ctx context.Context, resourceGroupName string, parentType ParentType, parentName string, privateEndpointConnectionName string) (result PrivateEndpointConnection, err error)

Get get a specific private endpoint connection under a topic, domain, or partner namespace. Parameters: resourceGroupName - the name of the resource group within the user's subscription. parentType - the type of the parent resource. This can be either \'topics\', \'domains\', or \'partnerNamespaces\'. parentName - the name of the parent resource (namely, either, the topic name, domain name, or partner namespace name). privateEndpointConnectionName - the name of the private endpoint connection connection.

func (PrivateEndpointConnectionsClient) GetPreparer

func (client PrivateEndpointConnectionsClient) GetPreparer(ctx context.Context, resourceGroupName string, parentType ParentType, parentName string, privateEndpointConnectionName string) (*http.Request, error)

GetPreparer prepares the Get request.

func (PrivateEndpointConnectionsClient) GetResponder

func (client PrivateEndpointConnectionsClient) GetResponder(resp *http.Response) (result PrivateEndpointConnection, err error)

GetResponder handles the response to the Get request. The method always closes the http.Response Body.

func (PrivateEndpointConnectionsClient) GetSender

func (client PrivateEndpointConnectionsClient) GetSender(req *http.Request) (*http.Response, error)

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

func (PrivateEndpointConnectionsClient) ListByResource

func (client PrivateEndpointConnectionsClient) ListByResource(ctx context.Context, resourceGroupName string, parentType ParentType, parentName string, filter string, top *int32) (result PrivateEndpointConnectionListResultPage, err error)

ListByResource get all private endpoint connections under a topic, domain, or partner namespace. Parameters: resourceGroupName - the name of the resource group within the user's subscription. parentType - the type of the parent resource. This can be either \'topics\', \'domains\', or \'partnerNamespaces\'. parentName - the name of the parent resource (namely, either, the topic name, domain name, or partner namespace name). filter - the query used to filter the search results using OData syntax. Filtering is permitted on the 'name' property only and with limited number of OData operations. These operations are: the 'contains' function as well as the following logical operations: not, and, or, eq (for equal), and ne (for not equal). No arithmetic operations are supported. The following is a valid filter example: $filter=contains(namE, 'PATTERN') and name ne 'PATTERN-1'. The following is not a valid filter example: $filter=location eq 'westus'. top - the number of results to return per page for the list operation. Valid range for top parameter is 1 to 100. If not specified, the default number of results to be returned is 20 items per page.

func (PrivateEndpointConnectionsClient) ListByResourceComplete

func (client PrivateEndpointConnectionsClient) ListByResourceComplete(ctx context.Context, resourceGroupName string, parentType ParentType, parentName string, filter string, top *int32) (result PrivateEndpointConnectionListResultIterator, err error)

ListByResourceComplete enumerates all values, automatically crossing page boundaries as required.

func (PrivateEndpointConnectionsClient) ListByResourcePreparer

func (client PrivateEndpointConnectionsClient) ListByResourcePreparer(ctx context.Context, resourceGroupName string, parentType ParentType, parentName string, filter string, top *int32) (*http.Request, error)

ListByResourcePreparer prepares the ListByResource request.

func (PrivateEndpointConnectionsClient) ListByResourceResponder

func (client PrivateEndpointConnectionsClient) ListByResourceResponder(resp *http.Response) (result PrivateEndpointConnectionListResult, err error)

ListByResourceResponder handles the response to the ListByResource request. The method always closes the http.Response Body.

func (PrivateEndpointConnectionsClient) ListByResourceSender

func (client PrivateEndpointConnectionsClient) ListByResourceSender(req *http.Request) (*http.Response, error)

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

func (PrivateEndpointConnectionsClient) Update

func (client PrivateEndpointConnectionsClient) Update(ctx context.Context, resourceGroupName string, parentType ParentType, parentName string, privateEndpointConnectionName string, privateEndpointConnection PrivateEndpointConnection) (result PrivateEndpointConnectionsUpdateFuture, err error)

Update update a specific private endpoint connection under a topic, domain or partner namespace. Parameters: resourceGroupName - the name of the resource group within the user's subscription. parentType - the type of the parent resource. This can be either \'topics\', \'domains\', or \'partnerNamespaces\'. parentName - the name of the parent resource (namely, either, the topic name, domain name, or partner namespace name). privateEndpointConnectionName - the name of the private endpoint connection connection. privateEndpointConnection - the private endpoint connection object to update.

func (PrivateEndpointConnectionsClient) UpdatePreparer

func (client PrivateEndpointConnectionsClient) UpdatePreparer(ctx context.Context, resourceGroupName string, parentType ParentType, parentName string, privateEndpointConnectionName string, privateEndpointConnection PrivateEndpointConnection) (*http.Request, error)

UpdatePreparer prepares the Update request.

func (PrivateEndpointConnectionsClient) UpdateResponder

func (client PrivateEndpointConnectionsClient) UpdateResponder(resp *http.Response) (result PrivateEndpointConnection, err error)

UpdateResponder handles the response to the Update request. The method always closes the http.Response Body.

func (PrivateEndpointConnectionsClient) UpdateSender

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

type PrivateEndpointConnectionsDeleteFuture

type PrivateEndpointConnectionsDeleteFuture struct {
	azure.FutureAPI
	// Result returns the result of the asynchronous operation.
	// If the operation has not completed it will return an error.
	Result func(PrivateEndpointConnectionsClient) (autorest.Response, error)
}

PrivateEndpointConnectionsDeleteFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*PrivateEndpointConnectionsDeleteFuture) UnmarshalJSON

func (future *PrivateEndpointConnectionsDeleteFuture) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type PrivateEndpointConnectionsUpdateFuture

type PrivateEndpointConnectionsUpdateFuture struct {
	azure.FutureAPI
	// Result returns the result of the asynchronous operation.
	// If the operation has not completed it will return an error.
	Result func(PrivateEndpointConnectionsClient) (PrivateEndpointConnection, error)
}

PrivateEndpointConnectionsUpdateFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*PrivateEndpointConnectionsUpdateFuture) UnmarshalJSON

func (future *PrivateEndpointConnectionsUpdateFuture) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type PrivateLinkResource

type PrivateLinkResource struct {
	autorest.Response `json:"-"`
	// PrivateLinkResourceProperties - Properties of the private link resource.
	*PrivateLinkResourceProperties `json:"properties,omitempty"`
	// ID - Fully qualified identifier of the resource.
	ID *string `json:"id,omitempty"`
	// Name - Name of the resource.
	Name *string `json:"name,omitempty"`
	// Type - Type of the resource.
	Type *string `json:"type,omitempty"`
}

PrivateLinkResource information of the private link resource.

func (PrivateLinkResource) MarshalJSON

func (plr PrivateLinkResource) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for PrivateLinkResource.

func (*PrivateLinkResource) UnmarshalJSON

func (plr *PrivateLinkResource) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for PrivateLinkResource struct.

type PrivateLinkResourceProperties

type PrivateLinkResourceProperties struct {
	GroupID           *string   `json:"groupId,omitempty"`
	DisplayName       *string   `json:"displayName,omitempty"`
	RequiredMembers   *[]string `json:"requiredMembers,omitempty"`
	RequiredZoneNames *[]string `json:"requiredZoneNames,omitempty"`
}

PrivateLinkResourceProperties ...

type PrivateLinkResourcesClient

type PrivateLinkResourcesClient struct {
	BaseClient
}

PrivateLinkResourcesClient is the azure EventGrid Management Client

func NewPrivateLinkResourcesClient

func NewPrivateLinkResourcesClient(subscriptionID string) PrivateLinkResourcesClient

NewPrivateLinkResourcesClient creates an instance of the PrivateLinkResourcesClient client.

func NewPrivateLinkResourcesClientWithBaseURI

func NewPrivateLinkResourcesClientWithBaseURI(baseURI string, subscriptionID string) PrivateLinkResourcesClient

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

func (PrivateLinkResourcesClient) Get

func (client PrivateLinkResourcesClient) Get(ctx context.Context, resourceGroupName string, parentType string, parentName string, privateLinkResourceName string) (result PrivateLinkResource, err error)

Get get properties of a private link resource. Parameters: resourceGroupName - the name of the resource group within the user's subscription. parentType - the type of the parent resource. This can be either \'topics\', \'domains\', or \'partnerNamespaces\'. parentName - the name of the parent resource (namely, either, the topic name, domain name, or partner namespace name). privateLinkResourceName - the name of private link resource.

func (PrivateLinkResourcesClient) GetPreparer

func (client PrivateLinkResourcesClient) GetPreparer(ctx context.Context, resourceGroupName string, parentType string, parentName string, privateLinkResourceName string) (*http.Request, error)

GetPreparer prepares the Get request.

func (PrivateLinkResourcesClient) GetResponder

func (client PrivateLinkResourcesClient) GetResponder(resp *http.Response) (result PrivateLinkResource, err error)

GetResponder handles the response to the Get request. The method always closes the http.Response Body.

func (PrivateLinkResourcesClient) GetSender

func (client PrivateLinkResourcesClient) GetSender(req *http.Request) (*http.Response, error)

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

func (PrivateLinkResourcesClient) ListByResource

func (client PrivateLinkResourcesClient) ListByResource(ctx context.Context, resourceGroupName string, parentType string, parentName string, filter string, top *int32) (result PrivateLinkResourcesListResultPage, err error)

ListByResource list all the private link resources under a topic, domain, or partner namespace. Parameters: resourceGroupName - the name of the resource group within the user's subscription. parentType - the type of the parent resource. This can be either \'topics\', \'domains\', or \'partnerNamespaces\'. parentName - the name of the parent resource (namely, either, the topic name, domain name, or partner namespace name). filter - the query used to filter the search results using OData syntax. Filtering is permitted on the 'name' property only and with limited number of OData operations. These operations are: the 'contains' function as well as the following logical operations: not, and, or, eq (for equal), and ne (for not equal). No arithmetic operations are supported. The following is a valid filter example: $filter=contains(namE, 'PATTERN') and name ne 'PATTERN-1'. The following is not a valid filter example: $filter=location eq 'westus'. top - the number of results to return per page for the list operation. Valid range for top parameter is 1 to 100. If not specified, the default number of results to be returned is 20 items per page.

func (PrivateLinkResourcesClient) ListByResourceComplete

func (client PrivateLinkResourcesClient) ListByResourceComplete(ctx context.Context, resourceGroupName string, parentType string, parentName string, filter string, top *int32) (result PrivateLinkResourcesListResultIterator, err error)

ListByResourceComplete enumerates all values, automatically crossing page boundaries as required.

func (PrivateLinkResourcesClient) ListByResourcePreparer

func (client PrivateLinkResourcesClient) ListByResourcePreparer(ctx context.Context, resourceGroupName string, parentType string, parentName string, filter string, top *int32) (*http.Request, error)

ListByResourcePreparer prepares the ListByResource request.

func (PrivateLinkResourcesClient) ListByResourceResponder

func (client PrivateLinkResourcesClient) ListByResourceResponder(resp *http.Response) (result PrivateLinkResourcesListResult, err error)

ListByResourceResponder handles the response to the ListByResource request. The method always closes the http.Response Body.

func (PrivateLinkResourcesClient) ListByResourceSender

func (client PrivateLinkResourcesClient) ListByResourceSender(req *http.Request) (*http.Response, error)

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

type PrivateLinkResourcesListResult

type PrivateLinkResourcesListResult struct {
	autorest.Response `json:"-"`
	// Value - A collection of private link resources
	Value *[]PrivateLinkResource `json:"value,omitempty"`
	// NextLink - A link for the next page of private link resources.
	NextLink *string `json:"nextLink,omitempty"`
}

PrivateLinkResourcesListResult result of the List private link resources operation.

func (PrivateLinkResourcesListResult) IsEmpty

func (plrlr PrivateLinkResourcesListResult) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type PrivateLinkResourcesListResultIterator

type PrivateLinkResourcesListResultIterator struct {
	// contains filtered or unexported fields
}

PrivateLinkResourcesListResultIterator provides access to a complete listing of PrivateLinkResource values.

func NewPrivateLinkResourcesListResultIterator

func NewPrivateLinkResourcesListResultIterator(page PrivateLinkResourcesListResultPage) PrivateLinkResourcesListResultIterator

Creates a new instance of the PrivateLinkResourcesListResultIterator type.

func (*PrivateLinkResourcesListResultIterator) Next

Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*PrivateLinkResourcesListResultIterator) NextWithContext

func (iter *PrivateLinkResourcesListResultIterator) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.

func (PrivateLinkResourcesListResultIterator) NotDone

NotDone returns true if the enumeration should be started or is not yet complete.

func (PrivateLinkResourcesListResultIterator) Response

Response returns the raw server response from the last page request.

func (PrivateLinkResourcesListResultIterator) Value

Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.

type PrivateLinkResourcesListResultPage

type PrivateLinkResourcesListResultPage struct {
	// contains filtered or unexported fields
}

PrivateLinkResourcesListResultPage contains a page of PrivateLinkResource values.

func NewPrivateLinkResourcesListResultPage

Creates a new instance of the PrivateLinkResourcesListResultPage type.

func (*PrivateLinkResourcesListResultPage) Next

Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*PrivateLinkResourcesListResultPage) NextWithContext

func (page *PrivateLinkResourcesListResultPage) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.

func (PrivateLinkResourcesListResultPage) NotDone

NotDone returns true if the page enumeration should be started or is not yet complete.

func (PrivateLinkResourcesListResultPage) Response

Response returns the raw server response from the last page request.

func (PrivateLinkResourcesListResultPage) Values

Values returns the slice of values for the current page or nil if there are no values.

type PublicNetworkAccess

type PublicNetworkAccess string

PublicNetworkAccess enumerates the values for public network access.

const (
	// PublicNetworkAccessDisabled ...
	PublicNetworkAccessDisabled PublicNetworkAccess = "Disabled"
	// PublicNetworkAccessEnabled ...
	PublicNetworkAccessEnabled PublicNetworkAccess = "Enabled"
)

func PossiblePublicNetworkAccessValues

func PossiblePublicNetworkAccessValues() []PublicNetworkAccess

PossiblePublicNetworkAccessValues returns an array of possible values for the PublicNetworkAccess const type.

type ReadinessState

type ReadinessState string

ReadinessState enumerates the values for readiness state.

const (
	// ReadinessStateActivated ...
	ReadinessStateActivated ReadinessState = "Activated"
	// ReadinessStateNeverActivated ...
	ReadinessStateNeverActivated ReadinessState = "NeverActivated"
)

func PossibleReadinessStateValues

func PossibleReadinessStateValues() []ReadinessState

PossibleReadinessStateValues returns an array of possible values for the ReadinessState const type.

type Resource

type Resource struct {
	// ID - READ-ONLY; Fully qualified identifier of the resource.
	ID *string `json:"id,omitempty"`
	// Name - READ-ONLY; Name of the resource.
	Name *string `json:"name,omitempty"`
	// Type - READ-ONLY; Type of the resource.
	Type *string `json:"type,omitempty"`
}

Resource definition of a Resource

func (Resource) MarshalJSON

func (r Resource) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for Resource.

type ResourceKind

type ResourceKind string

ResourceKind enumerates the values for resource kind.

const (
	// ResourceKindAzure ...
	ResourceKindAzure ResourceKind = "Azure"
	// ResourceKindAzureArc ...
	ResourceKindAzureArc ResourceKind = "AzureArc"
)

func PossibleResourceKindValues

func PossibleResourceKindValues() []ResourceKind

PossibleResourceKindValues returns an array of possible values for the ResourceKind const type.

type ResourceMoveChangeHistory

type ResourceMoveChangeHistory struct {
	// AzureSubscriptionID - Azure subscription ID of the resource.
	AzureSubscriptionID *string `json:"azureSubscriptionId,omitempty"`
	// ResourceGroupName - Azure Resource Group of the resource.
	ResourceGroupName *string `json:"resourceGroupName,omitempty"`
	// ChangedTimeUtc - UTC timestamp of when the resource was changed.
	ChangedTimeUtc *date.Time `json:"changedTimeUtc,omitempty"`
}

ResourceMoveChangeHistory the change history of the resource move.

type ResourceProvisioningState

type ResourceProvisioningState string

ResourceProvisioningState enumerates the values for resource provisioning state.

const (
	// ResourceProvisioningStateCanceled ...
	ResourceProvisioningStateCanceled ResourceProvisioningState = "Canceled"
	// ResourceProvisioningStateCreating ...
	ResourceProvisioningStateCreating ResourceProvisioningState = "Creating"
	// ResourceProvisioningStateDeleting ...
	ResourceProvisioningStateDeleting ResourceProvisioningState = "Deleting"
	// ResourceProvisioningStateFailed ...
	ResourceProvisioningStateFailed ResourceProvisioningState = "Failed"
	// ResourceProvisioningStateSucceeded ...
	ResourceProvisioningStateSucceeded ResourceProvisioningState = "Succeeded"
	// ResourceProvisioningStateUpdating ...
	ResourceProvisioningStateUpdating ResourceProvisioningState = "Updating"
)

func PossibleResourceProvisioningStateValues

func PossibleResourceProvisioningStateValues() []ResourceProvisioningState

PossibleResourceProvisioningStateValues returns an array of possible values for the ResourceProvisioningState const type.

type ResourceRegionType

type ResourceRegionType string

ResourceRegionType enumerates the values for resource region type.

const (
	// ResourceRegionTypeGlobalResource ...
	ResourceRegionTypeGlobalResource ResourceRegionType = "GlobalResource"
	// ResourceRegionTypeRegionalResource ...
	ResourceRegionTypeRegionalResource ResourceRegionType = "RegionalResource"
)

func PossibleResourceRegionTypeValues

func PossibleResourceRegionTypeValues() []ResourceRegionType

PossibleResourceRegionTypeValues returns an array of possible values for the ResourceRegionType const type.

type ResourceSku

type ResourceSku struct {
	// Name - The Sku name of the resource. The possible values are: Basic or Premium. Possible values include: 'SkuBasic', 'SkuPremium'
	Name Sku `json:"name,omitempty"`
}

ResourceSku describes an EventGrid Resource Sku.

type RetryPolicy

type RetryPolicy struct {
	// MaxDeliveryAttempts - Maximum number of delivery retry attempts for events.
	MaxDeliveryAttempts *int32 `json:"maxDeliveryAttempts,omitempty"`
	// EventTimeToLiveInMinutes - Time To Live (in minutes) for events.
	EventTimeToLiveInMinutes *int32 `json:"eventTimeToLiveInMinutes,omitempty"`
}

RetryPolicy information about the retry policy for an event subscription.

type ServiceBusQueueEventSubscriptionDestination

type ServiceBusQueueEventSubscriptionDestination struct {
	// ServiceBusQueueEventSubscriptionDestinationProperties - Service Bus Properties of the event subscription destination.
	*ServiceBusQueueEventSubscriptionDestinationProperties `json:"properties,omitempty"`
	// EndpointType - Possible values include: 'EndpointTypeBasicEventSubscriptionDestinationEndpointTypeEventSubscriptionDestination', 'EndpointTypeBasicEventSubscriptionDestinationEndpointTypeWebHook', 'EndpointTypeBasicEventSubscriptionDestinationEndpointTypeEventHub', 'EndpointTypeBasicEventSubscriptionDestinationEndpointTypeStorageQueue', 'EndpointTypeBasicEventSubscriptionDestinationEndpointTypeHybridConnection', 'EndpointTypeBasicEventSubscriptionDestinationEndpointTypeServiceBusQueue', 'EndpointTypeBasicEventSubscriptionDestinationEndpointTypeServiceBusTopic', 'EndpointTypeBasicEventSubscriptionDestinationEndpointTypeAzureFunction', 'EndpointTypeBasicEventSubscriptionDestinationEndpointTypePartnerDestination'
	EndpointType EndpointTypeBasicEventSubscriptionDestination `json:"endpointType,omitempty"`
}

ServiceBusQueueEventSubscriptionDestination information about the service bus destination for an event subscription.

func (ServiceBusQueueEventSubscriptionDestination) AsAzureFunctionEventSubscriptionDestination

func (sbqesd ServiceBusQueueEventSubscriptionDestination) AsAzureFunctionEventSubscriptionDestination() (*AzureFunctionEventSubscriptionDestination, bool)

AsAzureFunctionEventSubscriptionDestination is the BasicEventSubscriptionDestination implementation for ServiceBusQueueEventSubscriptionDestination.

func (ServiceBusQueueEventSubscriptionDestination) AsBasicEventSubscriptionDestination

func (sbqesd ServiceBusQueueEventSubscriptionDestination) AsBasicEventSubscriptionDestination() (BasicEventSubscriptionDestination, bool)

AsBasicEventSubscriptionDestination is the BasicEventSubscriptionDestination implementation for ServiceBusQueueEventSubscriptionDestination.

func (ServiceBusQueueEventSubscriptionDestination) AsEventHubEventSubscriptionDestination

func (sbqesd ServiceBusQueueEventSubscriptionDestination) AsEventHubEventSubscriptionDestination() (*EventHubEventSubscriptionDestination, bool)

AsEventHubEventSubscriptionDestination is the BasicEventSubscriptionDestination implementation for ServiceBusQueueEventSubscriptionDestination.

func (ServiceBusQueueEventSubscriptionDestination) AsEventSubscriptionDestination

func (sbqesd ServiceBusQueueEventSubscriptionDestination) AsEventSubscriptionDestination() (*EventSubscriptionDestination, bool)

AsEventSubscriptionDestination is the BasicEventSubscriptionDestination implementation for ServiceBusQueueEventSubscriptionDestination.

func (ServiceBusQueueEventSubscriptionDestination) AsHybridConnectionEventSubscriptionDestination

func (sbqesd ServiceBusQueueEventSubscriptionDestination) AsHybridConnectionEventSubscriptionDestination() (*HybridConnectionEventSubscriptionDestination, bool)

AsHybridConnectionEventSubscriptionDestination is the BasicEventSubscriptionDestination implementation for ServiceBusQueueEventSubscriptionDestination.

func (ServiceBusQueueEventSubscriptionDestination) AsPartnerEventSubscriptionDestination

func (sbqesd ServiceBusQueueEventSubscriptionDestination) AsPartnerEventSubscriptionDestination() (*PartnerEventSubscriptionDestination, bool)

AsPartnerEventSubscriptionDestination is the BasicEventSubscriptionDestination implementation for ServiceBusQueueEventSubscriptionDestination.

func (ServiceBusQueueEventSubscriptionDestination) AsServiceBusQueueEventSubscriptionDestination

func (sbqesd ServiceBusQueueEventSubscriptionDestination) AsServiceBusQueueEventSubscriptionDestination() (*ServiceBusQueueEventSubscriptionDestination, bool)

AsServiceBusQueueEventSubscriptionDestination is the BasicEventSubscriptionDestination implementation for ServiceBusQueueEventSubscriptionDestination.

func (ServiceBusQueueEventSubscriptionDestination) AsServiceBusTopicEventSubscriptionDestination

func (sbqesd ServiceBusQueueEventSubscriptionDestination) AsServiceBusTopicEventSubscriptionDestination() (*ServiceBusTopicEventSubscriptionDestination, bool)

AsServiceBusTopicEventSubscriptionDestination is the BasicEventSubscriptionDestination implementation for ServiceBusQueueEventSubscriptionDestination.

func (ServiceBusQueueEventSubscriptionDestination) AsStorageQueueEventSubscriptionDestination

func (sbqesd ServiceBusQueueEventSubscriptionDestination) AsStorageQueueEventSubscriptionDestination() (*StorageQueueEventSubscriptionDestination, bool)

AsStorageQueueEventSubscriptionDestination is the BasicEventSubscriptionDestination implementation for ServiceBusQueueEventSubscriptionDestination.

func (ServiceBusQueueEventSubscriptionDestination) AsWebHookEventSubscriptionDestination

func (sbqesd ServiceBusQueueEventSubscriptionDestination) AsWebHookEventSubscriptionDestination() (*WebHookEventSubscriptionDestination, bool)

AsWebHookEventSubscriptionDestination is the BasicEventSubscriptionDestination implementation for ServiceBusQueueEventSubscriptionDestination.

func (ServiceBusQueueEventSubscriptionDestination) MarshalJSON

func (sbqesd ServiceBusQueueEventSubscriptionDestination) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ServiceBusQueueEventSubscriptionDestination.

func (*ServiceBusQueueEventSubscriptionDestination) UnmarshalJSON

func (sbqesd *ServiceBusQueueEventSubscriptionDestination) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for ServiceBusQueueEventSubscriptionDestination struct.

type ServiceBusQueueEventSubscriptionDestinationProperties

type ServiceBusQueueEventSubscriptionDestinationProperties struct {
	// ResourceID - The Azure Resource Id that represents the endpoint of the Service Bus destination of an event subscription.
	ResourceID *string `json:"resourceId,omitempty"`
	// DeliveryAttributeMappings - Delivery attribute details.
	DeliveryAttributeMappings *[]BasicDeliveryAttributeMapping `json:"deliveryAttributeMappings,omitempty"`
}

ServiceBusQueueEventSubscriptionDestinationProperties the properties that represent the Service Bus destination of an event subscription.

func (*ServiceBusQueueEventSubscriptionDestinationProperties) UnmarshalJSON

func (sbqesdp *ServiceBusQueueEventSubscriptionDestinationProperties) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for ServiceBusQueueEventSubscriptionDestinationProperties struct.

type ServiceBusTopicEventSubscriptionDestination

type ServiceBusTopicEventSubscriptionDestination struct {
	// ServiceBusTopicEventSubscriptionDestinationProperties - Service Bus Topic Properties of the event subscription destination.
	*ServiceBusTopicEventSubscriptionDestinationProperties `json:"properties,omitempty"`
	// EndpointType - Possible values include: 'EndpointTypeBasicEventSubscriptionDestinationEndpointTypeEventSubscriptionDestination', 'EndpointTypeBasicEventSubscriptionDestinationEndpointTypeWebHook', 'EndpointTypeBasicEventSubscriptionDestinationEndpointTypeEventHub', 'EndpointTypeBasicEventSubscriptionDestinationEndpointTypeStorageQueue', 'EndpointTypeBasicEventSubscriptionDestinationEndpointTypeHybridConnection', 'EndpointTypeBasicEventSubscriptionDestinationEndpointTypeServiceBusQueue', 'EndpointTypeBasicEventSubscriptionDestinationEndpointTypeServiceBusTopic', 'EndpointTypeBasicEventSubscriptionDestinationEndpointTypeAzureFunction', 'EndpointTypeBasicEventSubscriptionDestinationEndpointTypePartnerDestination'
	EndpointType EndpointTypeBasicEventSubscriptionDestination `json:"endpointType,omitempty"`
}

ServiceBusTopicEventSubscriptionDestination information about the service bus topic destination for an event subscription.

func (ServiceBusTopicEventSubscriptionDestination) AsAzureFunctionEventSubscriptionDestination

func (sbtesd ServiceBusTopicEventSubscriptionDestination) AsAzureFunctionEventSubscriptionDestination() (*AzureFunctionEventSubscriptionDestination, bool)

AsAzureFunctionEventSubscriptionDestination is the BasicEventSubscriptionDestination implementation for ServiceBusTopicEventSubscriptionDestination.

func (ServiceBusTopicEventSubscriptionDestination) AsBasicEventSubscriptionDestination

func (sbtesd ServiceBusTopicEventSubscriptionDestination) AsBasicEventSubscriptionDestination() (BasicEventSubscriptionDestination, bool)

AsBasicEventSubscriptionDestination is the BasicEventSubscriptionDestination implementation for ServiceBusTopicEventSubscriptionDestination.

func (ServiceBusTopicEventSubscriptionDestination) AsEventHubEventSubscriptionDestination

func (sbtesd ServiceBusTopicEventSubscriptionDestination) AsEventHubEventSubscriptionDestination() (*EventHubEventSubscriptionDestination, bool)

AsEventHubEventSubscriptionDestination is the BasicEventSubscriptionDestination implementation for ServiceBusTopicEventSubscriptionDestination.

func (ServiceBusTopicEventSubscriptionDestination) AsEventSubscriptionDestination

func (sbtesd ServiceBusTopicEventSubscriptionDestination) AsEventSubscriptionDestination() (*EventSubscriptionDestination, bool)

AsEventSubscriptionDestination is the BasicEventSubscriptionDestination implementation for ServiceBusTopicEventSubscriptionDestination.

func (ServiceBusTopicEventSubscriptionDestination) AsHybridConnectionEventSubscriptionDestination

func (sbtesd ServiceBusTopicEventSubscriptionDestination) AsHybridConnectionEventSubscriptionDestination() (*HybridConnectionEventSubscriptionDestination, bool)

AsHybridConnectionEventSubscriptionDestination is the BasicEventSubscriptionDestination implementation for ServiceBusTopicEventSubscriptionDestination.

func (ServiceBusTopicEventSubscriptionDestination) AsPartnerEventSubscriptionDestination

func (sbtesd ServiceBusTopicEventSubscriptionDestination) AsPartnerEventSubscriptionDestination() (*PartnerEventSubscriptionDestination, bool)

AsPartnerEventSubscriptionDestination is the BasicEventSubscriptionDestination implementation for ServiceBusTopicEventSubscriptionDestination.

func (ServiceBusTopicEventSubscriptionDestination) AsServiceBusQueueEventSubscriptionDestination

func (sbtesd ServiceBusTopicEventSubscriptionDestination) AsServiceBusQueueEventSubscriptionDestination() (*ServiceBusQueueEventSubscriptionDestination, bool)

AsServiceBusQueueEventSubscriptionDestination is the BasicEventSubscriptionDestination implementation for ServiceBusTopicEventSubscriptionDestination.

func (ServiceBusTopicEventSubscriptionDestination) AsServiceBusTopicEventSubscriptionDestination

func (sbtesd ServiceBusTopicEventSubscriptionDestination) AsServiceBusTopicEventSubscriptionDestination() (*ServiceBusTopicEventSubscriptionDestination, bool)

AsServiceBusTopicEventSubscriptionDestination is the BasicEventSubscriptionDestination implementation for ServiceBusTopicEventSubscriptionDestination.

func (ServiceBusTopicEventSubscriptionDestination) AsStorageQueueEventSubscriptionDestination

func (sbtesd ServiceBusTopicEventSubscriptionDestination) AsStorageQueueEventSubscriptionDestination() (*StorageQueueEventSubscriptionDestination, bool)

AsStorageQueueEventSubscriptionDestination is the BasicEventSubscriptionDestination implementation for ServiceBusTopicEventSubscriptionDestination.

func (ServiceBusTopicEventSubscriptionDestination) AsWebHookEventSubscriptionDestination

func (sbtesd ServiceBusTopicEventSubscriptionDestination) AsWebHookEventSubscriptionDestination() (*WebHookEventSubscriptionDestination, bool)

AsWebHookEventSubscriptionDestination is the BasicEventSubscriptionDestination implementation for ServiceBusTopicEventSubscriptionDestination.

func (ServiceBusTopicEventSubscriptionDestination) MarshalJSON

func (sbtesd ServiceBusTopicEventSubscriptionDestination) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ServiceBusTopicEventSubscriptionDestination.

func (*ServiceBusTopicEventSubscriptionDestination) UnmarshalJSON

func (sbtesd *ServiceBusTopicEventSubscriptionDestination) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for ServiceBusTopicEventSubscriptionDestination struct.

type ServiceBusTopicEventSubscriptionDestinationProperties

type ServiceBusTopicEventSubscriptionDestinationProperties struct {
	// ResourceID - The Azure Resource Id that represents the endpoint of the Service Bus Topic destination of an event subscription.
	ResourceID *string `json:"resourceId,omitempty"`
	// DeliveryAttributeMappings - Delivery attribute details.
	DeliveryAttributeMappings *[]BasicDeliveryAttributeMapping `json:"deliveryAttributeMappings,omitempty"`
}

ServiceBusTopicEventSubscriptionDestinationProperties the properties that represent the Service Bus Topic destination of an event subscription.

func (*ServiceBusTopicEventSubscriptionDestinationProperties) UnmarshalJSON

func (sbtesdp *ServiceBusTopicEventSubscriptionDestinationProperties) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for ServiceBusTopicEventSubscriptionDestinationProperties struct.

type Sku

type Sku string

Sku enumerates the values for sku.

const (
	// SkuBasic ...
	SkuBasic Sku = "Basic"
	// SkuPremium ...
	SkuPremium Sku = "Premium"
)

func PossibleSkuValues

func PossibleSkuValues() []Sku

PossibleSkuValues returns an array of possible values for the Sku const type.

type StaticDeliveryAttributeMapping

type StaticDeliveryAttributeMapping struct {
	// StaticDeliveryAttributeMappingProperties - Properties of static delivery attribute mapping.
	*StaticDeliveryAttributeMappingProperties `json:"properties,omitempty"`
	// 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"`
}

StaticDeliveryAttributeMapping static delivery attribute mapping details.

func (StaticDeliveryAttributeMapping) AsBasicDeliveryAttributeMapping

func (sdam StaticDeliveryAttributeMapping) AsBasicDeliveryAttributeMapping() (BasicDeliveryAttributeMapping, bool)

AsBasicDeliveryAttributeMapping is the BasicDeliveryAttributeMapping implementation for StaticDeliveryAttributeMapping.

func (StaticDeliveryAttributeMapping) AsDeliveryAttributeMapping

func (sdam StaticDeliveryAttributeMapping) AsDeliveryAttributeMapping() (*DeliveryAttributeMapping, bool)

AsDeliveryAttributeMapping is the BasicDeliveryAttributeMapping implementation for StaticDeliveryAttributeMapping.

func (StaticDeliveryAttributeMapping) AsDynamicDeliveryAttributeMapping

func (sdam StaticDeliveryAttributeMapping) AsDynamicDeliveryAttributeMapping() (*DynamicDeliveryAttributeMapping, bool)

AsDynamicDeliveryAttributeMapping is the BasicDeliveryAttributeMapping implementation for StaticDeliveryAttributeMapping.

func (StaticDeliveryAttributeMapping) AsStaticDeliveryAttributeMapping

func (sdam StaticDeliveryAttributeMapping) AsStaticDeliveryAttributeMapping() (*StaticDeliveryAttributeMapping, bool)

AsStaticDeliveryAttributeMapping is the BasicDeliveryAttributeMapping implementation for StaticDeliveryAttributeMapping.

func (StaticDeliveryAttributeMapping) MarshalJSON

func (sdam StaticDeliveryAttributeMapping) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for StaticDeliveryAttributeMapping.

func (*StaticDeliveryAttributeMapping) UnmarshalJSON

func (sdam *StaticDeliveryAttributeMapping) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for StaticDeliveryAttributeMapping struct.

type StaticDeliveryAttributeMappingProperties

type StaticDeliveryAttributeMappingProperties struct {
	// Value - Value of the delivery attribute.
	Value *string `json:"value,omitempty"`
	// IsSecret - Boolean flag to tell if the attribute contains sensitive information .
	IsSecret *bool `json:"isSecret,omitempty"`
}

StaticDeliveryAttributeMappingProperties properties of static delivery attribute mapping.

type StorageBlobDeadLetterDestination

type StorageBlobDeadLetterDestination struct {
	// StorageBlobDeadLetterDestinationProperties - The properties of the Storage Blob based deadletter destination
	*StorageBlobDeadLetterDestinationProperties `json:"properties,omitempty"`
	// EndpointType - Possible values include: 'EndpointTypeBasicDeadLetterDestinationEndpointTypeDeadLetterDestination', 'EndpointTypeBasicDeadLetterDestinationEndpointTypeStorageBlob'
	EndpointType EndpointTypeBasicDeadLetterDestination `json:"endpointType,omitempty"`
}

StorageBlobDeadLetterDestination information about the storage blob based dead letter destination.

func (StorageBlobDeadLetterDestination) AsBasicDeadLetterDestination

func (sbdld StorageBlobDeadLetterDestination) AsBasicDeadLetterDestination() (BasicDeadLetterDestination, bool)

AsBasicDeadLetterDestination is the BasicDeadLetterDestination implementation for StorageBlobDeadLetterDestination.

func (StorageBlobDeadLetterDestination) AsDeadLetterDestination

func (sbdld StorageBlobDeadLetterDestination) AsDeadLetterDestination() (*DeadLetterDestination, bool)

AsDeadLetterDestination is the BasicDeadLetterDestination implementation for StorageBlobDeadLetterDestination.

func (StorageBlobDeadLetterDestination) AsStorageBlobDeadLetterDestination

func (sbdld StorageBlobDeadLetterDestination) AsStorageBlobDeadLetterDestination() (*StorageBlobDeadLetterDestination, bool)

AsStorageBlobDeadLetterDestination is the BasicDeadLetterDestination implementation for StorageBlobDeadLetterDestination.

func (StorageBlobDeadLetterDestination) MarshalJSON

func (sbdld StorageBlobDeadLetterDestination) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for StorageBlobDeadLetterDestination.

func (*StorageBlobDeadLetterDestination) UnmarshalJSON

func (sbdld *StorageBlobDeadLetterDestination) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for StorageBlobDeadLetterDestination struct.

type StorageBlobDeadLetterDestinationProperties

type StorageBlobDeadLetterDestinationProperties struct {
	// ResourceID - The Azure Resource ID of the storage account that is the destination of the deadletter events
	ResourceID *string `json:"resourceId,omitempty"`
	// BlobContainerName - The name of the Storage blob container that is the destination of the deadletter events
	BlobContainerName *string `json:"blobContainerName,omitempty"`
}

StorageBlobDeadLetterDestinationProperties properties of the storage blob based dead letter destination.

type StorageQueueEventSubscriptionDestination

type StorageQueueEventSubscriptionDestination struct {
	// StorageQueueEventSubscriptionDestinationProperties - Storage Queue Properties of the event subscription destination.
	*StorageQueueEventSubscriptionDestinationProperties `json:"properties,omitempty"`
	// EndpointType - Possible values include: 'EndpointTypeBasicEventSubscriptionDestinationEndpointTypeEventSubscriptionDestination', 'EndpointTypeBasicEventSubscriptionDestinationEndpointTypeWebHook', 'EndpointTypeBasicEventSubscriptionDestinationEndpointTypeEventHub', 'EndpointTypeBasicEventSubscriptionDestinationEndpointTypeStorageQueue', 'EndpointTypeBasicEventSubscriptionDestinationEndpointTypeHybridConnection', 'EndpointTypeBasicEventSubscriptionDestinationEndpointTypeServiceBusQueue', 'EndpointTypeBasicEventSubscriptionDestinationEndpointTypeServiceBusTopic', 'EndpointTypeBasicEventSubscriptionDestinationEndpointTypeAzureFunction', 'EndpointTypeBasicEventSubscriptionDestinationEndpointTypePartnerDestination'
	EndpointType EndpointTypeBasicEventSubscriptionDestination `json:"endpointType,omitempty"`
}

StorageQueueEventSubscriptionDestination information about the storage queue destination for an event subscription.

func (StorageQueueEventSubscriptionDestination) AsAzureFunctionEventSubscriptionDestination

func (sqesd StorageQueueEventSubscriptionDestination) AsAzureFunctionEventSubscriptionDestination() (*AzureFunctionEventSubscriptionDestination, bool)

AsAzureFunctionEventSubscriptionDestination is the BasicEventSubscriptionDestination implementation for StorageQueueEventSubscriptionDestination.

func (StorageQueueEventSubscriptionDestination) AsBasicEventSubscriptionDestination

func (sqesd StorageQueueEventSubscriptionDestination) AsBasicEventSubscriptionDestination() (BasicEventSubscriptionDestination, bool)

AsBasicEventSubscriptionDestination is the BasicEventSubscriptionDestination implementation for StorageQueueEventSubscriptionDestination.

func (StorageQueueEventSubscriptionDestination) AsEventHubEventSubscriptionDestination

func (sqesd StorageQueueEventSubscriptionDestination) AsEventHubEventSubscriptionDestination() (*EventHubEventSubscriptionDestination, bool)

AsEventHubEventSubscriptionDestination is the BasicEventSubscriptionDestination implementation for StorageQueueEventSubscriptionDestination.

func (StorageQueueEventSubscriptionDestination) AsEventSubscriptionDestination

func (sqesd StorageQueueEventSubscriptionDestination) AsEventSubscriptionDestination() (*EventSubscriptionDestination, bool)

AsEventSubscriptionDestination is the BasicEventSubscriptionDestination implementation for StorageQueueEventSubscriptionDestination.

func (StorageQueueEventSubscriptionDestination) AsHybridConnectionEventSubscriptionDestination

func (sqesd StorageQueueEventSubscriptionDestination) AsHybridConnectionEventSubscriptionDestination() (*HybridConnectionEventSubscriptionDestination, bool)

AsHybridConnectionEventSubscriptionDestination is the BasicEventSubscriptionDestination implementation for StorageQueueEventSubscriptionDestination.

func (StorageQueueEventSubscriptionDestination) AsPartnerEventSubscriptionDestination

func (sqesd StorageQueueEventSubscriptionDestination) AsPartnerEventSubscriptionDestination() (*PartnerEventSubscriptionDestination, bool)

AsPartnerEventSubscriptionDestination is the BasicEventSubscriptionDestination implementation for StorageQueueEventSubscriptionDestination.

func (StorageQueueEventSubscriptionDestination) AsServiceBusQueueEventSubscriptionDestination

func (sqesd StorageQueueEventSubscriptionDestination) AsServiceBusQueueEventSubscriptionDestination() (*ServiceBusQueueEventSubscriptionDestination, bool)

AsServiceBusQueueEventSubscriptionDestination is the BasicEventSubscriptionDestination implementation for StorageQueueEventSubscriptionDestination.

func (StorageQueueEventSubscriptionDestination) AsServiceBusTopicEventSubscriptionDestination

func (sqesd StorageQueueEventSubscriptionDestination) AsServiceBusTopicEventSubscriptionDestination() (*ServiceBusTopicEventSubscriptionDestination, bool)

AsServiceBusTopicEventSubscriptionDestination is the BasicEventSubscriptionDestination implementation for StorageQueueEventSubscriptionDestination.

func (StorageQueueEventSubscriptionDestination) AsStorageQueueEventSubscriptionDestination

func (sqesd StorageQueueEventSubscriptionDestination) AsStorageQueueEventSubscriptionDestination() (*StorageQueueEventSubscriptionDestination, bool)

AsStorageQueueEventSubscriptionDestination is the BasicEventSubscriptionDestination implementation for StorageQueueEventSubscriptionDestination.

func (StorageQueueEventSubscriptionDestination) AsWebHookEventSubscriptionDestination

func (sqesd StorageQueueEventSubscriptionDestination) AsWebHookEventSubscriptionDestination() (*WebHookEventSubscriptionDestination, bool)

AsWebHookEventSubscriptionDestination is the BasicEventSubscriptionDestination implementation for StorageQueueEventSubscriptionDestination.

func (StorageQueueEventSubscriptionDestination) MarshalJSON

func (sqesd StorageQueueEventSubscriptionDestination) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for StorageQueueEventSubscriptionDestination.

func (*StorageQueueEventSubscriptionDestination) UnmarshalJSON

func (sqesd *StorageQueueEventSubscriptionDestination) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for StorageQueueEventSubscriptionDestination struct.

type StorageQueueEventSubscriptionDestinationProperties

type StorageQueueEventSubscriptionDestinationProperties struct {
	// ResourceID - The Azure Resource ID of the storage account that contains the queue that is the destination of an event subscription.
	ResourceID *string `json:"resourceId,omitempty"`
	// QueueName - The name of the Storage queue under a storage account that is the destination of an event subscription.
	QueueName *string `json:"queueName,omitempty"`
	// QueueMessageTimeToLiveInSeconds - Storage queue message time to live in seconds.
	QueueMessageTimeToLiveInSeconds *int64 `json:"queueMessageTimeToLiveInSeconds,omitempty"`
}

StorageQueueEventSubscriptionDestinationProperties the properties for a storage queue destination.

type StringBeginsWithAdvancedFilter

type StringBeginsWithAdvancedFilter struct {
	// Values - The set of filter values.
	Values *[]string `json:"values,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"`
}

StringBeginsWithAdvancedFilter stringBeginsWith Advanced Filter.

func (StringBeginsWithAdvancedFilter) AsAdvancedFilter

func (sbwaf StringBeginsWithAdvancedFilter) AsAdvancedFilter() (*AdvancedFilter, bool)

AsAdvancedFilter is the BasicAdvancedFilter implementation for StringBeginsWithAdvancedFilter.

func (StringBeginsWithAdvancedFilter) AsBasicAdvancedFilter

func (sbwaf StringBeginsWithAdvancedFilter) AsBasicAdvancedFilter() (BasicAdvancedFilter, bool)

AsBasicAdvancedFilter is the BasicAdvancedFilter implementation for StringBeginsWithAdvancedFilter.

func (StringBeginsWithAdvancedFilter) AsBoolEqualsAdvancedFilter

func (sbwaf StringBeginsWithAdvancedFilter) AsBoolEqualsAdvancedFilter() (*BoolEqualsAdvancedFilter, bool)

AsBoolEqualsAdvancedFilter is the BasicAdvancedFilter implementation for StringBeginsWithAdvancedFilter.

func (StringBeginsWithAdvancedFilter) AsIsNotNullAdvancedFilter

func (sbwaf StringBeginsWithAdvancedFilter) AsIsNotNullAdvancedFilter() (*IsNotNullAdvancedFilter, bool)

AsIsNotNullAdvancedFilter is the BasicAdvancedFilter implementation for StringBeginsWithAdvancedFilter.

func (StringBeginsWithAdvancedFilter) AsIsNullOrUndefinedAdvancedFilter

func (sbwaf StringBeginsWithAdvancedFilter) AsIsNullOrUndefinedAdvancedFilter() (*IsNullOrUndefinedAdvancedFilter, bool)

AsIsNullOrUndefinedAdvancedFilter is the BasicAdvancedFilter implementation for StringBeginsWithAdvancedFilter.

func (StringBeginsWithAdvancedFilter) AsNumberGreaterThanAdvancedFilter

func (sbwaf StringBeginsWithAdvancedFilter) AsNumberGreaterThanAdvancedFilter() (*NumberGreaterThanAdvancedFilter, bool)

AsNumberGreaterThanAdvancedFilter is the BasicAdvancedFilter implementation for StringBeginsWithAdvancedFilter.

func (StringBeginsWithAdvancedFilter) AsNumberGreaterThanOrEqualsAdvancedFilter

func (sbwaf StringBeginsWithAdvancedFilter) AsNumberGreaterThanOrEqualsAdvancedFilter() (*NumberGreaterThanOrEqualsAdvancedFilter, bool)

AsNumberGreaterThanOrEqualsAdvancedFilter is the BasicAdvancedFilter implementation for StringBeginsWithAdvancedFilter.

func (StringBeginsWithAdvancedFilter) AsNumberInAdvancedFilter

func (sbwaf StringBeginsWithAdvancedFilter) AsNumberInAdvancedFilter() (*NumberInAdvancedFilter, bool)

AsNumberInAdvancedFilter is the BasicAdvancedFilter implementation for StringBeginsWithAdvancedFilter.

func (StringBeginsWithAdvancedFilter) AsNumberInRangeAdvancedFilter

func (sbwaf StringBeginsWithAdvancedFilter) AsNumberInRangeAdvancedFilter() (*NumberInRangeAdvancedFilter, bool)

AsNumberInRangeAdvancedFilter is the BasicAdvancedFilter implementation for StringBeginsWithAdvancedFilter.

func (StringBeginsWithAdvancedFilter) AsNumberLessThanAdvancedFilter

func (sbwaf StringBeginsWithAdvancedFilter) AsNumberLessThanAdvancedFilter() (*NumberLessThanAdvancedFilter, bool)

AsNumberLessThanAdvancedFilter is the BasicAdvancedFilter implementation for StringBeginsWithAdvancedFilter.

func (StringBeginsWithAdvancedFilter) AsNumberLessThanOrEqualsAdvancedFilter

func (sbwaf StringBeginsWithAdvancedFilter) AsNumberLessThanOrEqualsAdvancedFilter() (*NumberLessThanOrEqualsAdvancedFilter, bool)

AsNumberLessThanOrEqualsAdvancedFilter is the BasicAdvancedFilter implementation for StringBeginsWithAdvancedFilter.

func (StringBeginsWithAdvancedFilter) AsNumberNotInAdvancedFilter

func (sbwaf StringBeginsWithAdvancedFilter) AsNumberNotInAdvancedFilter() (*NumberNotInAdvancedFilter, bool)

AsNumberNotInAdvancedFilter is the BasicAdvancedFilter implementation for StringBeginsWithAdvancedFilter.

func (StringBeginsWithAdvancedFilter) AsNumberNotInRangeAdvancedFilter

func (sbwaf StringBeginsWithAdvancedFilter) AsNumberNotInRangeAdvancedFilter() (*NumberNotInRangeAdvancedFilter, bool)

AsNumberNotInRangeAdvancedFilter is the BasicAdvancedFilter implementation for StringBeginsWithAdvancedFilter.

func (StringBeginsWithAdvancedFilter) AsStringBeginsWithAdvancedFilter

func (sbwaf StringBeginsWithAdvancedFilter) AsStringBeginsWithAdvancedFilter() (*StringBeginsWithAdvancedFilter, bool)

AsStringBeginsWithAdvancedFilter is the BasicAdvancedFilter implementation for StringBeginsWithAdvancedFilter.

func (StringBeginsWithAdvancedFilter) AsStringContainsAdvancedFilter

func (sbwaf StringBeginsWithAdvancedFilter) AsStringContainsAdvancedFilter() (*StringContainsAdvancedFilter, bool)

AsStringContainsAdvancedFilter is the BasicAdvancedFilter implementation for StringBeginsWithAdvancedFilter.

func (StringBeginsWithAdvancedFilter) AsStringEndsWithAdvancedFilter

func (sbwaf StringBeginsWithAdvancedFilter) AsStringEndsWithAdvancedFilter() (*StringEndsWithAdvancedFilter, bool)

AsStringEndsWithAdvancedFilter is the BasicAdvancedFilter implementation for StringBeginsWithAdvancedFilter.

func (StringBeginsWithAdvancedFilter) AsStringInAdvancedFilter

func (sbwaf StringBeginsWithAdvancedFilter) AsStringInAdvancedFilter() (*StringInAdvancedFilter, bool)

AsStringInAdvancedFilter is the BasicAdvancedFilter implementation for StringBeginsWithAdvancedFilter.

func (StringBeginsWithAdvancedFilter) AsStringNotBeginsWithAdvancedFilter

func (sbwaf StringBeginsWithAdvancedFilter) AsStringNotBeginsWithAdvancedFilter() (*StringNotBeginsWithAdvancedFilter, bool)

AsStringNotBeginsWithAdvancedFilter is the BasicAdvancedFilter implementation for StringBeginsWithAdvancedFilter.

func (StringBeginsWithAdvancedFilter) AsStringNotContainsAdvancedFilter

func (sbwaf StringBeginsWithAdvancedFilter) AsStringNotContainsAdvancedFilter() (*StringNotContainsAdvancedFilter, bool)

AsStringNotContainsAdvancedFilter is the BasicAdvancedFilter implementation for StringBeginsWithAdvancedFilter.

func (StringBeginsWithAdvancedFilter) AsStringNotEndsWithAdvancedFilter

func (sbwaf StringBeginsWithAdvancedFilter) AsStringNotEndsWithAdvancedFilter() (*StringNotEndsWithAdvancedFilter, bool)

AsStringNotEndsWithAdvancedFilter is the BasicAdvancedFilter implementation for StringBeginsWithAdvancedFilter.

func (StringBeginsWithAdvancedFilter) AsStringNotInAdvancedFilter

func (sbwaf StringBeginsWithAdvancedFilter) AsStringNotInAdvancedFilter() (*StringNotInAdvancedFilter, bool)

AsStringNotInAdvancedFilter is the BasicAdvancedFilter implementation for StringBeginsWithAdvancedFilter.

func (StringBeginsWithAdvancedFilter) MarshalJSON

func (sbwaf StringBeginsWithAdvancedFilter) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for StringBeginsWithAdvancedFilter.

type StringContainsAdvancedFilter

type StringContainsAdvancedFilter struct {
	// Values - The set of filter values.
	Values *[]string `json:"values,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"`
}

StringContainsAdvancedFilter stringContains Advanced Filter.

func (StringContainsAdvancedFilter) AsAdvancedFilter

func (scaf StringContainsAdvancedFilter) AsAdvancedFilter() (*AdvancedFilter, bool)

AsAdvancedFilter is the BasicAdvancedFilter implementation for StringContainsAdvancedFilter.

func (StringContainsAdvancedFilter) AsBasicAdvancedFilter

func (scaf StringContainsAdvancedFilter) AsBasicAdvancedFilter() (BasicAdvancedFilter, bool)

AsBasicAdvancedFilter is the BasicAdvancedFilter implementation for StringContainsAdvancedFilter.

func (StringContainsAdvancedFilter) AsBoolEqualsAdvancedFilter

func (scaf StringContainsAdvancedFilter) AsBoolEqualsAdvancedFilter() (*BoolEqualsAdvancedFilter, bool)

AsBoolEqualsAdvancedFilter is the BasicAdvancedFilter implementation for StringContainsAdvancedFilter.

func (StringContainsAdvancedFilter) AsIsNotNullAdvancedFilter

func (scaf StringContainsAdvancedFilter) AsIsNotNullAdvancedFilter() (*IsNotNullAdvancedFilter, bool)

AsIsNotNullAdvancedFilter is the BasicAdvancedFilter implementation for StringContainsAdvancedFilter.

func (StringContainsAdvancedFilter) AsIsNullOrUndefinedAdvancedFilter

func (scaf StringContainsAdvancedFilter) AsIsNullOrUndefinedAdvancedFilter() (*IsNullOrUndefinedAdvancedFilter, bool)

AsIsNullOrUndefinedAdvancedFilter is the BasicAdvancedFilter implementation for StringContainsAdvancedFilter.

func (StringContainsAdvancedFilter) AsNumberGreaterThanAdvancedFilter

func (scaf StringContainsAdvancedFilter) AsNumberGreaterThanAdvancedFilter() (*NumberGreaterThanAdvancedFilter, bool)

AsNumberGreaterThanAdvancedFilter is the BasicAdvancedFilter implementation for StringContainsAdvancedFilter.

func (StringContainsAdvancedFilter) AsNumberGreaterThanOrEqualsAdvancedFilter

func (scaf StringContainsAdvancedFilter) AsNumberGreaterThanOrEqualsAdvancedFilter() (*NumberGreaterThanOrEqualsAdvancedFilter, bool)

AsNumberGreaterThanOrEqualsAdvancedFilter is the BasicAdvancedFilter implementation for StringContainsAdvancedFilter.

func (StringContainsAdvancedFilter) AsNumberInAdvancedFilter

func (scaf StringContainsAdvancedFilter) AsNumberInAdvancedFilter() (*NumberInAdvancedFilter, bool)

AsNumberInAdvancedFilter is the BasicAdvancedFilter implementation for StringContainsAdvancedFilter.

func (StringContainsAdvancedFilter) AsNumberInRangeAdvancedFilter

func (scaf StringContainsAdvancedFilter) AsNumberInRangeAdvancedFilter() (*NumberInRangeAdvancedFilter, bool)

AsNumberInRangeAdvancedFilter is the BasicAdvancedFilter implementation for StringContainsAdvancedFilter.

func (StringContainsAdvancedFilter) AsNumberLessThanAdvancedFilter

func (scaf StringContainsAdvancedFilter) AsNumberLessThanAdvancedFilter() (*NumberLessThanAdvancedFilter, bool)

AsNumberLessThanAdvancedFilter is the BasicAdvancedFilter implementation for StringContainsAdvancedFilter.

func (StringContainsAdvancedFilter) AsNumberLessThanOrEqualsAdvancedFilter

func (scaf StringContainsAdvancedFilter) AsNumberLessThanOrEqualsAdvancedFilter() (*NumberLessThanOrEqualsAdvancedFilter, bool)

AsNumberLessThanOrEqualsAdvancedFilter is the BasicAdvancedFilter implementation for StringContainsAdvancedFilter.

func (StringContainsAdvancedFilter) AsNumberNotInAdvancedFilter

func (scaf StringContainsAdvancedFilter) AsNumberNotInAdvancedFilter() (*NumberNotInAdvancedFilter, bool)

AsNumberNotInAdvancedFilter is the BasicAdvancedFilter implementation for StringContainsAdvancedFilter.

func (StringContainsAdvancedFilter) AsNumberNotInRangeAdvancedFilter

func (scaf StringContainsAdvancedFilter) AsNumberNotInRangeAdvancedFilter() (*NumberNotInRangeAdvancedFilter, bool)

AsNumberNotInRangeAdvancedFilter is the BasicAdvancedFilter implementation for StringContainsAdvancedFilter.

func (StringContainsAdvancedFilter) AsStringBeginsWithAdvancedFilter

func (scaf StringContainsAdvancedFilter) AsStringBeginsWithAdvancedFilter() (*StringBeginsWithAdvancedFilter, bool)

AsStringBeginsWithAdvancedFilter is the BasicAdvancedFilter implementation for StringContainsAdvancedFilter.

func (StringContainsAdvancedFilter) AsStringContainsAdvancedFilter

func (scaf StringContainsAdvancedFilter) AsStringContainsAdvancedFilter() (*StringContainsAdvancedFilter, bool)

AsStringContainsAdvancedFilter is the BasicAdvancedFilter implementation for StringContainsAdvancedFilter.

func (StringContainsAdvancedFilter) AsStringEndsWithAdvancedFilter

func (scaf StringContainsAdvancedFilter) AsStringEndsWithAdvancedFilter() (*StringEndsWithAdvancedFilter, bool)

AsStringEndsWithAdvancedFilter is the BasicAdvancedFilter implementation for StringContainsAdvancedFilter.

func (StringContainsAdvancedFilter) AsStringInAdvancedFilter

func (scaf StringContainsAdvancedFilter) AsStringInAdvancedFilter() (*StringInAdvancedFilter, bool)

AsStringInAdvancedFilter is the BasicAdvancedFilter implementation for StringContainsAdvancedFilter.

func (StringContainsAdvancedFilter) AsStringNotBeginsWithAdvancedFilter

func (scaf StringContainsAdvancedFilter) AsStringNotBeginsWithAdvancedFilter() (*StringNotBeginsWithAdvancedFilter, bool)

AsStringNotBeginsWithAdvancedFilter is the BasicAdvancedFilter implementation for StringContainsAdvancedFilter.

func (StringContainsAdvancedFilter) AsStringNotContainsAdvancedFilter

func (scaf StringContainsAdvancedFilter) AsStringNotContainsAdvancedFilter() (*StringNotContainsAdvancedFilter, bool)

AsStringNotContainsAdvancedFilter is the BasicAdvancedFilter implementation for StringContainsAdvancedFilter.

func (StringContainsAdvancedFilter) AsStringNotEndsWithAdvancedFilter

func (scaf StringContainsAdvancedFilter) AsStringNotEndsWithAdvancedFilter() (*StringNotEndsWithAdvancedFilter, bool)

AsStringNotEndsWithAdvancedFilter is the BasicAdvancedFilter implementation for StringContainsAdvancedFilter.

func (StringContainsAdvancedFilter) AsStringNotInAdvancedFilter

func (scaf StringContainsAdvancedFilter) AsStringNotInAdvancedFilter() (*StringNotInAdvancedFilter, bool)

AsStringNotInAdvancedFilter is the BasicAdvancedFilter implementation for StringContainsAdvancedFilter.

func (StringContainsAdvancedFilter) MarshalJSON

func (scaf StringContainsAdvancedFilter) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for StringContainsAdvancedFilter.

type StringEndsWithAdvancedFilter

type StringEndsWithAdvancedFilter struct {
	// Values - The set of filter values.
	Values *[]string `json:"values,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"`
}

StringEndsWithAdvancedFilter stringEndsWith Advanced Filter.

func (StringEndsWithAdvancedFilter) AsAdvancedFilter

func (sewaf StringEndsWithAdvancedFilter) AsAdvancedFilter() (*AdvancedFilter, bool)

AsAdvancedFilter is the BasicAdvancedFilter implementation for StringEndsWithAdvancedFilter.

func (StringEndsWithAdvancedFilter) AsBasicAdvancedFilter

func (sewaf StringEndsWithAdvancedFilter) AsBasicAdvancedFilter() (BasicAdvancedFilter, bool)

AsBasicAdvancedFilter is the BasicAdvancedFilter implementation for StringEndsWithAdvancedFilter.

func (StringEndsWithAdvancedFilter) AsBoolEqualsAdvancedFilter

func (sewaf StringEndsWithAdvancedFilter) AsBoolEqualsAdvancedFilter() (*BoolEqualsAdvancedFilter, bool)

AsBoolEqualsAdvancedFilter is the BasicAdvancedFilter implementation for StringEndsWithAdvancedFilter.

func (StringEndsWithAdvancedFilter) AsIsNotNullAdvancedFilter

func (sewaf StringEndsWithAdvancedFilter) AsIsNotNullAdvancedFilter() (*IsNotNullAdvancedFilter, bool)

AsIsNotNullAdvancedFilter is the BasicAdvancedFilter implementation for StringEndsWithAdvancedFilter.

func (StringEndsWithAdvancedFilter) AsIsNullOrUndefinedAdvancedFilter

func (sewaf StringEndsWithAdvancedFilter) AsIsNullOrUndefinedAdvancedFilter() (*IsNullOrUndefinedAdvancedFilter, bool)

AsIsNullOrUndefinedAdvancedFilter is the BasicAdvancedFilter implementation for StringEndsWithAdvancedFilter.

func (StringEndsWithAdvancedFilter) AsNumberGreaterThanAdvancedFilter

func (sewaf StringEndsWithAdvancedFilter) AsNumberGreaterThanAdvancedFilter() (*NumberGreaterThanAdvancedFilter, bool)

AsNumberGreaterThanAdvancedFilter is the BasicAdvancedFilter implementation for StringEndsWithAdvancedFilter.

func (StringEndsWithAdvancedFilter) AsNumberGreaterThanOrEqualsAdvancedFilter

func (sewaf StringEndsWithAdvancedFilter) AsNumberGreaterThanOrEqualsAdvancedFilter() (*NumberGreaterThanOrEqualsAdvancedFilter, bool)

AsNumberGreaterThanOrEqualsAdvancedFilter is the BasicAdvancedFilter implementation for StringEndsWithAdvancedFilter.

func (StringEndsWithAdvancedFilter) AsNumberInAdvancedFilter

func (sewaf StringEndsWithAdvancedFilter) AsNumberInAdvancedFilter() (*NumberInAdvancedFilter, bool)

AsNumberInAdvancedFilter is the BasicAdvancedFilter implementation for StringEndsWithAdvancedFilter.

func (StringEndsWithAdvancedFilter) AsNumberInRangeAdvancedFilter

func (sewaf StringEndsWithAdvancedFilter) AsNumberInRangeAdvancedFilter() (*NumberInRangeAdvancedFilter, bool)

AsNumberInRangeAdvancedFilter is the BasicAdvancedFilter implementation for StringEndsWithAdvancedFilter.

func (StringEndsWithAdvancedFilter) AsNumberLessThanAdvancedFilter

func (sewaf StringEndsWithAdvancedFilter) AsNumberLessThanAdvancedFilter() (*NumberLessThanAdvancedFilter, bool)

AsNumberLessThanAdvancedFilter is the BasicAdvancedFilter implementation for StringEndsWithAdvancedFilter.

func (StringEndsWithAdvancedFilter) AsNumberLessThanOrEqualsAdvancedFilter

func (sewaf StringEndsWithAdvancedFilter) AsNumberLessThanOrEqualsAdvancedFilter() (*NumberLessThanOrEqualsAdvancedFilter, bool)

AsNumberLessThanOrEqualsAdvancedFilter is the BasicAdvancedFilter implementation for StringEndsWithAdvancedFilter.

func (StringEndsWithAdvancedFilter) AsNumberNotInAdvancedFilter

func (sewaf StringEndsWithAdvancedFilter) AsNumberNotInAdvancedFilter() (*NumberNotInAdvancedFilter, bool)

AsNumberNotInAdvancedFilter is the BasicAdvancedFilter implementation for StringEndsWithAdvancedFilter.

func (StringEndsWithAdvancedFilter) AsNumberNotInRangeAdvancedFilter

func (sewaf StringEndsWithAdvancedFilter) AsNumberNotInRangeAdvancedFilter() (*NumberNotInRangeAdvancedFilter, bool)

AsNumberNotInRangeAdvancedFilter is the BasicAdvancedFilter implementation for StringEndsWithAdvancedFilter.

func (StringEndsWithAdvancedFilter) AsStringBeginsWithAdvancedFilter

func (sewaf StringEndsWithAdvancedFilter) AsStringBeginsWithAdvancedFilter() (*StringBeginsWithAdvancedFilter, bool)

AsStringBeginsWithAdvancedFilter is the BasicAdvancedFilter implementation for StringEndsWithAdvancedFilter.

func (StringEndsWithAdvancedFilter) AsStringContainsAdvancedFilter

func (sewaf StringEndsWithAdvancedFilter) AsStringContainsAdvancedFilter() (*StringContainsAdvancedFilter, bool)

AsStringContainsAdvancedFilter is the BasicAdvancedFilter implementation for StringEndsWithAdvancedFilter.

func (StringEndsWithAdvancedFilter) AsStringEndsWithAdvancedFilter

func (sewaf StringEndsWithAdvancedFilter) AsStringEndsWithAdvancedFilter() (*StringEndsWithAdvancedFilter, bool)

AsStringEndsWithAdvancedFilter is the BasicAdvancedFilter implementation for StringEndsWithAdvancedFilter.

func (StringEndsWithAdvancedFilter) AsStringInAdvancedFilter

func (sewaf StringEndsWithAdvancedFilter) AsStringInAdvancedFilter() (*StringInAdvancedFilter, bool)

AsStringInAdvancedFilter is the BasicAdvancedFilter implementation for StringEndsWithAdvancedFilter.

func (StringEndsWithAdvancedFilter) AsStringNotBeginsWithAdvancedFilter

func (sewaf StringEndsWithAdvancedFilter) AsStringNotBeginsWithAdvancedFilter() (*StringNotBeginsWithAdvancedFilter, bool)

AsStringNotBeginsWithAdvancedFilter is the BasicAdvancedFilter implementation for StringEndsWithAdvancedFilter.

func (StringEndsWithAdvancedFilter) AsStringNotContainsAdvancedFilter

func (sewaf StringEndsWithAdvancedFilter) AsStringNotContainsAdvancedFilter() (*StringNotContainsAdvancedFilter, bool)

AsStringNotContainsAdvancedFilter is the BasicAdvancedFilter implementation for StringEndsWithAdvancedFilter.

func (StringEndsWithAdvancedFilter) AsStringNotEndsWithAdvancedFilter

func (sewaf StringEndsWithAdvancedFilter) AsStringNotEndsWithAdvancedFilter() (*StringNotEndsWithAdvancedFilter, bool)

AsStringNotEndsWithAdvancedFilter is the BasicAdvancedFilter implementation for StringEndsWithAdvancedFilter.

func (StringEndsWithAdvancedFilter) AsStringNotInAdvancedFilter

func (sewaf StringEndsWithAdvancedFilter) AsStringNotInAdvancedFilter() (*StringNotInAdvancedFilter, bool)

AsStringNotInAdvancedFilter is the BasicAdvancedFilter implementation for StringEndsWithAdvancedFilter.

func (StringEndsWithAdvancedFilter) MarshalJSON

func (sewaf StringEndsWithAdvancedFilter) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for StringEndsWithAdvancedFilter.

type StringInAdvancedFilter

type StringInAdvancedFilter struct {
	// Values - The set of filter values.
	Values *[]string `json:"values,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"`
}

StringInAdvancedFilter stringIn Advanced Filter.

func (StringInAdvancedFilter) AsAdvancedFilter

func (siaf StringInAdvancedFilter) AsAdvancedFilter() (*AdvancedFilter, bool)

AsAdvancedFilter is the BasicAdvancedFilter implementation for StringInAdvancedFilter.

func (StringInAdvancedFilter) AsBasicAdvancedFilter

func (siaf StringInAdvancedFilter) AsBasicAdvancedFilter() (BasicAdvancedFilter, bool)

AsBasicAdvancedFilter is the BasicAdvancedFilter implementation for StringInAdvancedFilter.

func (StringInAdvancedFilter) AsBoolEqualsAdvancedFilter

func (siaf StringInAdvancedFilter) AsBoolEqualsAdvancedFilter() (*BoolEqualsAdvancedFilter, bool)

AsBoolEqualsAdvancedFilter is the BasicAdvancedFilter implementation for StringInAdvancedFilter.

func (StringInAdvancedFilter) AsIsNotNullAdvancedFilter

func (siaf StringInAdvancedFilter) AsIsNotNullAdvancedFilter() (*IsNotNullAdvancedFilter, bool)

AsIsNotNullAdvancedFilter is the BasicAdvancedFilter implementation for StringInAdvancedFilter.

func (StringInAdvancedFilter) AsIsNullOrUndefinedAdvancedFilter

func (siaf StringInAdvancedFilter) AsIsNullOrUndefinedAdvancedFilter() (*IsNullOrUndefinedAdvancedFilter, bool)

AsIsNullOrUndefinedAdvancedFilter is the BasicAdvancedFilter implementation for StringInAdvancedFilter.

func (StringInAdvancedFilter) AsNumberGreaterThanAdvancedFilter

func (siaf StringInAdvancedFilter) AsNumberGreaterThanAdvancedFilter() (*NumberGreaterThanAdvancedFilter, bool)

AsNumberGreaterThanAdvancedFilter is the BasicAdvancedFilter implementation for StringInAdvancedFilter.

func (StringInAdvancedFilter) AsNumberGreaterThanOrEqualsAdvancedFilter

func (siaf StringInAdvancedFilter) AsNumberGreaterThanOrEqualsAdvancedFilter() (*NumberGreaterThanOrEqualsAdvancedFilter, bool)

AsNumberGreaterThanOrEqualsAdvancedFilter is the BasicAdvancedFilter implementation for StringInAdvancedFilter.

func (StringInAdvancedFilter) AsNumberInAdvancedFilter

func (siaf StringInAdvancedFilter) AsNumberInAdvancedFilter() (*NumberInAdvancedFilter, bool)

AsNumberInAdvancedFilter is the BasicAdvancedFilter implementation for StringInAdvancedFilter.

func (StringInAdvancedFilter) AsNumberInRangeAdvancedFilter

func (siaf StringInAdvancedFilter) AsNumberInRangeAdvancedFilter() (*NumberInRangeAdvancedFilter, bool)

AsNumberInRangeAdvancedFilter is the BasicAdvancedFilter implementation for StringInAdvancedFilter.

func (StringInAdvancedFilter) AsNumberLessThanAdvancedFilter

func (siaf StringInAdvancedFilter) AsNumberLessThanAdvancedFilter() (*NumberLessThanAdvancedFilter, bool)

AsNumberLessThanAdvancedFilter is the BasicAdvancedFilter implementation for StringInAdvancedFilter.

func (StringInAdvancedFilter) AsNumberLessThanOrEqualsAdvancedFilter

func (siaf StringInAdvancedFilter) AsNumberLessThanOrEqualsAdvancedFilter() (*NumberLessThanOrEqualsAdvancedFilter, bool)

AsNumberLessThanOrEqualsAdvancedFilter is the BasicAdvancedFilter implementation for StringInAdvancedFilter.

func (StringInAdvancedFilter) AsNumberNotInAdvancedFilter

func (siaf StringInAdvancedFilter) AsNumberNotInAdvancedFilter() (*NumberNotInAdvancedFilter, bool)

AsNumberNotInAdvancedFilter is the BasicAdvancedFilter implementation for StringInAdvancedFilter.

func (StringInAdvancedFilter) AsNumberNotInRangeAdvancedFilter

func (siaf StringInAdvancedFilter) AsNumberNotInRangeAdvancedFilter() (*NumberNotInRangeAdvancedFilter, bool)

AsNumberNotInRangeAdvancedFilter is the BasicAdvancedFilter implementation for StringInAdvancedFilter.

func (StringInAdvancedFilter) AsStringBeginsWithAdvancedFilter

func (siaf StringInAdvancedFilter) AsStringBeginsWithAdvancedFilter() (*StringBeginsWithAdvancedFilter, bool)

AsStringBeginsWithAdvancedFilter is the BasicAdvancedFilter implementation for StringInAdvancedFilter.

func (StringInAdvancedFilter) AsStringContainsAdvancedFilter

func (siaf StringInAdvancedFilter) AsStringContainsAdvancedFilter() (*StringContainsAdvancedFilter, bool)

AsStringContainsAdvancedFilter is the BasicAdvancedFilter implementation for StringInAdvancedFilter.

func (StringInAdvancedFilter) AsStringEndsWithAdvancedFilter

func (siaf StringInAdvancedFilter) AsStringEndsWithAdvancedFilter() (*StringEndsWithAdvancedFilter, bool)

AsStringEndsWithAdvancedFilter is the BasicAdvancedFilter implementation for StringInAdvancedFilter.

func (StringInAdvancedFilter) AsStringInAdvancedFilter

func (siaf StringInAdvancedFilter) AsStringInAdvancedFilter() (*StringInAdvancedFilter, bool)

AsStringInAdvancedFilter is the BasicAdvancedFilter implementation for StringInAdvancedFilter.

func (StringInAdvancedFilter) AsStringNotBeginsWithAdvancedFilter

func (siaf StringInAdvancedFilter) AsStringNotBeginsWithAdvancedFilter() (*StringNotBeginsWithAdvancedFilter, bool)

AsStringNotBeginsWithAdvancedFilter is the BasicAdvancedFilter implementation for StringInAdvancedFilter.

func (StringInAdvancedFilter) AsStringNotContainsAdvancedFilter

func (siaf StringInAdvancedFilter) AsStringNotContainsAdvancedFilter() (*StringNotContainsAdvancedFilter, bool)

AsStringNotContainsAdvancedFilter is the BasicAdvancedFilter implementation for StringInAdvancedFilter.

func (StringInAdvancedFilter) AsStringNotEndsWithAdvancedFilter

func (siaf StringInAdvancedFilter) AsStringNotEndsWithAdvancedFilter() (*StringNotEndsWithAdvancedFilter, bool)

AsStringNotEndsWithAdvancedFilter is the BasicAdvancedFilter implementation for StringInAdvancedFilter.

func (StringInAdvancedFilter) AsStringNotInAdvancedFilter

func (siaf StringInAdvancedFilter) AsStringNotInAdvancedFilter() (*StringNotInAdvancedFilter, bool)

AsStringNotInAdvancedFilter is the BasicAdvancedFilter implementation for StringInAdvancedFilter.

func (StringInAdvancedFilter) MarshalJSON

func (siaf StringInAdvancedFilter) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for StringInAdvancedFilter.

type StringNotBeginsWithAdvancedFilter

type StringNotBeginsWithAdvancedFilter struct {
	// Values - The set of filter values.
	Values *[]string `json:"values,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"`
}

StringNotBeginsWithAdvancedFilter stringNotBeginsWith Advanced Filter.

func (StringNotBeginsWithAdvancedFilter) AsAdvancedFilter

func (snbwaf StringNotBeginsWithAdvancedFilter) AsAdvancedFilter() (*AdvancedFilter, bool)

AsAdvancedFilter is the BasicAdvancedFilter implementation for StringNotBeginsWithAdvancedFilter.

func (StringNotBeginsWithAdvancedFilter) AsBasicAdvancedFilter

func (snbwaf StringNotBeginsWithAdvancedFilter) AsBasicAdvancedFilter() (BasicAdvancedFilter, bool)

AsBasicAdvancedFilter is the BasicAdvancedFilter implementation for StringNotBeginsWithAdvancedFilter.

func (StringNotBeginsWithAdvancedFilter) AsBoolEqualsAdvancedFilter

func (snbwaf StringNotBeginsWithAdvancedFilter) AsBoolEqualsAdvancedFilter() (*BoolEqualsAdvancedFilter, bool)

AsBoolEqualsAdvancedFilter is the BasicAdvancedFilter implementation for StringNotBeginsWithAdvancedFilter.

func (StringNotBeginsWithAdvancedFilter) AsIsNotNullAdvancedFilter

func (snbwaf StringNotBeginsWithAdvancedFilter) AsIsNotNullAdvancedFilter() (*IsNotNullAdvancedFilter, bool)

AsIsNotNullAdvancedFilter is the BasicAdvancedFilter implementation for StringNotBeginsWithAdvancedFilter.

func (StringNotBeginsWithAdvancedFilter) AsIsNullOrUndefinedAdvancedFilter

func (snbwaf StringNotBeginsWithAdvancedFilter) AsIsNullOrUndefinedAdvancedFilter() (*IsNullOrUndefinedAdvancedFilter, bool)

AsIsNullOrUndefinedAdvancedFilter is the BasicAdvancedFilter implementation for StringNotBeginsWithAdvancedFilter.

func (StringNotBeginsWithAdvancedFilter) AsNumberGreaterThanAdvancedFilter

func (snbwaf StringNotBeginsWithAdvancedFilter) AsNumberGreaterThanAdvancedFilter() (*NumberGreaterThanAdvancedFilter, bool)

AsNumberGreaterThanAdvancedFilter is the BasicAdvancedFilter implementation for StringNotBeginsWithAdvancedFilter.

func (StringNotBeginsWithAdvancedFilter) AsNumberGreaterThanOrEqualsAdvancedFilter

func (snbwaf StringNotBeginsWithAdvancedFilter) AsNumberGreaterThanOrEqualsAdvancedFilter() (*NumberGreaterThanOrEqualsAdvancedFilter, bool)

AsNumberGreaterThanOrEqualsAdvancedFilter is the BasicAdvancedFilter implementation for StringNotBeginsWithAdvancedFilter.

func (StringNotBeginsWithAdvancedFilter) AsNumberInAdvancedFilter

func (snbwaf StringNotBeginsWithAdvancedFilter) AsNumberInAdvancedFilter() (*NumberInAdvancedFilter, bool)

AsNumberInAdvancedFilter is the BasicAdvancedFilter implementation for StringNotBeginsWithAdvancedFilter.

func (StringNotBeginsWithAdvancedFilter) AsNumberInRangeAdvancedFilter

func (snbwaf StringNotBeginsWithAdvancedFilter) AsNumberInRangeAdvancedFilter() (*NumberInRangeAdvancedFilter, bool)

AsNumberInRangeAdvancedFilter is the BasicAdvancedFilter implementation for StringNotBeginsWithAdvancedFilter.

func (StringNotBeginsWithAdvancedFilter) AsNumberLessThanAdvancedFilter

func (snbwaf StringNotBeginsWithAdvancedFilter) AsNumberLessThanAdvancedFilter() (*NumberLessThanAdvancedFilter, bool)

AsNumberLessThanAdvancedFilter is the BasicAdvancedFilter implementation for StringNotBeginsWithAdvancedFilter.

func (StringNotBeginsWithAdvancedFilter) AsNumberLessThanOrEqualsAdvancedFilter

func (snbwaf StringNotBeginsWithAdvancedFilter) AsNumberLessThanOrEqualsAdvancedFilter() (*NumberLessThanOrEqualsAdvancedFilter, bool)

AsNumberLessThanOrEqualsAdvancedFilter is the BasicAdvancedFilter implementation for StringNotBeginsWithAdvancedFilter.

func (StringNotBeginsWithAdvancedFilter) AsNumberNotInAdvancedFilter

func (snbwaf StringNotBeginsWithAdvancedFilter) AsNumberNotInAdvancedFilter() (*NumberNotInAdvancedFilter, bool)

AsNumberNotInAdvancedFilter is the BasicAdvancedFilter implementation for StringNotBeginsWithAdvancedFilter.

func (StringNotBeginsWithAdvancedFilter) AsNumberNotInRangeAdvancedFilter

func (snbwaf StringNotBeginsWithAdvancedFilter) AsNumberNotInRangeAdvancedFilter() (*NumberNotInRangeAdvancedFilter, bool)

AsNumberNotInRangeAdvancedFilter is the BasicAdvancedFilter implementation for StringNotBeginsWithAdvancedFilter.

func (StringNotBeginsWithAdvancedFilter) AsStringBeginsWithAdvancedFilter

func (snbwaf StringNotBeginsWithAdvancedFilter) AsStringBeginsWithAdvancedFilter() (*StringBeginsWithAdvancedFilter, bool)

AsStringBeginsWithAdvancedFilter is the BasicAdvancedFilter implementation for StringNotBeginsWithAdvancedFilter.

func (StringNotBeginsWithAdvancedFilter) AsStringContainsAdvancedFilter

func (snbwaf StringNotBeginsWithAdvancedFilter) AsStringContainsAdvancedFilter() (*StringContainsAdvancedFilter, bool)

AsStringContainsAdvancedFilter is the BasicAdvancedFilter implementation for StringNotBeginsWithAdvancedFilter.

func (StringNotBeginsWithAdvancedFilter) AsStringEndsWithAdvancedFilter

func (snbwaf StringNotBeginsWithAdvancedFilter) AsStringEndsWithAdvancedFilter() (*StringEndsWithAdvancedFilter, bool)

AsStringEndsWithAdvancedFilter is the BasicAdvancedFilter implementation for StringNotBeginsWithAdvancedFilter.

func (StringNotBeginsWithAdvancedFilter) AsStringInAdvancedFilter

func (snbwaf StringNotBeginsWithAdvancedFilter) AsStringInAdvancedFilter() (*StringInAdvancedFilter, bool)

AsStringInAdvancedFilter is the BasicAdvancedFilter implementation for StringNotBeginsWithAdvancedFilter.

func (StringNotBeginsWithAdvancedFilter) AsStringNotBeginsWithAdvancedFilter

func (snbwaf StringNotBeginsWithAdvancedFilter) AsStringNotBeginsWithAdvancedFilter() (*StringNotBeginsWithAdvancedFilter, bool)

AsStringNotBeginsWithAdvancedFilter is the BasicAdvancedFilter implementation for StringNotBeginsWithAdvancedFilter.

func (StringNotBeginsWithAdvancedFilter) AsStringNotContainsAdvancedFilter

func (snbwaf StringNotBeginsWithAdvancedFilter) AsStringNotContainsAdvancedFilter() (*StringNotContainsAdvancedFilter, bool)

AsStringNotContainsAdvancedFilter is the BasicAdvancedFilter implementation for StringNotBeginsWithAdvancedFilter.

func (StringNotBeginsWithAdvancedFilter) AsStringNotEndsWithAdvancedFilter

func (snbwaf StringNotBeginsWithAdvancedFilter) AsStringNotEndsWithAdvancedFilter() (*StringNotEndsWithAdvancedFilter, bool)

AsStringNotEndsWithAdvancedFilter is the BasicAdvancedFilter implementation for StringNotBeginsWithAdvancedFilter.

func (StringNotBeginsWithAdvancedFilter) AsStringNotInAdvancedFilter

func (snbwaf StringNotBeginsWithAdvancedFilter) AsStringNotInAdvancedFilter() (*StringNotInAdvancedFilter, bool)

AsStringNotInAdvancedFilter is the BasicAdvancedFilter implementation for StringNotBeginsWithAdvancedFilter.

func (StringNotBeginsWithAdvancedFilter) MarshalJSON

func (snbwaf StringNotBeginsWithAdvancedFilter) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for StringNotBeginsWithAdvancedFilter.

type StringNotContainsAdvancedFilter

type StringNotContainsAdvancedFilter struct {
	// Values - The set of filter values.
	Values *[]string `json:"values,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"`
}

StringNotContainsAdvancedFilter stringNotContains Advanced Filter.

func (StringNotContainsAdvancedFilter) AsAdvancedFilter

func (sncaf StringNotContainsAdvancedFilter) AsAdvancedFilter() (*AdvancedFilter, bool)

AsAdvancedFilter is the BasicAdvancedFilter implementation for StringNotContainsAdvancedFilter.

func (StringNotContainsAdvancedFilter) AsBasicAdvancedFilter

func (sncaf StringNotContainsAdvancedFilter) AsBasicAdvancedFilter() (BasicAdvancedFilter, bool)

AsBasicAdvancedFilter is the BasicAdvancedFilter implementation for StringNotContainsAdvancedFilter.

func (StringNotContainsAdvancedFilter) AsBoolEqualsAdvancedFilter

func (sncaf StringNotContainsAdvancedFilter) AsBoolEqualsAdvancedFilter() (*BoolEqualsAdvancedFilter, bool)

AsBoolEqualsAdvancedFilter is the BasicAdvancedFilter implementation for StringNotContainsAdvancedFilter.

func (StringNotContainsAdvancedFilter) AsIsNotNullAdvancedFilter

func (sncaf StringNotContainsAdvancedFilter) AsIsNotNullAdvancedFilter() (*IsNotNullAdvancedFilter, bool)

AsIsNotNullAdvancedFilter is the BasicAdvancedFilter implementation for StringNotContainsAdvancedFilter.

func (StringNotContainsAdvancedFilter) AsIsNullOrUndefinedAdvancedFilter

func (sncaf StringNotContainsAdvancedFilter) AsIsNullOrUndefinedAdvancedFilter() (*IsNullOrUndefinedAdvancedFilter, bool)

AsIsNullOrUndefinedAdvancedFilter is the BasicAdvancedFilter implementation for StringNotContainsAdvancedFilter.

func (StringNotContainsAdvancedFilter) AsNumberGreaterThanAdvancedFilter

func (sncaf StringNotContainsAdvancedFilter) AsNumberGreaterThanAdvancedFilter() (*NumberGreaterThanAdvancedFilter, bool)

AsNumberGreaterThanAdvancedFilter is the BasicAdvancedFilter implementation for StringNotContainsAdvancedFilter.

func (StringNotContainsAdvancedFilter) AsNumberGreaterThanOrEqualsAdvancedFilter

func (sncaf StringNotContainsAdvancedFilter) AsNumberGreaterThanOrEqualsAdvancedFilter() (*NumberGreaterThanOrEqualsAdvancedFilter, bool)

AsNumberGreaterThanOrEqualsAdvancedFilter is the BasicAdvancedFilter implementation for StringNotContainsAdvancedFilter.

func (StringNotContainsAdvancedFilter) AsNumberInAdvancedFilter

func (sncaf StringNotContainsAdvancedFilter) AsNumberInAdvancedFilter() (*NumberInAdvancedFilter, bool)

AsNumberInAdvancedFilter is the BasicAdvancedFilter implementation for StringNotContainsAdvancedFilter.

func (StringNotContainsAdvancedFilter) AsNumberInRangeAdvancedFilter

func (sncaf StringNotContainsAdvancedFilter) AsNumberInRangeAdvancedFilter() (*NumberInRangeAdvancedFilter, bool)

AsNumberInRangeAdvancedFilter is the BasicAdvancedFilter implementation for StringNotContainsAdvancedFilter.

func (StringNotContainsAdvancedFilter) AsNumberLessThanAdvancedFilter

func (sncaf StringNotContainsAdvancedFilter) AsNumberLessThanAdvancedFilter() (*NumberLessThanAdvancedFilter, bool)

AsNumberLessThanAdvancedFilter is the BasicAdvancedFilter implementation for StringNotContainsAdvancedFilter.

func (StringNotContainsAdvancedFilter) AsNumberLessThanOrEqualsAdvancedFilter

func (sncaf StringNotContainsAdvancedFilter) AsNumberLessThanOrEqualsAdvancedFilter() (*NumberLessThanOrEqualsAdvancedFilter, bool)

AsNumberLessThanOrEqualsAdvancedFilter is the BasicAdvancedFilter implementation for StringNotContainsAdvancedFilter.

func (StringNotContainsAdvancedFilter) AsNumberNotInAdvancedFilter

func (sncaf StringNotContainsAdvancedFilter) AsNumberNotInAdvancedFilter() (*NumberNotInAdvancedFilter, bool)

AsNumberNotInAdvancedFilter is the BasicAdvancedFilter implementation for StringNotContainsAdvancedFilter.

func (StringNotContainsAdvancedFilter) AsNumberNotInRangeAdvancedFilter

func (sncaf StringNotContainsAdvancedFilter) AsNumberNotInRangeAdvancedFilter() (*NumberNotInRangeAdvancedFilter, bool)

AsNumberNotInRangeAdvancedFilter is the BasicAdvancedFilter implementation for StringNotContainsAdvancedFilter.

func (StringNotContainsAdvancedFilter) AsStringBeginsWithAdvancedFilter

func (sncaf StringNotContainsAdvancedFilter) AsStringBeginsWithAdvancedFilter() (*StringBeginsWithAdvancedFilter, bool)

AsStringBeginsWithAdvancedFilter is the BasicAdvancedFilter implementation for StringNotContainsAdvancedFilter.

func (StringNotContainsAdvancedFilter) AsStringContainsAdvancedFilter

func (sncaf StringNotContainsAdvancedFilter) AsStringContainsAdvancedFilter() (*StringContainsAdvancedFilter, bool)

AsStringContainsAdvancedFilter is the BasicAdvancedFilter implementation for StringNotContainsAdvancedFilter.

func (StringNotContainsAdvancedFilter) AsStringEndsWithAdvancedFilter

func (sncaf StringNotContainsAdvancedFilter) AsStringEndsWithAdvancedFilter() (*StringEndsWithAdvancedFilter, bool)

AsStringEndsWithAdvancedFilter is the BasicAdvancedFilter implementation for StringNotContainsAdvancedFilter.

func (StringNotContainsAdvancedFilter) AsStringInAdvancedFilter

func (sncaf StringNotContainsAdvancedFilter) AsStringInAdvancedFilter() (*StringInAdvancedFilter, bool)

AsStringInAdvancedFilter is the BasicAdvancedFilter implementation for StringNotContainsAdvancedFilter.

func (StringNotContainsAdvancedFilter) AsStringNotBeginsWithAdvancedFilter

func (sncaf StringNotContainsAdvancedFilter) AsStringNotBeginsWithAdvancedFilter() (*StringNotBeginsWithAdvancedFilter, bool)

AsStringNotBeginsWithAdvancedFilter is the BasicAdvancedFilter implementation for StringNotContainsAdvancedFilter.

func (StringNotContainsAdvancedFilter) AsStringNotContainsAdvancedFilter

func (sncaf StringNotContainsAdvancedFilter) AsStringNotContainsAdvancedFilter() (*StringNotContainsAdvancedFilter, bool)

AsStringNotContainsAdvancedFilter is the BasicAdvancedFilter implementation for StringNotContainsAdvancedFilter.

func (StringNotContainsAdvancedFilter) AsStringNotEndsWithAdvancedFilter

func (sncaf StringNotContainsAdvancedFilter) AsStringNotEndsWithAdvancedFilter() (*StringNotEndsWithAdvancedFilter, bool)

AsStringNotEndsWithAdvancedFilter is the BasicAdvancedFilter implementation for StringNotContainsAdvancedFilter.

func (StringNotContainsAdvancedFilter) AsStringNotInAdvancedFilter

func (sncaf StringNotContainsAdvancedFilter) AsStringNotInAdvancedFilter() (*StringNotInAdvancedFilter, bool)

AsStringNotInAdvancedFilter is the BasicAdvancedFilter implementation for StringNotContainsAdvancedFilter.

func (StringNotContainsAdvancedFilter) MarshalJSON

func (sncaf StringNotContainsAdvancedFilter) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for StringNotContainsAdvancedFilter.

type StringNotEndsWithAdvancedFilter

type StringNotEndsWithAdvancedFilter struct {
	// Values - The set of filter values.
	Values *[]string `json:"values,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"`
}

StringNotEndsWithAdvancedFilter stringNotEndsWith Advanced Filter.

func (StringNotEndsWithAdvancedFilter) AsAdvancedFilter

func (snewaf StringNotEndsWithAdvancedFilter) AsAdvancedFilter() (*AdvancedFilter, bool)

AsAdvancedFilter is the BasicAdvancedFilter implementation for StringNotEndsWithAdvancedFilter.

func (StringNotEndsWithAdvancedFilter) AsBasicAdvancedFilter

func (snewaf StringNotEndsWithAdvancedFilter) AsBasicAdvancedFilter() (BasicAdvancedFilter, bool)

AsBasicAdvancedFilter is the BasicAdvancedFilter implementation for StringNotEndsWithAdvancedFilter.

func (StringNotEndsWithAdvancedFilter) AsBoolEqualsAdvancedFilter

func (snewaf StringNotEndsWithAdvancedFilter) AsBoolEqualsAdvancedFilter() (*BoolEqualsAdvancedFilter, bool)

AsBoolEqualsAdvancedFilter is the BasicAdvancedFilter implementation for StringNotEndsWithAdvancedFilter.

func (StringNotEndsWithAdvancedFilter) AsIsNotNullAdvancedFilter

func (snewaf StringNotEndsWithAdvancedFilter) AsIsNotNullAdvancedFilter() (*IsNotNullAdvancedFilter, bool)

AsIsNotNullAdvancedFilter is the BasicAdvancedFilter implementation for StringNotEndsWithAdvancedFilter.

func (StringNotEndsWithAdvancedFilter) AsIsNullOrUndefinedAdvancedFilter

func (snewaf StringNotEndsWithAdvancedFilter) AsIsNullOrUndefinedAdvancedFilter() (*IsNullOrUndefinedAdvancedFilter, bool)

AsIsNullOrUndefinedAdvancedFilter is the BasicAdvancedFilter implementation for StringNotEndsWithAdvancedFilter.

func (StringNotEndsWithAdvancedFilter) AsNumberGreaterThanAdvancedFilter

func (snewaf StringNotEndsWithAdvancedFilter) AsNumberGreaterThanAdvancedFilter() (*NumberGreaterThanAdvancedFilter, bool)

AsNumberGreaterThanAdvancedFilter is the BasicAdvancedFilter implementation for StringNotEndsWithAdvancedFilter.

func (StringNotEndsWithAdvancedFilter) AsNumberGreaterThanOrEqualsAdvancedFilter

func (snewaf StringNotEndsWithAdvancedFilter) AsNumberGreaterThanOrEqualsAdvancedFilter() (*NumberGreaterThanOrEqualsAdvancedFilter, bool)

AsNumberGreaterThanOrEqualsAdvancedFilter is the BasicAdvancedFilter implementation for StringNotEndsWithAdvancedFilter.

func (StringNotEndsWithAdvancedFilter) AsNumberInAdvancedFilter

func (snewaf StringNotEndsWithAdvancedFilter) AsNumberInAdvancedFilter() (*NumberInAdvancedFilter, bool)

AsNumberInAdvancedFilter is the BasicAdvancedFilter implementation for StringNotEndsWithAdvancedFilter.

func (StringNotEndsWithAdvancedFilter) AsNumberInRangeAdvancedFilter

func (snewaf StringNotEndsWithAdvancedFilter) AsNumberInRangeAdvancedFilter() (*NumberInRangeAdvancedFilter, bool)

AsNumberInRangeAdvancedFilter is the BasicAdvancedFilter implementation for StringNotEndsWithAdvancedFilter.

func (StringNotEndsWithAdvancedFilter) AsNumberLessThanAdvancedFilter

func (snewaf StringNotEndsWithAdvancedFilter) AsNumberLessThanAdvancedFilter() (*NumberLessThanAdvancedFilter, bool)

AsNumberLessThanAdvancedFilter is the BasicAdvancedFilter implementation for StringNotEndsWithAdvancedFilter.

func (StringNotEndsWithAdvancedFilter) AsNumberLessThanOrEqualsAdvancedFilter

func (snewaf StringNotEndsWithAdvancedFilter) AsNumberLessThanOrEqualsAdvancedFilter() (*NumberLessThanOrEqualsAdvancedFilter, bool)

AsNumberLessThanOrEqualsAdvancedFilter is the BasicAdvancedFilter implementation for StringNotEndsWithAdvancedFilter.

func (StringNotEndsWithAdvancedFilter) AsNumberNotInAdvancedFilter

func (snewaf StringNotEndsWithAdvancedFilter) AsNumberNotInAdvancedFilter() (*NumberNotInAdvancedFilter, bool)

AsNumberNotInAdvancedFilter is the BasicAdvancedFilter implementation for StringNotEndsWithAdvancedFilter.

func (StringNotEndsWithAdvancedFilter) AsNumberNotInRangeAdvancedFilter

func (snewaf StringNotEndsWithAdvancedFilter) AsNumberNotInRangeAdvancedFilter() (*NumberNotInRangeAdvancedFilter, bool)

AsNumberNotInRangeAdvancedFilter is the BasicAdvancedFilter implementation for StringNotEndsWithAdvancedFilter.

func (StringNotEndsWithAdvancedFilter) AsStringBeginsWithAdvancedFilter

func (snewaf StringNotEndsWithAdvancedFilter) AsStringBeginsWithAdvancedFilter() (*StringBeginsWithAdvancedFilter, bool)

AsStringBeginsWithAdvancedFilter is the BasicAdvancedFilter implementation for StringNotEndsWithAdvancedFilter.

func (StringNotEndsWithAdvancedFilter) AsStringContainsAdvancedFilter

func (snewaf StringNotEndsWithAdvancedFilter) AsStringContainsAdvancedFilter() (*StringContainsAdvancedFilter, bool)

AsStringContainsAdvancedFilter is the BasicAdvancedFilter implementation for StringNotEndsWithAdvancedFilter.

func (StringNotEndsWithAdvancedFilter) AsStringEndsWithAdvancedFilter

func (snewaf StringNotEndsWithAdvancedFilter) AsStringEndsWithAdvancedFilter() (*StringEndsWithAdvancedFilter, bool)

AsStringEndsWithAdvancedFilter is the BasicAdvancedFilter implementation for StringNotEndsWithAdvancedFilter.

func (StringNotEndsWithAdvancedFilter) AsStringInAdvancedFilter

func (snewaf StringNotEndsWithAdvancedFilter) AsStringInAdvancedFilter() (*StringInAdvancedFilter, bool)

AsStringInAdvancedFilter is the BasicAdvancedFilter implementation for StringNotEndsWithAdvancedFilter.

func (StringNotEndsWithAdvancedFilter) AsStringNotBeginsWithAdvancedFilter

func (snewaf StringNotEndsWithAdvancedFilter) AsStringNotBeginsWithAdvancedFilter() (*StringNotBeginsWithAdvancedFilter, bool)

AsStringNotBeginsWithAdvancedFilter is the BasicAdvancedFilter implementation for StringNotEndsWithAdvancedFilter.

func (StringNotEndsWithAdvancedFilter) AsStringNotContainsAdvancedFilter

func (snewaf StringNotEndsWithAdvancedFilter) AsStringNotContainsAdvancedFilter() (*StringNotContainsAdvancedFilter, bool)

AsStringNotContainsAdvancedFilter is the BasicAdvancedFilter implementation for StringNotEndsWithAdvancedFilter.

func (StringNotEndsWithAdvancedFilter) AsStringNotEndsWithAdvancedFilter

func (snewaf StringNotEndsWithAdvancedFilter) AsStringNotEndsWithAdvancedFilter() (*StringNotEndsWithAdvancedFilter, bool)

AsStringNotEndsWithAdvancedFilter is the BasicAdvancedFilter implementation for StringNotEndsWithAdvancedFilter.

func (StringNotEndsWithAdvancedFilter) AsStringNotInAdvancedFilter

func (snewaf StringNotEndsWithAdvancedFilter) AsStringNotInAdvancedFilter() (*StringNotInAdvancedFilter, bool)

AsStringNotInAdvancedFilter is the BasicAdvancedFilter implementation for StringNotEndsWithAdvancedFilter.

func (StringNotEndsWithAdvancedFilter) MarshalJSON

func (snewaf StringNotEndsWithAdvancedFilter) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for StringNotEndsWithAdvancedFilter.

type StringNotInAdvancedFilter

type StringNotInAdvancedFilter struct {
	// Values - The set of filter values.
	Values *[]string `json:"values,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"`
}

StringNotInAdvancedFilter stringNotIn Advanced Filter.

func (StringNotInAdvancedFilter) AsAdvancedFilter

func (sniaf StringNotInAdvancedFilter) AsAdvancedFilter() (*AdvancedFilter, bool)

AsAdvancedFilter is the BasicAdvancedFilter implementation for StringNotInAdvancedFilter.

func (StringNotInAdvancedFilter) AsBasicAdvancedFilter

func (sniaf StringNotInAdvancedFilter) AsBasicAdvancedFilter() (BasicAdvancedFilter, bool)

AsBasicAdvancedFilter is the BasicAdvancedFilter implementation for StringNotInAdvancedFilter.

func (StringNotInAdvancedFilter) AsBoolEqualsAdvancedFilter

func (sniaf StringNotInAdvancedFilter) AsBoolEqualsAdvancedFilter() (*BoolEqualsAdvancedFilter, bool)

AsBoolEqualsAdvancedFilter is the BasicAdvancedFilter implementation for StringNotInAdvancedFilter.

func (StringNotInAdvancedFilter) AsIsNotNullAdvancedFilter

func (sniaf StringNotInAdvancedFilter) AsIsNotNullAdvancedFilter() (*IsNotNullAdvancedFilter, bool)

AsIsNotNullAdvancedFilter is the BasicAdvancedFilter implementation for StringNotInAdvancedFilter.

func (StringNotInAdvancedFilter) AsIsNullOrUndefinedAdvancedFilter

func (sniaf StringNotInAdvancedFilter) AsIsNullOrUndefinedAdvancedFilter() (*IsNullOrUndefinedAdvancedFilter, bool)

AsIsNullOrUndefinedAdvancedFilter is the BasicAdvancedFilter implementation for StringNotInAdvancedFilter.

func (StringNotInAdvancedFilter) AsNumberGreaterThanAdvancedFilter

func (sniaf StringNotInAdvancedFilter) AsNumberGreaterThanAdvancedFilter() (*NumberGreaterThanAdvancedFilter, bool)

AsNumberGreaterThanAdvancedFilter is the BasicAdvancedFilter implementation for StringNotInAdvancedFilter.

func (StringNotInAdvancedFilter) AsNumberGreaterThanOrEqualsAdvancedFilter

func (sniaf StringNotInAdvancedFilter) AsNumberGreaterThanOrEqualsAdvancedFilter() (*NumberGreaterThanOrEqualsAdvancedFilter, bool)

AsNumberGreaterThanOrEqualsAdvancedFilter is the BasicAdvancedFilter implementation for StringNotInAdvancedFilter.

func (StringNotInAdvancedFilter) AsNumberInAdvancedFilter

func (sniaf StringNotInAdvancedFilter) AsNumberInAdvancedFilter() (*NumberInAdvancedFilter, bool)

AsNumberInAdvancedFilter is the BasicAdvancedFilter implementation for StringNotInAdvancedFilter.

func (StringNotInAdvancedFilter) AsNumberInRangeAdvancedFilter

func (sniaf StringNotInAdvancedFilter) AsNumberInRangeAdvancedFilter() (*NumberInRangeAdvancedFilter, bool)

AsNumberInRangeAdvancedFilter is the BasicAdvancedFilter implementation for StringNotInAdvancedFilter.

func (StringNotInAdvancedFilter) AsNumberLessThanAdvancedFilter

func (sniaf StringNotInAdvancedFilter) AsNumberLessThanAdvancedFilter() (*NumberLessThanAdvancedFilter, bool)

AsNumberLessThanAdvancedFilter is the BasicAdvancedFilter implementation for StringNotInAdvancedFilter.

func (StringNotInAdvancedFilter) AsNumberLessThanOrEqualsAdvancedFilter

func (sniaf StringNotInAdvancedFilter) AsNumberLessThanOrEqualsAdvancedFilter() (*NumberLessThanOrEqualsAdvancedFilter, bool)

AsNumberLessThanOrEqualsAdvancedFilter is the BasicAdvancedFilter implementation for StringNotInAdvancedFilter.

func (StringNotInAdvancedFilter) AsNumberNotInAdvancedFilter

func (sniaf StringNotInAdvancedFilter) AsNumberNotInAdvancedFilter() (*NumberNotInAdvancedFilter, bool)

AsNumberNotInAdvancedFilter is the BasicAdvancedFilter implementation for StringNotInAdvancedFilter.

func (StringNotInAdvancedFilter) AsNumberNotInRangeAdvancedFilter

func (sniaf StringNotInAdvancedFilter) AsNumberNotInRangeAdvancedFilter() (*NumberNotInRangeAdvancedFilter, bool)

AsNumberNotInRangeAdvancedFilter is the BasicAdvancedFilter implementation for StringNotInAdvancedFilter.

func (StringNotInAdvancedFilter) AsStringBeginsWithAdvancedFilter

func (sniaf StringNotInAdvancedFilter) AsStringBeginsWithAdvancedFilter() (*StringBeginsWithAdvancedFilter, bool)

AsStringBeginsWithAdvancedFilter is the BasicAdvancedFilter implementation for StringNotInAdvancedFilter.

func (StringNotInAdvancedFilter) AsStringContainsAdvancedFilter

func (sniaf StringNotInAdvancedFilter) AsStringContainsAdvancedFilter() (*StringContainsAdvancedFilter, bool)

AsStringContainsAdvancedFilter is the BasicAdvancedFilter implementation for StringNotInAdvancedFilter.

func (StringNotInAdvancedFilter) AsStringEndsWithAdvancedFilter

func (sniaf StringNotInAdvancedFilter) AsStringEndsWithAdvancedFilter() (*StringEndsWithAdvancedFilter, bool)

AsStringEndsWithAdvancedFilter is the BasicAdvancedFilter implementation for StringNotInAdvancedFilter.

func (StringNotInAdvancedFilter) AsStringInAdvancedFilter

func (sniaf StringNotInAdvancedFilter) AsStringInAdvancedFilter() (*StringInAdvancedFilter, bool)

AsStringInAdvancedFilter is the BasicAdvancedFilter implementation for StringNotInAdvancedFilter.

func (StringNotInAdvancedFilter) AsStringNotBeginsWithAdvancedFilter

func (sniaf StringNotInAdvancedFilter) AsStringNotBeginsWithAdvancedFilter() (*StringNotBeginsWithAdvancedFilter, bool)

AsStringNotBeginsWithAdvancedFilter is the BasicAdvancedFilter implementation for StringNotInAdvancedFilter.

func (StringNotInAdvancedFilter) AsStringNotContainsAdvancedFilter

func (sniaf StringNotInAdvancedFilter) AsStringNotContainsAdvancedFilter() (*StringNotContainsAdvancedFilter, bool)

AsStringNotContainsAdvancedFilter is the BasicAdvancedFilter implementation for StringNotInAdvancedFilter.

func (StringNotInAdvancedFilter) AsStringNotEndsWithAdvancedFilter

func (sniaf StringNotInAdvancedFilter) AsStringNotEndsWithAdvancedFilter() (*StringNotEndsWithAdvancedFilter, bool)

AsStringNotEndsWithAdvancedFilter is the BasicAdvancedFilter implementation for StringNotInAdvancedFilter.

func (StringNotInAdvancedFilter) AsStringNotInAdvancedFilter

func (sniaf StringNotInAdvancedFilter) AsStringNotInAdvancedFilter() (*StringNotInAdvancedFilter, bool)

AsStringNotInAdvancedFilter is the BasicAdvancedFilter implementation for StringNotInAdvancedFilter.

func (StringNotInAdvancedFilter) MarshalJSON

func (sniaf StringNotInAdvancedFilter) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for StringNotInAdvancedFilter.

type SystemData

type SystemData struct {
	// CreatedBy - The identity that created the resource.
	CreatedBy *string `json:"createdBy,omitempty"`
	// CreatedByType - The type of identity that created the resource. Possible values include: 'CreatedByTypeUser', 'CreatedByTypeApplication', 'CreatedByTypeManagedIdentity', 'CreatedByTypeKey'
	CreatedByType CreatedByType `json:"createdByType,omitempty"`
	// CreatedAt - The timestamp of resource creation (UTC).
	CreatedAt *date.Time `json:"createdAt,omitempty"`
	// LastModifiedBy - The identity that last modified the resource.
	LastModifiedBy *string `json:"lastModifiedBy,omitempty"`
	// LastModifiedByType - The type of identity that last modified the resource. Possible values include: 'CreatedByTypeUser', 'CreatedByTypeApplication', 'CreatedByTypeManagedIdentity', 'CreatedByTypeKey'
	LastModifiedByType CreatedByType `json:"lastModifiedByType,omitempty"`
	// LastModifiedAt - The timestamp of resource last modification (UTC)
	LastModifiedAt *date.Time `json:"lastModifiedAt,omitempty"`
}

SystemData metadata pertaining to creation and last modification of the resource.

type SystemTopic

type SystemTopic struct {
	autorest.Response `json:"-"`
	// SystemTopicProperties - Properties of the system topic.
	*SystemTopicProperties `json:"properties,omitempty"`
	// SystemData - READ-ONLY; The system metadata relating to System Topic resource.
	SystemData *SystemData `json:"systemData,omitempty"`
	// Identity - Identity information for the resource.
	Identity *IdentityInfo `json:"identity,omitempty"`
	// Location - Location of the resource.
	Location *string `json:"location,omitempty"`
	// Tags - Tags of the resource.
	Tags map[string]*string `json:"tags"`
	// ID - READ-ONLY; Fully qualified identifier of the resource.
	ID *string `json:"id,omitempty"`
	// Name - READ-ONLY; Name of the resource.
	Name *string `json:"name,omitempty"`
	// Type - READ-ONLY; Type of the resource.
	Type *string `json:"type,omitempty"`
}

SystemTopic eventGrid System Topic.

func (SystemTopic) MarshalJSON

func (st SystemTopic) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for SystemTopic.

func (*SystemTopic) UnmarshalJSON

func (st *SystemTopic) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for SystemTopic struct.

type SystemTopicEventSubscriptionsClient

type SystemTopicEventSubscriptionsClient struct {
	BaseClient
}

SystemTopicEventSubscriptionsClient is the azure EventGrid Management Client

func NewSystemTopicEventSubscriptionsClient

func NewSystemTopicEventSubscriptionsClient(subscriptionID string) SystemTopicEventSubscriptionsClient

NewSystemTopicEventSubscriptionsClient creates an instance of the SystemTopicEventSubscriptionsClient client.

func NewSystemTopicEventSubscriptionsClientWithBaseURI

func NewSystemTopicEventSubscriptionsClientWithBaseURI(baseURI string, subscriptionID string) SystemTopicEventSubscriptionsClient

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

func (SystemTopicEventSubscriptionsClient) CreateOrUpdate

func (client SystemTopicEventSubscriptionsClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, systemTopicName string, eventSubscriptionName string, eventSubscriptionInfo EventSubscription) (result SystemTopicEventSubscriptionsCreateOrUpdateFuture, err error)

CreateOrUpdate asynchronously creates or updates an event subscription with the specified parameters. Existing event subscriptions will be updated with this API. Parameters: resourceGroupName - the name of the resource group within the user's subscription. systemTopicName - name of the system topic. eventSubscriptionName - name of the event subscription to be created. Event subscription names must be between 3 and 100 characters in length and use alphanumeric letters only. eventSubscriptionInfo - event subscription properties containing the destination and filter information.

func (SystemTopicEventSubscriptionsClient) CreateOrUpdatePreparer

func (client SystemTopicEventSubscriptionsClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, systemTopicName string, eventSubscriptionName string, eventSubscriptionInfo EventSubscription) (*http.Request, error)

CreateOrUpdatePreparer prepares the CreateOrUpdate request.

func (SystemTopicEventSubscriptionsClient) CreateOrUpdateResponder

func (client SystemTopicEventSubscriptionsClient) CreateOrUpdateResponder(resp *http.Response) (result EventSubscription, err error)

CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always closes the http.Response Body.

func (SystemTopicEventSubscriptionsClient) CreateOrUpdateSender

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

func (SystemTopicEventSubscriptionsClient) Delete

func (client SystemTopicEventSubscriptionsClient) Delete(ctx context.Context, resourceGroupName string, systemTopicName string, eventSubscriptionName string) (result SystemTopicEventSubscriptionsDeleteFuture, err error)

Delete delete an existing event subscription of a system topic. Parameters: resourceGroupName - the name of the resource group within the user's subscription. systemTopicName - name of the system topic. eventSubscriptionName - name of the event subscription to be created. Event subscription names must be between 3 and 100 characters in length and use alphanumeric letters only.

func (SystemTopicEventSubscriptionsClient) DeletePreparer

func (client SystemTopicEventSubscriptionsClient) DeletePreparer(ctx context.Context, resourceGroupName string, systemTopicName string, eventSubscriptionName string) (*http.Request, error)

DeletePreparer prepares the Delete request.

func (SystemTopicEventSubscriptionsClient) DeleteResponder

func (client SystemTopicEventSubscriptionsClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)

DeleteResponder handles the response to the Delete request. The method always closes the http.Response Body.

func (SystemTopicEventSubscriptionsClient) DeleteSender

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

func (SystemTopicEventSubscriptionsClient) Get

func (client SystemTopicEventSubscriptionsClient) Get(ctx context.Context, resourceGroupName string, systemTopicName string, eventSubscriptionName string) (result EventSubscription, err error)

Get get an event subscription. Parameters: resourceGroupName - the name of the resource group within the user's subscription. systemTopicName - name of the system topic. eventSubscriptionName - name of the event subscription to be created. Event subscription names must be between 3 and 100 characters in length and use alphanumeric letters only.

func (SystemTopicEventSubscriptionsClient) GetDeliveryAttributes

func (client SystemTopicEventSubscriptionsClient) GetDeliveryAttributes(ctx context.Context, resourceGroupName string, systemTopicName string, eventSubscriptionName string) (result DeliveryAttributeListResult, err error)

GetDeliveryAttributes get all delivery attributes for an event subscription. Parameters: resourceGroupName - the name of the resource group within the user's subscription. systemTopicName - name of the system topic. eventSubscriptionName - name of the event subscription to be created. Event subscription names must be between 3 and 100 characters in length and use alphanumeric letters only.

func (SystemTopicEventSubscriptionsClient) GetDeliveryAttributesPreparer

func (client SystemTopicEventSubscriptionsClient) GetDeliveryAttributesPreparer(ctx context.Context, resourceGroupName string, systemTopicName string, eventSubscriptionName string) (*http.Request, error)

GetDeliveryAttributesPreparer prepares the GetDeliveryAttributes request.

func (SystemTopicEventSubscriptionsClient) GetDeliveryAttributesResponder

func (client SystemTopicEventSubscriptionsClient) GetDeliveryAttributesResponder(resp *http.Response) (result DeliveryAttributeListResult, err error)

GetDeliveryAttributesResponder handles the response to the GetDeliveryAttributes request. The method always closes the http.Response Body.

func (SystemTopicEventSubscriptionsClient) GetDeliveryAttributesSender

func (client SystemTopicEventSubscriptionsClient) GetDeliveryAttributesSender(req *http.Request) (*http.Response, error)

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

func (SystemTopicEventSubscriptionsClient) GetFullURL

func (client SystemTopicEventSubscriptionsClient) GetFullURL(ctx context.Context, resourceGroupName string, systemTopicName string, eventSubscriptionName string) (result EventSubscriptionFullURL, err error)

GetFullURL get the full endpoint URL for an event subscription of a system topic. Parameters: resourceGroupName - the name of the resource group within the user's subscription. systemTopicName - name of the system topic. eventSubscriptionName - name of the event subscription to be created. Event subscription names must be between 3 and 100 characters in length and use alphanumeric letters only.

func (SystemTopicEventSubscriptionsClient) GetFullURLPreparer

func (client SystemTopicEventSubscriptionsClient) GetFullURLPreparer(ctx context.Context, resourceGroupName string, systemTopicName string, eventSubscriptionName string) (*http.Request, error)

GetFullURLPreparer prepares the GetFullURL request.

func (SystemTopicEventSubscriptionsClient) GetFullURLResponder

func (client SystemTopicEventSubscriptionsClient) GetFullURLResponder(resp *http.Response) (result EventSubscriptionFullURL, err error)

GetFullURLResponder handles the response to the GetFullURL request. The method always closes the http.Response Body.

func (SystemTopicEventSubscriptionsClient) GetFullURLSender

func (client SystemTopicEventSubscriptionsClient) GetFullURLSender(req *http.Request) (*http.Response, error)

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

func (SystemTopicEventSubscriptionsClient) GetPreparer

func (client SystemTopicEventSubscriptionsClient) GetPreparer(ctx context.Context, resourceGroupName string, systemTopicName string, eventSubscriptionName string) (*http.Request, error)

GetPreparer prepares the Get request.

func (SystemTopicEventSubscriptionsClient) GetResponder

func (client SystemTopicEventSubscriptionsClient) GetResponder(resp *http.Response) (result EventSubscription, err error)

GetResponder handles the response to the Get request. The method always closes the http.Response Body.

func (SystemTopicEventSubscriptionsClient) GetSender

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

func (SystemTopicEventSubscriptionsClient) ListBySystemTopic

func (client SystemTopicEventSubscriptionsClient) ListBySystemTopic(ctx context.Context, resourceGroupName string, systemTopicName string, filter string, top *int32) (result EventSubscriptionsListResultPage, err error)

ListBySystemTopic list event subscriptions that belong to a specific system topic. Parameters: resourceGroupName - the name of the resource group within the user's subscription. systemTopicName - name of the system topic. filter - the query used to filter the search results using OData syntax. Filtering is permitted on the 'name' property only and with limited number of OData operations. These operations are: the 'contains' function as well as the following logical operations: not, and, or, eq (for equal), and ne (for not equal). No arithmetic operations are supported. The following is a valid filter example: $filter=contains(namE, 'PATTERN') and name ne 'PATTERN-1'. The following is not a valid filter example: $filter=location eq 'westus'. top - the number of results to return per page for the list operation. Valid range for top parameter is 1 to 100. If not specified, the default number of results to be returned is 20 items per page.

func (SystemTopicEventSubscriptionsClient) ListBySystemTopicComplete

func (client SystemTopicEventSubscriptionsClient) ListBySystemTopicComplete(ctx context.Context, resourceGroupName string, systemTopicName string, filter string, top *int32) (result EventSubscriptionsListResultIterator, err error)

ListBySystemTopicComplete enumerates all values, automatically crossing page boundaries as required.

func (SystemTopicEventSubscriptionsClient) ListBySystemTopicPreparer

func (client SystemTopicEventSubscriptionsClient) ListBySystemTopicPreparer(ctx context.Context, resourceGroupName string, systemTopicName string, filter string, top *int32) (*http.Request, error)

ListBySystemTopicPreparer prepares the ListBySystemTopic request.

func (SystemTopicEventSubscriptionsClient) ListBySystemTopicResponder

func (client SystemTopicEventSubscriptionsClient) ListBySystemTopicResponder(resp *http.Response) (result EventSubscriptionsListResult, err error)

ListBySystemTopicResponder handles the response to the ListBySystemTopic request. The method always closes the http.Response Body.

func (SystemTopicEventSubscriptionsClient) ListBySystemTopicSender

func (client SystemTopicEventSubscriptionsClient) ListBySystemTopicSender(req *http.Request) (*http.Response, error)

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

func (SystemTopicEventSubscriptionsClient) Update

func (client SystemTopicEventSubscriptionsClient) Update(ctx context.Context, resourceGroupName string, systemTopicName string, eventSubscriptionName string, eventSubscriptionUpdateParameters EventSubscriptionUpdateParameters) (result SystemTopicEventSubscriptionsUpdateFuture, err error)

Update update an existing event subscription of a system topic. Parameters: resourceGroupName - the name of the resource group within the user's subscription. systemTopicName - name of the system topic. eventSubscriptionName - name of the event subscription to be created. Event subscription names must be between 3 and 100 characters in length and use alphanumeric letters only. eventSubscriptionUpdateParameters - updated event subscription information.

func (SystemTopicEventSubscriptionsClient) UpdatePreparer

func (client SystemTopicEventSubscriptionsClient) UpdatePreparer(ctx context.Context, resourceGroupName string, systemTopicName string, eventSubscriptionName string, eventSubscriptionUpdateParameters EventSubscriptionUpdateParameters) (*http.Request, error)

UpdatePreparer prepares the Update request.

func (SystemTopicEventSubscriptionsClient) UpdateResponder

func (client SystemTopicEventSubscriptionsClient) UpdateResponder(resp *http.Response) (result EventSubscription, err error)

UpdateResponder handles the response to the Update request. The method always closes the http.Response Body.

func (SystemTopicEventSubscriptionsClient) UpdateSender

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

type SystemTopicEventSubscriptionsCreateOrUpdateFuture

type SystemTopicEventSubscriptionsCreateOrUpdateFuture struct {
	azure.FutureAPI
	// Result returns the result of the asynchronous operation.
	// If the operation has not completed it will return an error.
	Result func(SystemTopicEventSubscriptionsClient) (EventSubscription, error)
}

SystemTopicEventSubscriptionsCreateOrUpdateFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*SystemTopicEventSubscriptionsCreateOrUpdateFuture) UnmarshalJSON

func (future *SystemTopicEventSubscriptionsCreateOrUpdateFuture) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type SystemTopicEventSubscriptionsDeleteFuture

type SystemTopicEventSubscriptionsDeleteFuture struct {
	azure.FutureAPI
	// Result returns the result of the asynchronous operation.
	// If the operation has not completed it will return an error.
	Result func(SystemTopicEventSubscriptionsClient) (autorest.Response, error)
}

SystemTopicEventSubscriptionsDeleteFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*SystemTopicEventSubscriptionsDeleteFuture) UnmarshalJSON

func (future *SystemTopicEventSubscriptionsDeleteFuture) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type SystemTopicEventSubscriptionsUpdateFuture

type SystemTopicEventSubscriptionsUpdateFuture struct {
	azure.FutureAPI
	// Result returns the result of the asynchronous operation.
	// If the operation has not completed it will return an error.
	Result func(SystemTopicEventSubscriptionsClient) (EventSubscription, error)
}

SystemTopicEventSubscriptionsUpdateFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*SystemTopicEventSubscriptionsUpdateFuture) UnmarshalJSON

func (future *SystemTopicEventSubscriptionsUpdateFuture) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type SystemTopicProperties

type SystemTopicProperties struct {
	// ProvisioningState - READ-ONLY; Provisioning state of the system topic. Possible values include: 'ResourceProvisioningStateCreating', 'ResourceProvisioningStateUpdating', 'ResourceProvisioningStateDeleting', 'ResourceProvisioningStateSucceeded', 'ResourceProvisioningStateCanceled', 'ResourceProvisioningStateFailed'
	ProvisioningState ResourceProvisioningState `json:"provisioningState,omitempty"`
	// Source - Source for the system topic.
	Source *string `json:"source,omitempty"`
	// TopicType - TopicType for the system topic.
	TopicType *string `json:"topicType,omitempty"`
	// MetricResourceID - READ-ONLY; Metric resource id for the system topic.
	MetricResourceID *string `json:"metricResourceId,omitempty"`
}

SystemTopicProperties properties of the System Topic.

func (SystemTopicProperties) MarshalJSON

func (stp SystemTopicProperties) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for SystemTopicProperties.

type SystemTopicUpdateParameters

type SystemTopicUpdateParameters struct {
	// Tags - Tags of the system topic.
	Tags map[string]*string `json:"tags"`
	// Identity - Resource identity information.
	Identity *IdentityInfo `json:"identity,omitempty"`
}

SystemTopicUpdateParameters properties of the System Topic update.

func (SystemTopicUpdateParameters) MarshalJSON

func (stup SystemTopicUpdateParameters) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for SystemTopicUpdateParameters.

type SystemTopicsClient

type SystemTopicsClient struct {
	BaseClient
}

SystemTopicsClient is the azure EventGrid Management Client

func NewSystemTopicsClient

func NewSystemTopicsClient(subscriptionID string) SystemTopicsClient

NewSystemTopicsClient creates an instance of the SystemTopicsClient client.

func NewSystemTopicsClientWithBaseURI

func NewSystemTopicsClientWithBaseURI(baseURI string, subscriptionID string) SystemTopicsClient

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

func (SystemTopicsClient) CreateOrUpdate

func (client SystemTopicsClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, systemTopicName string, systemTopicInfo SystemTopic) (result SystemTopicsCreateOrUpdateFuture, err error)

CreateOrUpdate asynchronously creates a new system topic with the specified parameters. Parameters: resourceGroupName - the name of the resource group within the user's subscription. systemTopicName - name of the system topic. systemTopicInfo - system Topic information.

func (SystemTopicsClient) CreateOrUpdatePreparer

func (client SystemTopicsClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, systemTopicName string, systemTopicInfo SystemTopic) (*http.Request, error)

CreateOrUpdatePreparer prepares the CreateOrUpdate request.

func (SystemTopicsClient) CreateOrUpdateResponder

func (client SystemTopicsClient) CreateOrUpdateResponder(resp *http.Response) (result SystemTopic, err error)

CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always closes the http.Response Body.

func (SystemTopicsClient) CreateOrUpdateSender

func (client SystemTopicsClient) CreateOrUpdateSender(req *http.Request) (future SystemTopicsCreateOrUpdateFuture, err error)

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

func (SystemTopicsClient) Delete

func (client SystemTopicsClient) Delete(ctx context.Context, resourceGroupName string, systemTopicName string) (result SystemTopicsDeleteFuture, err error)

Delete delete existing system topic. Parameters: resourceGroupName - the name of the resource group within the user's subscription. systemTopicName - name of the system topic.

func (SystemTopicsClient) DeletePreparer

func (client SystemTopicsClient) DeletePreparer(ctx context.Context, resourceGroupName string, systemTopicName string) (*http.Request, error)

DeletePreparer prepares the Delete request.

func (SystemTopicsClient) DeleteResponder

func (client SystemTopicsClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)

DeleteResponder handles the response to the Delete request. The method always closes the http.Response Body.

func (SystemTopicsClient) DeleteSender

func (client SystemTopicsClient) DeleteSender(req *http.Request) (future SystemTopicsDeleteFuture, err error)

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

func (SystemTopicsClient) Get

func (client SystemTopicsClient) Get(ctx context.Context, resourceGroupName string, systemTopicName string) (result SystemTopic, err error)

Get get properties of a system topic. Parameters: resourceGroupName - the name of the resource group within the user's subscription. systemTopicName - name of the system topic.

func (SystemTopicsClient) GetPreparer

func (client SystemTopicsClient) GetPreparer(ctx context.Context, resourceGroupName string, systemTopicName string) (*http.Request, error)

GetPreparer prepares the Get request.

func (SystemTopicsClient) GetResponder

func (client SystemTopicsClient) GetResponder(resp *http.Response) (result SystemTopic, err error)

GetResponder handles the response to the Get request. The method always closes the http.Response Body.

func (SystemTopicsClient) GetSender

func (client SystemTopicsClient) GetSender(req *http.Request) (*http.Response, error)

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

func (SystemTopicsClient) ListByResourceGroup

func (client SystemTopicsClient) ListByResourceGroup(ctx context.Context, resourceGroupName string, filter string, top *int32) (result SystemTopicsListResultPage, err error)

ListByResourceGroup list all the system topics under a resource group. Parameters: resourceGroupName - the name of the resource group within the user's subscription. filter - the query used to filter the search results using OData syntax. Filtering is permitted on the 'name' property only and with limited number of OData operations. These operations are: the 'contains' function as well as the following logical operations: not, and, or, eq (for equal), and ne (for not equal). No arithmetic operations are supported. The following is a valid filter example: $filter=contains(namE, 'PATTERN') and name ne 'PATTERN-1'. The following is not a valid filter example: $filter=location eq 'westus'. top - the number of results to return per page for the list operation. Valid range for top parameter is 1 to 100. If not specified, the default number of results to be returned is 20 items per page.

func (SystemTopicsClient) ListByResourceGroupComplete

func (client SystemTopicsClient) ListByResourceGroupComplete(ctx context.Context, resourceGroupName string, filter string, top *int32) (result SystemTopicsListResultIterator, err error)

ListByResourceGroupComplete enumerates all values, automatically crossing page boundaries as required.

func (SystemTopicsClient) ListByResourceGroupPreparer

func (client SystemTopicsClient) ListByResourceGroupPreparer(ctx context.Context, resourceGroupName string, filter string, top *int32) (*http.Request, error)

ListByResourceGroupPreparer prepares the ListByResourceGroup request.

func (SystemTopicsClient) ListByResourceGroupResponder

func (client SystemTopicsClient) ListByResourceGroupResponder(resp *http.Response) (result SystemTopicsListResult, err error)

ListByResourceGroupResponder handles the response to the ListByResourceGroup request. The method always closes the http.Response Body.

func (SystemTopicsClient) ListByResourceGroupSender

func (client SystemTopicsClient) ListByResourceGroupSender(req *http.Request) (*http.Response, error)

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

func (SystemTopicsClient) ListBySubscription

func (client SystemTopicsClient) ListBySubscription(ctx context.Context, filter string, top *int32) (result SystemTopicsListResultPage, err error)

ListBySubscription list all the system topics under an Azure subscription. Parameters: filter - the query used to filter the search results using OData syntax. Filtering is permitted on the 'name' property only and with limited number of OData operations. These operations are: the 'contains' function as well as the following logical operations: not, and, or, eq (for equal), and ne (for not equal). No arithmetic operations are supported. The following is a valid filter example: $filter=contains(namE, 'PATTERN') and name ne 'PATTERN-1'. The following is not a valid filter example: $filter=location eq 'westus'. top - the number of results to return per page for the list operation. Valid range for top parameter is 1 to 100. If not specified, the default number of results to be returned is 20 items per page.

func (SystemTopicsClient) ListBySubscriptionComplete

func (client SystemTopicsClient) ListBySubscriptionComplete(ctx context.Context, filter string, top *int32) (result SystemTopicsListResultIterator, err error)

ListBySubscriptionComplete enumerates all values, automatically crossing page boundaries as required.

func (SystemTopicsClient) ListBySubscriptionPreparer

func (client SystemTopicsClient) ListBySubscriptionPreparer(ctx context.Context, filter string, top *int32) (*http.Request, error)

ListBySubscriptionPreparer prepares the ListBySubscription request.

func (SystemTopicsClient) ListBySubscriptionResponder

func (client SystemTopicsClient) ListBySubscriptionResponder(resp *http.Response) (result SystemTopicsListResult, err error)

ListBySubscriptionResponder handles the response to the ListBySubscription request. The method always closes the http.Response Body.

func (SystemTopicsClient) ListBySubscriptionSender

func (client SystemTopicsClient) ListBySubscriptionSender(req *http.Request) (*http.Response, error)

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

func (SystemTopicsClient) Update

func (client SystemTopicsClient) Update(ctx context.Context, resourceGroupName string, systemTopicName string, systemTopicUpdateParameters SystemTopicUpdateParameters) (result SystemTopicsUpdateFuture, err error)

Update asynchronously updates a system topic with the specified parameters. Parameters: resourceGroupName - the name of the resource group within the user's subscription. systemTopicName - name of the system topic. systemTopicUpdateParameters - systemTopic update information.

func (SystemTopicsClient) UpdatePreparer

func (client SystemTopicsClient) UpdatePreparer(ctx context.Context, resourceGroupName string, systemTopicName string, systemTopicUpdateParameters SystemTopicUpdateParameters) (*http.Request, error)

UpdatePreparer prepares the Update request.

func (SystemTopicsClient) UpdateResponder

func (client SystemTopicsClient) UpdateResponder(resp *http.Response) (result SystemTopic, err error)

UpdateResponder handles the response to the Update request. The method always closes the http.Response Body.

func (SystemTopicsClient) UpdateSender

func (client SystemTopicsClient) UpdateSender(req *http.Request) (future SystemTopicsUpdateFuture, err error)

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

type SystemTopicsCreateOrUpdateFuture

type SystemTopicsCreateOrUpdateFuture struct {
	azure.FutureAPI
	// Result returns the result of the asynchronous operation.
	// If the operation has not completed it will return an error.
	Result func(SystemTopicsClient) (SystemTopic, error)
}

SystemTopicsCreateOrUpdateFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*SystemTopicsCreateOrUpdateFuture) UnmarshalJSON

func (future *SystemTopicsCreateOrUpdateFuture) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type SystemTopicsDeleteFuture

type SystemTopicsDeleteFuture struct {
	azure.FutureAPI
	// Result returns the result of the asynchronous operation.
	// If the operation has not completed it will return an error.
	Result func(SystemTopicsClient) (autorest.Response, error)
}

SystemTopicsDeleteFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*SystemTopicsDeleteFuture) UnmarshalJSON

func (future *SystemTopicsDeleteFuture) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type SystemTopicsListResult

type SystemTopicsListResult struct {
	autorest.Response `json:"-"`
	// Value - A collection of system Topics.
	Value *[]SystemTopic `json:"value,omitempty"`
	// NextLink - A link for the next page of topics.
	NextLink *string `json:"nextLink,omitempty"`
}

SystemTopicsListResult result of the List System topics operation.

func (SystemTopicsListResult) IsEmpty

func (stlr SystemTopicsListResult) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type SystemTopicsListResultIterator

type SystemTopicsListResultIterator struct {
	// contains filtered or unexported fields
}

SystemTopicsListResultIterator provides access to a complete listing of SystemTopic values.

func NewSystemTopicsListResultIterator

func NewSystemTopicsListResultIterator(page SystemTopicsListResultPage) SystemTopicsListResultIterator

Creates a new instance of the SystemTopicsListResultIterator type.

func (*SystemTopicsListResultIterator) Next

Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*SystemTopicsListResultIterator) NextWithContext

func (iter *SystemTopicsListResultIterator) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.

func (SystemTopicsListResultIterator) NotDone

func (iter SystemTopicsListResultIterator) NotDone() bool

NotDone returns true if the enumeration should be started or is not yet complete.

func (SystemTopicsListResultIterator) Response

Response returns the raw server response from the last page request.

func (SystemTopicsListResultIterator) Value

Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.

type SystemTopicsListResultPage

type SystemTopicsListResultPage struct {
	// contains filtered or unexported fields
}

SystemTopicsListResultPage contains a page of SystemTopic values.

func NewSystemTopicsListResultPage

Creates a new instance of the SystemTopicsListResultPage type.

func (*SystemTopicsListResultPage) Next

func (page *SystemTopicsListResultPage) Next() error

Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*SystemTopicsListResultPage) NextWithContext

func (page *SystemTopicsListResultPage) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.

func (SystemTopicsListResultPage) NotDone

func (page SystemTopicsListResultPage) NotDone() bool

NotDone returns true if the page enumeration should be started or is not yet complete.

func (SystemTopicsListResultPage) Response

Response returns the raw server response from the last page request.

func (SystemTopicsListResultPage) Values

func (page SystemTopicsListResultPage) Values() []SystemTopic

Values returns the slice of values for the current page or nil if there are no values.

type SystemTopicsUpdateFuture

type SystemTopicsUpdateFuture struct {
	azure.FutureAPI
	// Result returns the result of the asynchronous operation.
	// If the operation has not completed it will return an error.
	Result func(SystemTopicsClient) (SystemTopic, error)
}

SystemTopicsUpdateFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*SystemTopicsUpdateFuture) UnmarshalJSON

func (future *SystemTopicsUpdateFuture) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type Topic

type Topic struct {
	autorest.Response `json:"-"`
	// TopicProperties - Properties of the topic.
	*TopicProperties `json:"properties,omitempty"`
	// Sku - The Sku pricing tier for the topic.
	Sku *ResourceSku `json:"sku,omitempty"`
	// Identity - Identity information for the resource.
	Identity *IdentityInfo `json:"identity,omitempty"`
	// Kind - Kind of the resource. Possible values include: 'ResourceKindAzure', 'ResourceKindAzureArc'
	Kind ResourceKind `json:"kind,omitempty"`
	// ExtendedLocation - Extended location of the resource.
	ExtendedLocation *ExtendedLocation `json:"extendedLocation,omitempty"`
	// SystemData - READ-ONLY; The system metadata relating to Topic resource.
	SystemData *SystemData `json:"systemData,omitempty"`
	// Location - Location of the resource.
	Location *string `json:"location,omitempty"`
	// Tags - Tags of the resource.
	Tags map[string]*string `json:"tags"`
	// ID - READ-ONLY; Fully qualified identifier of the resource.
	ID *string `json:"id,omitempty"`
	// Name - READ-ONLY; Name of the resource.
	Name *string `json:"name,omitempty"`
	// Type - READ-ONLY; Type of the resource.
	Type *string `json:"type,omitempty"`
}

Topic eventGrid Topic

func (Topic) MarshalJSON

func (t Topic) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for Topic.

func (*Topic) UnmarshalJSON

func (t *Topic) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for Topic struct.

type TopicEventSubscriptionsClient

type TopicEventSubscriptionsClient struct {
	BaseClient
}

TopicEventSubscriptionsClient is the azure EventGrid Management Client

func NewTopicEventSubscriptionsClient

func NewTopicEventSubscriptionsClient(subscriptionID string) TopicEventSubscriptionsClient

NewTopicEventSubscriptionsClient creates an instance of the TopicEventSubscriptionsClient client.

func NewTopicEventSubscriptionsClientWithBaseURI

func NewTopicEventSubscriptionsClientWithBaseURI(baseURI string, subscriptionID string) TopicEventSubscriptionsClient

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

func (TopicEventSubscriptionsClient) CreateOrUpdate

func (client TopicEventSubscriptionsClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, topicName string, eventSubscriptionName string, eventSubscriptionInfo EventSubscription) (result TopicEventSubscriptionsCreateOrUpdateFuture, err error)

CreateOrUpdate asynchronously creates a new event subscription or updates an existing event subscription. Parameters: resourceGroupName - the name of the resource group within the user's subscription. topicName - name of the domain topic. eventSubscriptionName - name of the event subscription to be created. Event subscription names must be between 3 and 100 characters in length and use alphanumeric letters only. eventSubscriptionInfo - event subscription properties containing the destination and filter information.

func (TopicEventSubscriptionsClient) CreateOrUpdatePreparer

func (client TopicEventSubscriptionsClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, topicName string, eventSubscriptionName string, eventSubscriptionInfo EventSubscription) (*http.Request, error)

CreateOrUpdatePreparer prepares the CreateOrUpdate request.

func (TopicEventSubscriptionsClient) CreateOrUpdateResponder

func (client TopicEventSubscriptionsClient) CreateOrUpdateResponder(resp *http.Response) (result EventSubscription, err error)

CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always closes the http.Response Body.

func (TopicEventSubscriptionsClient) CreateOrUpdateSender

func (client TopicEventSubscriptionsClient) CreateOrUpdateSender(req *http.Request) (future TopicEventSubscriptionsCreateOrUpdateFuture, err error)

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

func (TopicEventSubscriptionsClient) Delete

func (client TopicEventSubscriptionsClient) Delete(ctx context.Context, resourceGroupName string, topicName string, eventSubscriptionName string) (result TopicEventSubscriptionsDeleteFuture, err error)

Delete delete an existing event subscription for a topic. Parameters: resourceGroupName - the name of the resource group within the user's subscription. topicName - name of the topic. eventSubscriptionName - name of the event subscription to be deleted. Event subscription names must be between 3 and 100 characters in length and use alphanumeric letters only.

func (TopicEventSubscriptionsClient) DeletePreparer

func (client TopicEventSubscriptionsClient) DeletePreparer(ctx context.Context, resourceGroupName string, topicName string, eventSubscriptionName string) (*http.Request, error)

DeletePreparer prepares the Delete request.

func (TopicEventSubscriptionsClient) DeleteResponder

func (client TopicEventSubscriptionsClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)

DeleteResponder handles the response to the Delete request. The method always closes the http.Response Body.

func (TopicEventSubscriptionsClient) DeleteSender

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

func (TopicEventSubscriptionsClient) Get

func (client TopicEventSubscriptionsClient) Get(ctx context.Context, resourceGroupName string, topicName string, eventSubscriptionName string) (result EventSubscription, err error)

Get get properties of an event subscription of a topic. Parameters: resourceGroupName - the name of the resource group within the user's subscription. topicName - name of the partner topic. eventSubscriptionName - name of the event subscription to be found. Event subscription names must be between 3 and 100 characters in length and use alphanumeric letters only.

func (TopicEventSubscriptionsClient) GetDeliveryAttributes

func (client TopicEventSubscriptionsClient) GetDeliveryAttributes(ctx context.Context, resourceGroupName string, topicName string, eventSubscriptionName string) (result DeliveryAttributeListResult, err error)

GetDeliveryAttributes get all delivery attributes for an event subscription for topic. Parameters: resourceGroupName - the name of the resource group within the user's subscription. topicName - name of the domain topic. eventSubscriptionName - name of the event subscription.

func (TopicEventSubscriptionsClient) GetDeliveryAttributesPreparer

func (client TopicEventSubscriptionsClient) GetDeliveryAttributesPreparer(ctx context.Context, resourceGroupName string, topicName string, eventSubscriptionName string) (*http.Request, error)

GetDeliveryAttributesPreparer prepares the GetDeliveryAttributes request.

func (TopicEventSubscriptionsClient) GetDeliveryAttributesResponder

func (client TopicEventSubscriptionsClient) GetDeliveryAttributesResponder(resp *http.Response) (result DeliveryAttributeListResult, err error)

GetDeliveryAttributesResponder handles the response to the GetDeliveryAttributes request. The method always closes the http.Response Body.

func (TopicEventSubscriptionsClient) GetDeliveryAttributesSender

func (client TopicEventSubscriptionsClient) GetDeliveryAttributesSender(req *http.Request) (*http.Response, error)

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

func (TopicEventSubscriptionsClient) GetFullURL

func (client TopicEventSubscriptionsClient) GetFullURL(ctx context.Context, resourceGroupName string, topicName string, eventSubscriptionName string) (result EventSubscriptionFullURL, err error)

GetFullURL get the full endpoint URL for an event subscription for topic. Parameters: resourceGroupName - the name of the resource group within the user's subscription. topicName - name of the domain topic. eventSubscriptionName - name of the event subscription.

func (TopicEventSubscriptionsClient) GetFullURLPreparer

func (client TopicEventSubscriptionsClient) GetFullURLPreparer(ctx context.Context, resourceGroupName string, topicName string, eventSubscriptionName string) (*http.Request, error)

GetFullURLPreparer prepares the GetFullURL request.

func (TopicEventSubscriptionsClient) GetFullURLResponder

func (client TopicEventSubscriptionsClient) GetFullURLResponder(resp *http.Response) (result EventSubscriptionFullURL, err error)

GetFullURLResponder handles the response to the GetFullURL request. The method always closes the http.Response Body.

func (TopicEventSubscriptionsClient) GetFullURLSender

func (client TopicEventSubscriptionsClient) GetFullURLSender(req *http.Request) (*http.Response, error)

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

func (TopicEventSubscriptionsClient) GetPreparer

func (client TopicEventSubscriptionsClient) GetPreparer(ctx context.Context, resourceGroupName string, topicName string, eventSubscriptionName string) (*http.Request, error)

GetPreparer prepares the Get request.

func (TopicEventSubscriptionsClient) GetResponder

func (client TopicEventSubscriptionsClient) GetResponder(resp *http.Response) (result EventSubscription, err error)

GetResponder handles the response to the Get request. The method always closes the http.Response Body.

func (TopicEventSubscriptionsClient) GetSender

func (client TopicEventSubscriptionsClient) GetSender(req *http.Request) (*http.Response, error)

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

func (TopicEventSubscriptionsClient) List

func (client TopicEventSubscriptionsClient) List(ctx context.Context, resourceGroupName string, topicName string) (result EventSubscriptionsListResult, err error)

List list all event subscriptions that have been created for a specific topic. Parameters: resourceGroupName - the name of the resource group within the user's subscription. topicName - name of the topic.

func (TopicEventSubscriptionsClient) ListPreparer

func (client TopicEventSubscriptionsClient) ListPreparer(ctx context.Context, resourceGroupName string, topicName string) (*http.Request, error)

ListPreparer prepares the List request.

func (TopicEventSubscriptionsClient) ListResponder

func (client TopicEventSubscriptionsClient) ListResponder(resp *http.Response) (result EventSubscriptionsListResult, err error)

ListResponder handles the response to the List request. The method always closes the http.Response Body.

func (TopicEventSubscriptionsClient) ListSender

func (client TopicEventSubscriptionsClient) ListSender(req *http.Request) (*http.Response, error)

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

func (TopicEventSubscriptionsClient) Update

func (client TopicEventSubscriptionsClient) Update(ctx context.Context, resourceGroupName string, topicName string, eventSubscriptionName string, eventSubscriptionUpdateParameters EventSubscriptionUpdateParameters) (result TopicEventSubscriptionsUpdateFuture, err error)

Update update an existing event subscription for a topic. Parameters: resourceGroupName - the name of the resource group within the user's subscription. topicName - name of the domain. eventSubscriptionName - name of the event subscription to be updated. eventSubscriptionUpdateParameters - updated event subscription information.

func (TopicEventSubscriptionsClient) UpdatePreparer

func (client TopicEventSubscriptionsClient) UpdatePreparer(ctx context.Context, resourceGroupName string, topicName string, eventSubscriptionName string, eventSubscriptionUpdateParameters EventSubscriptionUpdateParameters) (*http.Request, error)

UpdatePreparer prepares the Update request.

func (TopicEventSubscriptionsClient) UpdateResponder

func (client TopicEventSubscriptionsClient) UpdateResponder(resp *http.Response) (result EventSubscription, err error)

UpdateResponder handles the response to the Update request. The method always closes the http.Response Body.

func (TopicEventSubscriptionsClient) UpdateSender

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

type TopicEventSubscriptionsCreateOrUpdateFuture

type TopicEventSubscriptionsCreateOrUpdateFuture struct {
	azure.FutureAPI
	// Result returns the result of the asynchronous operation.
	// If the operation has not completed it will return an error.
	Result func(TopicEventSubscriptionsClient) (EventSubscription, error)
}

TopicEventSubscriptionsCreateOrUpdateFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*TopicEventSubscriptionsCreateOrUpdateFuture) UnmarshalJSON

func (future *TopicEventSubscriptionsCreateOrUpdateFuture) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type TopicEventSubscriptionsDeleteFuture

type TopicEventSubscriptionsDeleteFuture struct {
	azure.FutureAPI
	// Result returns the result of the asynchronous operation.
	// If the operation has not completed it will return an error.
	Result func(TopicEventSubscriptionsClient) (autorest.Response, error)
}

TopicEventSubscriptionsDeleteFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*TopicEventSubscriptionsDeleteFuture) UnmarshalJSON

func (future *TopicEventSubscriptionsDeleteFuture) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type TopicEventSubscriptionsUpdateFuture

type TopicEventSubscriptionsUpdateFuture struct {
	azure.FutureAPI
	// Result returns the result of the asynchronous operation.
	// If the operation has not completed it will return an error.
	Result func(TopicEventSubscriptionsClient) (EventSubscription, error)
}

TopicEventSubscriptionsUpdateFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*TopicEventSubscriptionsUpdateFuture) UnmarshalJSON

func (future *TopicEventSubscriptionsUpdateFuture) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type TopicProperties

type TopicProperties struct {
	// PrivateEndpointConnections - READ-ONLY
	PrivateEndpointConnections *[]PrivateEndpointConnection `json:"privateEndpointConnections,omitempty"`
	// ProvisioningState - READ-ONLY; Provisioning state of the topic. Possible values include: 'TopicProvisioningStateCreating', 'TopicProvisioningStateUpdating', 'TopicProvisioningStateDeleting', 'TopicProvisioningStateSucceeded', 'TopicProvisioningStateCanceled', 'TopicProvisioningStateFailed'
	ProvisioningState TopicProvisioningState `json:"provisioningState,omitempty"`
	// Endpoint - READ-ONLY; Endpoint for the topic.
	Endpoint *string `json:"endpoint,omitempty"`
	// InputSchema - This determines the format that Event Grid should expect for incoming events published to the topic. Possible values include: 'InputSchemaEventGridSchema', 'InputSchemaCustomEventSchema', 'InputSchemaCloudEventSchemaV10'
	InputSchema InputSchema `json:"inputSchema,omitempty"`
	// InputSchemaMapping - This enables publishing using custom event schemas. An InputSchemaMapping can be specified to map various properties of a source schema to various required properties of the EventGridEvent schema.
	InputSchemaMapping BasicInputSchemaMapping `json:"inputSchemaMapping,omitempty"`
	// MetricResourceID - READ-ONLY; Metric resource id for the topic.
	MetricResourceID *string `json:"metricResourceId,omitempty"`
	// PublicNetworkAccess - This determines if traffic is allowed over public network. By default it is enabled.
	// You can further restrict to specific IPs by configuring <seealso cref="P:Microsoft.Azure.Events.ResourceProvider.Common.Contracts.TopicProperties.InboundIpRules" />. Possible values include: 'PublicNetworkAccessEnabled', 'PublicNetworkAccessDisabled'
	PublicNetworkAccess PublicNetworkAccess `json:"publicNetworkAccess,omitempty"`
	// InboundIPRules - This can be used to restrict traffic from specific IPs instead of all IPs. Note: These are considered only if PublicNetworkAccess is enabled.
	InboundIPRules *[]InboundIPRule `json:"inboundIpRules,omitempty"`
	// DisableLocalAuth - This boolean is used to enable or disable local auth. Default value is false. When the property is set to true, only AAD token will be used to authenticate if user is allowed to publish to the topic.
	DisableLocalAuth *bool `json:"disableLocalAuth,omitempty"`
	// DataResidencyBoundary - Data Residency Boundary of the resource. Possible values include: 'DataResidencyBoundaryWithinGeopair', 'DataResidencyBoundaryWithinRegion'
	DataResidencyBoundary DataResidencyBoundary `json:"dataResidencyBoundary,omitempty"`
}

TopicProperties properties of the Topic.

func (TopicProperties) MarshalJSON

func (tp TopicProperties) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for TopicProperties.

func (*TopicProperties) UnmarshalJSON

func (tp *TopicProperties) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for TopicProperties struct.

type TopicProvisioningState

type TopicProvisioningState string

TopicProvisioningState enumerates the values for topic provisioning state.

const (
	// TopicProvisioningStateCanceled ...
	TopicProvisioningStateCanceled TopicProvisioningState = "Canceled"
	// TopicProvisioningStateCreating ...
	TopicProvisioningStateCreating TopicProvisioningState = "Creating"
	// TopicProvisioningStateDeleting ...
	TopicProvisioningStateDeleting TopicProvisioningState = "Deleting"
	// TopicProvisioningStateFailed ...
	TopicProvisioningStateFailed TopicProvisioningState = "Failed"
	// TopicProvisioningStateSucceeded ...
	TopicProvisioningStateSucceeded TopicProvisioningState = "Succeeded"
	// TopicProvisioningStateUpdating ...
	TopicProvisioningStateUpdating TopicProvisioningState = "Updating"
)

func PossibleTopicProvisioningStateValues

func PossibleTopicProvisioningStateValues() []TopicProvisioningState

PossibleTopicProvisioningStateValues returns an array of possible values for the TopicProvisioningState const type.

type TopicRegenerateKeyRequest

type TopicRegenerateKeyRequest struct {
	// KeyName - Key name to regenerate key1 or key2
	KeyName *string `json:"keyName,omitempty"`
}

TopicRegenerateKeyRequest topic regenerate share access key request

type TopicSharedAccessKeys

type TopicSharedAccessKeys struct {
	autorest.Response `json:"-"`
	// Key1 - Shared access key1 for the topic.
	Key1 *string `json:"key1,omitempty"`
	// Key2 - Shared access key2 for the topic.
	Key2 *string `json:"key2,omitempty"`
}

TopicSharedAccessKeys shared access keys of the Topic

type TopicTypeInfo

type TopicTypeInfo struct {
	autorest.Response `json:"-"`
	// TopicTypeProperties - Properties of the topic type info
	*TopicTypeProperties `json:"properties,omitempty"`
	// ID - READ-ONLY; Fully qualified identifier of the resource.
	ID *string `json:"id,omitempty"`
	// Name - READ-ONLY; Name of the resource.
	Name *string `json:"name,omitempty"`
	// Type - READ-ONLY; Type of the resource.
	Type *string `json:"type,omitempty"`
}

TopicTypeInfo properties of a topic type info.

func (TopicTypeInfo) MarshalJSON

func (tti TopicTypeInfo) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for TopicTypeInfo.

func (*TopicTypeInfo) UnmarshalJSON

func (tti *TopicTypeInfo) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for TopicTypeInfo struct.

type TopicTypeProperties

type TopicTypeProperties struct {
	// Provider - Namespace of the provider of the topic type.
	Provider *string `json:"provider,omitempty"`
	// DisplayName - Display Name for the topic type.
	DisplayName *string `json:"displayName,omitempty"`
	// Description - Description of the topic type.
	Description *string `json:"description,omitempty"`
	// ResourceRegionType - Region type of the resource. Possible values include: 'ResourceRegionTypeRegionalResource', 'ResourceRegionTypeGlobalResource'
	ResourceRegionType ResourceRegionType `json:"resourceRegionType,omitempty"`
	// ProvisioningState - Provisioning state of the topic type. Possible values include: 'TopicTypeProvisioningStateCreating', 'TopicTypeProvisioningStateUpdating', 'TopicTypeProvisioningStateDeleting', 'TopicTypeProvisioningStateSucceeded', 'TopicTypeProvisioningStateCanceled', 'TopicTypeProvisioningStateFailed'
	ProvisioningState TopicTypeProvisioningState `json:"provisioningState,omitempty"`
	// SupportedLocations - List of locations supported by this topic type.
	SupportedLocations *[]string `json:"supportedLocations,omitempty"`
	// SourceResourceFormat - Source resource format.
	SourceResourceFormat *string `json:"sourceResourceFormat,omitempty"`
	// SupportedScopesForSource - Supported source scopes.
	SupportedScopesForSource *[]string `json:"supportedScopesForSource,omitempty"`
}

TopicTypeProperties properties of a topic type.

type TopicTypeProvisioningState

type TopicTypeProvisioningState string

TopicTypeProvisioningState enumerates the values for topic type provisioning state.

const (
	// TopicTypeProvisioningStateCanceled ...
	TopicTypeProvisioningStateCanceled TopicTypeProvisioningState = "Canceled"
	// TopicTypeProvisioningStateCreating ...
	TopicTypeProvisioningStateCreating TopicTypeProvisioningState = "Creating"
	// TopicTypeProvisioningStateDeleting ...
	TopicTypeProvisioningStateDeleting TopicTypeProvisioningState = "Deleting"
	// TopicTypeProvisioningStateFailed ...
	TopicTypeProvisioningStateFailed TopicTypeProvisioningState = "Failed"
	// TopicTypeProvisioningStateSucceeded ...
	TopicTypeProvisioningStateSucceeded TopicTypeProvisioningState = "Succeeded"
	// TopicTypeProvisioningStateUpdating ...
	TopicTypeProvisioningStateUpdating TopicTypeProvisioningState = "Updating"
)

func PossibleTopicTypeProvisioningStateValues

func PossibleTopicTypeProvisioningStateValues() []TopicTypeProvisioningState

PossibleTopicTypeProvisioningStateValues returns an array of possible values for the TopicTypeProvisioningState const type.

type TopicTypesClient

type TopicTypesClient struct {
	BaseClient
}

TopicTypesClient is the azure EventGrid Management Client

func NewTopicTypesClient

func NewTopicTypesClient(subscriptionID string) TopicTypesClient

NewTopicTypesClient creates an instance of the TopicTypesClient client.

func NewTopicTypesClientWithBaseURI

func NewTopicTypesClientWithBaseURI(baseURI string, subscriptionID string) TopicTypesClient

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

func (TopicTypesClient) Get

func (client TopicTypesClient) Get(ctx context.Context, topicTypeName string) (result TopicTypeInfo, err error)

Get get information about a topic type. Parameters: topicTypeName - name of the topic type.

func (TopicTypesClient) GetPreparer

func (client TopicTypesClient) GetPreparer(ctx context.Context, topicTypeName string) (*http.Request, error)

GetPreparer prepares the Get request.

func (TopicTypesClient) GetResponder

func (client TopicTypesClient) GetResponder(resp *http.Response) (result TopicTypeInfo, err error)

GetResponder handles the response to the Get request. The method always closes the http.Response Body.

func (TopicTypesClient) GetSender

func (client TopicTypesClient) GetSender(req *http.Request) (*http.Response, error)

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

func (TopicTypesClient) List

func (client TopicTypesClient) List(ctx context.Context) (result TopicTypesListResult, err error)

List list all registered topic types.

func (TopicTypesClient) ListEventTypes

func (client TopicTypesClient) ListEventTypes(ctx context.Context, topicTypeName string) (result EventTypesListResult, err error)

ListEventTypes list event types for a topic type. Parameters: topicTypeName - name of the topic type.

func (TopicTypesClient) ListEventTypesPreparer

func (client TopicTypesClient) ListEventTypesPreparer(ctx context.Context, topicTypeName string) (*http.Request, error)

ListEventTypesPreparer prepares the ListEventTypes request.

func (TopicTypesClient) ListEventTypesResponder

func (client TopicTypesClient) ListEventTypesResponder(resp *http.Response) (result EventTypesListResult, err error)

ListEventTypesResponder handles the response to the ListEventTypes request. The method always closes the http.Response Body.

func (TopicTypesClient) ListEventTypesSender

func (client TopicTypesClient) ListEventTypesSender(req *http.Request) (*http.Response, error)

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

func (TopicTypesClient) ListPreparer

func (client TopicTypesClient) ListPreparer(ctx context.Context) (*http.Request, error)

ListPreparer prepares the List request.

func (TopicTypesClient) ListResponder

func (client TopicTypesClient) ListResponder(resp *http.Response) (result TopicTypesListResult, err error)

ListResponder handles the response to the List request. The method always closes the http.Response Body.

func (TopicTypesClient) ListSender

func (client TopicTypesClient) ListSender(req *http.Request) (*http.Response, error)

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

type TopicTypesListResult

type TopicTypesListResult struct {
	autorest.Response `json:"-"`
	// Value - A collection of topic types
	Value *[]TopicTypeInfo `json:"value,omitempty"`
}

TopicTypesListResult result of the List Topic Types operation

type TopicUpdateParameterProperties

type TopicUpdateParameterProperties struct {
	// PublicNetworkAccess - This determines if traffic is allowed over public network. By default it is enabled.
	// You can further restrict to specific IPs by configuring <seealso cref="P:Microsoft.Azure.Events.ResourceProvider.Common.Contracts.TopicUpdateParameterProperties.InboundIpRules" />. Possible values include: 'PublicNetworkAccessEnabled', 'PublicNetworkAccessDisabled'
	PublicNetworkAccess PublicNetworkAccess `json:"publicNetworkAccess,omitempty"`
	// InboundIPRules - This can be used to restrict traffic from specific IPs instead of all IPs. Note: These are considered only if PublicNetworkAccess is enabled.
	InboundIPRules *[]InboundIPRule `json:"inboundIpRules,omitempty"`
	// DisableLocalAuth - This boolean is used to enable or disable local auth. Default value is false. When the property is set to true, only AAD token will be used to authenticate if user is allowed to publish to the topic.
	DisableLocalAuth *bool `json:"disableLocalAuth,omitempty"`
	// DataResidencyBoundary - The data residency boundary for the topic. Possible values include: 'DataResidencyBoundaryWithinGeopair', 'DataResidencyBoundaryWithinRegion'
	DataResidencyBoundary DataResidencyBoundary `json:"dataResidencyBoundary,omitempty"`
}

TopicUpdateParameterProperties information of topic update parameter properties.

type TopicUpdateParameters

type TopicUpdateParameters struct {
	// Tags - Tags of the Topic resource.
	Tags map[string]*string `json:"tags"`
	// Identity - Topic resource identity information.
	Identity *IdentityInfo `json:"identity,omitempty"`
	// TopicUpdateParameterProperties - Properties of the Topic resource.
	*TopicUpdateParameterProperties `json:"properties,omitempty"`
	// Sku - The Sku pricing tier for the topic.
	Sku *ResourceSku `json:"sku,omitempty"`
}

TopicUpdateParameters properties of the Topic update

func (TopicUpdateParameters) MarshalJSON

func (tup TopicUpdateParameters) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for TopicUpdateParameters.

func (*TopicUpdateParameters) UnmarshalJSON

func (tup *TopicUpdateParameters) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for TopicUpdateParameters struct.

type TopicsClient

type TopicsClient struct {
	BaseClient
}

TopicsClient is the azure EventGrid Management Client

func NewTopicsClient

func NewTopicsClient(subscriptionID string) TopicsClient

NewTopicsClient creates an instance of the TopicsClient client.

func NewTopicsClientWithBaseURI

func NewTopicsClientWithBaseURI(baseURI string, subscriptionID string) TopicsClient

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

func (TopicsClient) CreateOrUpdate

func (client TopicsClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, topicName string, topicInfo Topic) (result TopicsCreateOrUpdateFuture, err error)

CreateOrUpdate asynchronously creates a new topic with the specified parameters. Parameters: resourceGroupName - the name of the resource group within the user's subscription. topicName - name of the topic. topicInfo - topic information.

func (TopicsClient) CreateOrUpdatePreparer

func (client TopicsClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, topicName string, topicInfo Topic) (*http.Request, error)

CreateOrUpdatePreparer prepares the CreateOrUpdate request.

func (TopicsClient) CreateOrUpdateResponder

func (client TopicsClient) CreateOrUpdateResponder(resp *http.Response) (result Topic, err error)

CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always closes the http.Response Body.

func (TopicsClient) CreateOrUpdateSender

func (client TopicsClient) CreateOrUpdateSender(req *http.Request) (future TopicsCreateOrUpdateFuture, err error)

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

func (TopicsClient) Delete

func (client TopicsClient) Delete(ctx context.Context, resourceGroupName string, topicName string) (result TopicsDeleteFuture, err error)

Delete delete existing topic. Parameters: resourceGroupName - the name of the resource group within the user's subscription. topicName - name of the topic.

func (TopicsClient) DeletePreparer

func (client TopicsClient) DeletePreparer(ctx context.Context, resourceGroupName string, topicName string) (*http.Request, error)

DeletePreparer prepares the Delete request.

func (TopicsClient) DeleteResponder

func (client TopicsClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)

DeleteResponder handles the response to the Delete request. The method always closes the http.Response Body.

func (TopicsClient) DeleteSender

func (client TopicsClient) DeleteSender(req *http.Request) (future TopicsDeleteFuture, err error)

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

func (TopicsClient) Get

func (client TopicsClient) Get(ctx context.Context, resourceGroupName string, topicName string) (result Topic, err error)

Get get properties of a topic. Parameters: resourceGroupName - the name of the resource group within the user's subscription. topicName - name of the topic.

func (TopicsClient) GetPreparer

func (client TopicsClient) GetPreparer(ctx context.Context, resourceGroupName string, topicName string) (*http.Request, error)

GetPreparer prepares the Get request.

func (TopicsClient) GetResponder

func (client TopicsClient) GetResponder(resp *http.Response) (result Topic, err error)

GetResponder handles the response to the Get request. The method always closes the http.Response Body.

func (TopicsClient) GetSender

func (client TopicsClient) GetSender(req *http.Request) (*http.Response, error)

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

func (TopicsClient) ListByResourceGroup

func (client TopicsClient) ListByResourceGroup(ctx context.Context, resourceGroupName string, filter string, top *int32) (result TopicsListResultPage, err error)

ListByResourceGroup list all the topics under a resource group. Parameters: resourceGroupName - the name of the resource group within the user's subscription. filter - the query used to filter the search results using OData syntax. Filtering is permitted on the 'name' property only and with limited number of OData operations. These operations are: the 'contains' function as well as the following logical operations: not, and, or, eq (for equal), and ne (for not equal). No arithmetic operations are supported. The following is a valid filter example: $filter=contains(namE, 'PATTERN') and name ne 'PATTERN-1'. The following is not a valid filter example: $filter=location eq 'westus'. top - the number of results to return per page for the list operation. Valid range for top parameter is 1 to 100. If not specified, the default number of results to be returned is 20 items per page.

func (TopicsClient) ListByResourceGroupComplete

func (client TopicsClient) ListByResourceGroupComplete(ctx context.Context, resourceGroupName string, filter string, top *int32) (result TopicsListResultIterator, err error)

ListByResourceGroupComplete enumerates all values, automatically crossing page boundaries as required.

func (TopicsClient) ListByResourceGroupPreparer

func (client TopicsClient) ListByResourceGroupPreparer(ctx context.Context, resourceGroupName string, filter string, top *int32) (*http.Request, error)

ListByResourceGroupPreparer prepares the ListByResourceGroup request.

func (TopicsClient) ListByResourceGroupResponder

func (client TopicsClient) ListByResourceGroupResponder(resp *http.Response) (result TopicsListResult, err error)

ListByResourceGroupResponder handles the response to the ListByResourceGroup request. The method always closes the http.Response Body.

func (TopicsClient) ListByResourceGroupSender

func (client TopicsClient) ListByResourceGroupSender(req *http.Request) (*http.Response, error)

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

func (TopicsClient) ListBySubscription

func (client TopicsClient) ListBySubscription(ctx context.Context, filter string, top *int32) (result TopicsListResultPage, err error)

ListBySubscription list all the topics under an Azure subscription. Parameters: filter - the query used to filter the search results using OData syntax. Filtering is permitted on the 'name' property only and with limited number of OData operations. These operations are: the 'contains' function as well as the following logical operations: not, and, or, eq (for equal), and ne (for not equal). No arithmetic operations are supported. The following is a valid filter example: $filter=contains(namE, 'PATTERN') and name ne 'PATTERN-1'. The following is not a valid filter example: $filter=location eq 'westus'. top - the number of results to return per page for the list operation. Valid range for top parameter is 1 to 100. If not specified, the default number of results to be returned is 20 items per page.

func (TopicsClient) ListBySubscriptionComplete

func (client TopicsClient) ListBySubscriptionComplete(ctx context.Context, filter string, top *int32) (result TopicsListResultIterator, err error)

ListBySubscriptionComplete enumerates all values, automatically crossing page boundaries as required.

func (TopicsClient) ListBySubscriptionPreparer

func (client TopicsClient) ListBySubscriptionPreparer(ctx context.Context, filter string, top *int32) (*http.Request, error)

ListBySubscriptionPreparer prepares the ListBySubscription request.

func (TopicsClient) ListBySubscriptionResponder

func (client TopicsClient) ListBySubscriptionResponder(resp *http.Response) (result TopicsListResult, err error)

ListBySubscriptionResponder handles the response to the ListBySubscription request. The method always closes the http.Response Body.

func (TopicsClient) ListBySubscriptionSender

func (client TopicsClient) ListBySubscriptionSender(req *http.Request) (*http.Response, error)

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

func (TopicsClient) ListEventTypes

func (client TopicsClient) ListEventTypes(ctx context.Context, resourceGroupName string, providerNamespace string, resourceTypeName string, resourceName string) (result EventTypesListResult, err error)

ListEventTypes list event types for a topic. Parameters: resourceGroupName - the name of the resource group within the user's subscription. providerNamespace - namespace of the provider of the topic. resourceTypeName - name of the topic type. resourceName - name of the topic.

func (TopicsClient) ListEventTypesPreparer

func (client TopicsClient) ListEventTypesPreparer(ctx context.Context, resourceGroupName string, providerNamespace string, resourceTypeName string, resourceName string) (*http.Request, error)

ListEventTypesPreparer prepares the ListEventTypes request.

func (TopicsClient) ListEventTypesResponder

func (client TopicsClient) ListEventTypesResponder(resp *http.Response) (result EventTypesListResult, err error)

ListEventTypesResponder handles the response to the ListEventTypes request. The method always closes the http.Response Body.

func (TopicsClient) ListEventTypesSender

func (client TopicsClient) ListEventTypesSender(req *http.Request) (*http.Response, error)

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

func (TopicsClient) ListSharedAccessKeys

func (client TopicsClient) ListSharedAccessKeys(ctx context.Context, resourceGroupName string, topicName string) (result TopicSharedAccessKeys, err error)

ListSharedAccessKeys list the two keys used to publish to a topic. Parameters: resourceGroupName - the name of the resource group within the user's subscription. topicName - name of the topic.

func (TopicsClient) ListSharedAccessKeysPreparer

func (client TopicsClient) ListSharedAccessKeysPreparer(ctx context.Context, resourceGroupName string, topicName string) (*http.Request, error)

ListSharedAccessKeysPreparer prepares the ListSharedAccessKeys request.

func (TopicsClient) ListSharedAccessKeysResponder

func (client TopicsClient) ListSharedAccessKeysResponder(resp *http.Response) (result TopicSharedAccessKeys, err error)

ListSharedAccessKeysResponder handles the response to the ListSharedAccessKeys request. The method always closes the http.Response Body.

func (TopicsClient) ListSharedAccessKeysSender

func (client TopicsClient) ListSharedAccessKeysSender(req *http.Request) (*http.Response, error)

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

func (TopicsClient) RegenerateKey

func (client TopicsClient) RegenerateKey(ctx context.Context, resourceGroupName string, topicName string, regenerateKeyRequest TopicRegenerateKeyRequest) (result TopicsRegenerateKeyFuture, err error)

RegenerateKey regenerate a shared access key for a topic. Parameters: resourceGroupName - the name of the resource group within the user's subscription. topicName - name of the topic. regenerateKeyRequest - request body to regenerate key.

func (TopicsClient) RegenerateKeyPreparer

func (client TopicsClient) RegenerateKeyPreparer(ctx context.Context, resourceGroupName string, topicName string, regenerateKeyRequest TopicRegenerateKeyRequest) (*http.Request, error)

RegenerateKeyPreparer prepares the RegenerateKey request.

func (TopicsClient) RegenerateKeyResponder

func (client TopicsClient) RegenerateKeyResponder(resp *http.Response) (result TopicSharedAccessKeys, err error)

RegenerateKeyResponder handles the response to the RegenerateKey request. The method always closes the http.Response Body.

func (TopicsClient) RegenerateKeySender

func (client TopicsClient) RegenerateKeySender(req *http.Request) (future TopicsRegenerateKeyFuture, err error)

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

func (TopicsClient) Update

func (client TopicsClient) Update(ctx context.Context, resourceGroupName string, topicName string, topicUpdateParameters TopicUpdateParameters) (result TopicsUpdateFuture, err error)

Update asynchronously updates a topic with the specified parameters. Parameters: resourceGroupName - the name of the resource group within the user's subscription. topicName - name of the topic. topicUpdateParameters - topic update information.

func (TopicsClient) UpdatePreparer

func (client TopicsClient) UpdatePreparer(ctx context.Context, resourceGroupName string, topicName string, topicUpdateParameters TopicUpdateParameters) (*http.Request, error)

UpdatePreparer prepares the Update request.

func (TopicsClient) UpdateResponder

func (client TopicsClient) UpdateResponder(resp *http.Response) (result Topic, err error)

UpdateResponder handles the response to the Update request. The method always closes the http.Response Body.

func (TopicsClient) UpdateSender

func (client TopicsClient) UpdateSender(req *http.Request) (future TopicsUpdateFuture, err error)

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

type TopicsCreateOrUpdateFuture

type TopicsCreateOrUpdateFuture struct {
	azure.FutureAPI
	// Result returns the result of the asynchronous operation.
	// If the operation has not completed it will return an error.
	Result func(TopicsClient) (Topic, error)
}

TopicsCreateOrUpdateFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*TopicsCreateOrUpdateFuture) UnmarshalJSON

func (future *TopicsCreateOrUpdateFuture) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type TopicsDeleteFuture

type TopicsDeleteFuture struct {
	azure.FutureAPI
	// Result returns the result of the asynchronous operation.
	// If the operation has not completed it will return an error.
	Result func(TopicsClient) (autorest.Response, error)
}

TopicsDeleteFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*TopicsDeleteFuture) UnmarshalJSON

func (future *TopicsDeleteFuture) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type TopicsListResult

type TopicsListResult struct {
	autorest.Response `json:"-"`
	// Value - A collection of Topics
	Value *[]Topic `json:"value,omitempty"`
	// NextLink - A link for the next page of topics
	NextLink *string `json:"nextLink,omitempty"`
}

TopicsListResult result of the List Topics operation

func (TopicsListResult) IsEmpty

func (tlr TopicsListResult) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type TopicsListResultIterator

type TopicsListResultIterator struct {
	// contains filtered or unexported fields
}

TopicsListResultIterator provides access to a complete listing of Topic values.

func NewTopicsListResultIterator

func NewTopicsListResultIterator(page TopicsListResultPage) TopicsListResultIterator

Creates a new instance of the TopicsListResultIterator type.

func (*TopicsListResultIterator) Next

func (iter *TopicsListResultIterator) Next() error

Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*TopicsListResultIterator) NextWithContext

func (iter *TopicsListResultIterator) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.

func (TopicsListResultIterator) NotDone

func (iter TopicsListResultIterator) NotDone() bool

NotDone returns true if the enumeration should be started or is not yet complete.

func (TopicsListResultIterator) Response

Response returns the raw server response from the last page request.

func (TopicsListResultIterator) Value

func (iter TopicsListResultIterator) Value() Topic

Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.

type TopicsListResultPage

type TopicsListResultPage struct {
	// contains filtered or unexported fields
}

TopicsListResultPage contains a page of Topic values.

func NewTopicsListResultPage

func NewTopicsListResultPage(cur TopicsListResult, getNextPage func(context.Context, TopicsListResult) (TopicsListResult, error)) TopicsListResultPage

Creates a new instance of the TopicsListResultPage type.

func (*TopicsListResultPage) Next

func (page *TopicsListResultPage) Next() error

Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*TopicsListResultPage) NextWithContext

func (page *TopicsListResultPage) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.

func (TopicsListResultPage) NotDone

func (page TopicsListResultPage) NotDone() bool

NotDone returns true if the page enumeration should be started or is not yet complete.

func (TopicsListResultPage) Response

func (page TopicsListResultPage) Response() TopicsListResult

Response returns the raw server response from the last page request.

func (TopicsListResultPage) Values

func (page TopicsListResultPage) Values() []Topic

Values returns the slice of values for the current page or nil if there are no values.

type TopicsRegenerateKeyFuture

type TopicsRegenerateKeyFuture struct {
	azure.FutureAPI
	// Result returns the result of the asynchronous operation.
	// If the operation has not completed it will return an error.
	Result func(TopicsClient) (TopicSharedAccessKeys, error)
}

TopicsRegenerateKeyFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*TopicsRegenerateKeyFuture) UnmarshalJSON

func (future *TopicsRegenerateKeyFuture) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type TopicsUpdateFuture

type TopicsUpdateFuture struct {
	azure.FutureAPI
	// Result returns the result of the asynchronous operation.
	// If the operation has not completed it will return an error.
	Result func(TopicsClient) (Topic, error)
}

TopicsUpdateFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*TopicsUpdateFuture) UnmarshalJSON

func (future *TopicsUpdateFuture) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type TrackedResource

type TrackedResource struct {
	// Location - Location of the resource.
	Location *string `json:"location,omitempty"`
	// Tags - Tags of the resource.
	Tags map[string]*string `json:"tags"`
	// ID - READ-ONLY; Fully qualified identifier of the resource.
	ID *string `json:"id,omitempty"`
	// Name - READ-ONLY; Name of the resource.
	Name *string `json:"name,omitempty"`
	// Type - READ-ONLY; Type of the resource.
	Type *string `json:"type,omitempty"`
}

TrackedResource definition of a Tracked Resource.

func (TrackedResource) MarshalJSON

func (tr TrackedResource) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for TrackedResource.

type Type

type Type string

Type enumerates the values for type.

const (
	// TypeDeliveryAttributeMapping ...
	TypeDeliveryAttributeMapping Type = "DeliveryAttributeMapping"
	// TypeDynamic ...
	TypeDynamic Type = "Dynamic"
	// TypeStatic ...
	TypeStatic Type = "Static"
)

func PossibleTypeValues

func PossibleTypeValues() []Type

PossibleTypeValues returns an array of possible values for the Type const type.

type UserIdentityProperties

type UserIdentityProperties struct {
	// PrincipalID - The principal id of user assigned identity.
	PrincipalID *string `json:"principalId,omitempty"`
	// ClientID - The client id of user assigned identity.
	ClientID *string `json:"clientId,omitempty"`
}

UserIdentityProperties the information about the user identity.

type VerifiedPartner

type VerifiedPartner struct {
	autorest.Response `json:"-"`
	// VerifiedPartnerProperties - Properties of the verified partner.
	*VerifiedPartnerProperties `json:"properties,omitempty"`
	// SystemData - READ-ONLY; The system metadata relating to Verified Partner resource.
	SystemData *SystemData `json:"systemData,omitempty"`
	// ID - READ-ONLY; Fully qualified identifier of the resource.
	ID *string `json:"id,omitempty"`
	// Name - READ-ONLY; Name of the resource.
	Name *string `json:"name,omitempty"`
	// Type - READ-ONLY; Type of the resource.
	Type *string `json:"type,omitempty"`
}

VerifiedPartner verified partner information

func (VerifiedPartner) MarshalJSON

func (vp VerifiedPartner) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for VerifiedPartner.

func (*VerifiedPartner) UnmarshalJSON

func (vp *VerifiedPartner) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for VerifiedPartner struct.

type VerifiedPartnerProperties

type VerifiedPartnerProperties struct {
	// PartnerRegistrationImmutableID - ImmutableId of the corresponding partner registration.
	PartnerRegistrationImmutableID *uuid.UUID `json:"partnerRegistrationImmutableId,omitempty"`
	// OrganizationName - Official name of the Partner.
	OrganizationName *string `json:"organizationName,omitempty"`
	// PartnerDisplayName - Display name of the verified partner.
	PartnerDisplayName *string `json:"partnerDisplayName,omitempty"`
	// PartnerTopicDetails - Details of the partner topic scenario.
	PartnerTopicDetails *PartnerDetails `json:"partnerTopicDetails,omitempty"`
	// PartnerDestinationDetails - Details of the partner destination scenario.
	PartnerDestinationDetails *PartnerDetails `json:"partnerDestinationDetails,omitempty"`
	// ProvisioningState - Provisioning state of the verified partner. Possible values include: 'VerifiedPartnerProvisioningStateCreating', 'VerifiedPartnerProvisioningStateUpdating', 'VerifiedPartnerProvisioningStateDeleting', 'VerifiedPartnerProvisioningStateSucceeded', 'VerifiedPartnerProvisioningStateCanceled', 'VerifiedPartnerProvisioningStateFailed'
	ProvisioningState VerifiedPartnerProvisioningState `json:"provisioningState,omitempty"`
}

VerifiedPartnerProperties properties of the verified partner.

type VerifiedPartnerProvisioningState

type VerifiedPartnerProvisioningState string

VerifiedPartnerProvisioningState enumerates the values for verified partner provisioning state.

const (
	// VerifiedPartnerProvisioningStateCanceled ...
	VerifiedPartnerProvisioningStateCanceled VerifiedPartnerProvisioningState = "Canceled"
	// VerifiedPartnerProvisioningStateCreating ...
	VerifiedPartnerProvisioningStateCreating VerifiedPartnerProvisioningState = "Creating"
	// VerifiedPartnerProvisioningStateDeleting ...
	VerifiedPartnerProvisioningStateDeleting VerifiedPartnerProvisioningState = "Deleting"
	// VerifiedPartnerProvisioningStateFailed ...
	VerifiedPartnerProvisioningStateFailed VerifiedPartnerProvisioningState = "Failed"
	// VerifiedPartnerProvisioningStateSucceeded ...
	VerifiedPartnerProvisioningStateSucceeded VerifiedPartnerProvisioningState = "Succeeded"
	// VerifiedPartnerProvisioningStateUpdating ...
	VerifiedPartnerProvisioningStateUpdating VerifiedPartnerProvisioningState = "Updating"
)

func PossibleVerifiedPartnerProvisioningStateValues

func PossibleVerifiedPartnerProvisioningStateValues() []VerifiedPartnerProvisioningState

PossibleVerifiedPartnerProvisioningStateValues returns an array of possible values for the VerifiedPartnerProvisioningState const type.

type VerifiedPartnersClient

type VerifiedPartnersClient struct {
	BaseClient
}

VerifiedPartnersClient is the azure EventGrid Management Client

func NewVerifiedPartnersClient

func NewVerifiedPartnersClient(subscriptionID string) VerifiedPartnersClient

NewVerifiedPartnersClient creates an instance of the VerifiedPartnersClient client.

func NewVerifiedPartnersClientWithBaseURI

func NewVerifiedPartnersClientWithBaseURI(baseURI string, subscriptionID string) VerifiedPartnersClient

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

func (VerifiedPartnersClient) Get

func (client VerifiedPartnersClient) Get(ctx context.Context, verifiedPartnerName string) (result VerifiedPartner, err error)

Get get properties of a verified partner. Parameters: verifiedPartnerName - name of the verified partner.

func (VerifiedPartnersClient) GetPreparer

func (client VerifiedPartnersClient) GetPreparer(ctx context.Context, verifiedPartnerName string) (*http.Request, error)

GetPreparer prepares the Get request.

func (VerifiedPartnersClient) GetResponder

func (client VerifiedPartnersClient) GetResponder(resp *http.Response) (result VerifiedPartner, err error)

GetResponder handles the response to the Get request. The method always closes the http.Response Body.

func (VerifiedPartnersClient) GetSender

func (client VerifiedPartnersClient) GetSender(req *http.Request) (*http.Response, error)

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

func (VerifiedPartnersClient) List

func (client VerifiedPartnersClient) List(ctx context.Context, filter string, top *int32) (result VerifiedPartnersListResultPage, err error)

List get a list of all verified partners. Parameters: filter - the query used to filter the search results using OData syntax. Filtering is permitted on the 'name' property only and with limited number of OData operations. These operations are: the 'contains' function as well as the following logical operations: not, and, or, eq (for equal), and ne (for not equal). No arithmetic operations are supported. The following is a valid filter example: $filter=contains(namE, 'PATTERN') and name ne 'PATTERN-1'. The following is not a valid filter example: $filter=location eq 'westus'. top - the number of results to return per page for the list operation. Valid range for top parameter is 1 to 100. If not specified, the default number of results to be returned is 20 items per page.

func (VerifiedPartnersClient) ListComplete

func (client VerifiedPartnersClient) ListComplete(ctx context.Context, filter string, top *int32) (result VerifiedPartnersListResultIterator, err error)

ListComplete enumerates all values, automatically crossing page boundaries as required.

func (VerifiedPartnersClient) ListPreparer

func (client VerifiedPartnersClient) ListPreparer(ctx context.Context, filter string, top *int32) (*http.Request, error)

ListPreparer prepares the List request.

func (VerifiedPartnersClient) ListResponder

func (client VerifiedPartnersClient) ListResponder(resp *http.Response) (result VerifiedPartnersListResult, err error)

ListResponder handles the response to the List request. The method always closes the http.Response Body.

func (VerifiedPartnersClient) ListSender

func (client VerifiedPartnersClient) ListSender(req *http.Request) (*http.Response, error)

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

type VerifiedPartnersListResult

type VerifiedPartnersListResult struct {
	autorest.Response `json:"-"`
	// Value - A collection of verified partners.
	Value *[]VerifiedPartner `json:"value,omitempty"`
	// NextLink - A link for the next page of verified partners if any.
	NextLink *string `json:"nextLink,omitempty"`
}

VerifiedPartnersListResult result of the List verified partners operation

func (VerifiedPartnersListResult) IsEmpty

func (vplr VerifiedPartnersListResult) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type VerifiedPartnersListResultIterator

type VerifiedPartnersListResultIterator struct {
	// contains filtered or unexported fields
}

VerifiedPartnersListResultIterator provides access to a complete listing of VerifiedPartner values.

func NewVerifiedPartnersListResultIterator

func NewVerifiedPartnersListResultIterator(page VerifiedPartnersListResultPage) VerifiedPartnersListResultIterator

Creates a new instance of the VerifiedPartnersListResultIterator type.

func (*VerifiedPartnersListResultIterator) Next

Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*VerifiedPartnersListResultIterator) NextWithContext

func (iter *VerifiedPartnersListResultIterator) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.

func (VerifiedPartnersListResultIterator) NotDone

NotDone returns true if the enumeration should be started or is not yet complete.

func (VerifiedPartnersListResultIterator) Response

Response returns the raw server response from the last page request.

func (VerifiedPartnersListResultIterator) Value

Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.

type VerifiedPartnersListResultPage

type VerifiedPartnersListResultPage struct {
	// contains filtered or unexported fields
}

VerifiedPartnersListResultPage contains a page of VerifiedPartner values.

func NewVerifiedPartnersListResultPage

Creates a new instance of the VerifiedPartnersListResultPage type.

func (*VerifiedPartnersListResultPage) Next

Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*VerifiedPartnersListResultPage) NextWithContext

func (page *VerifiedPartnersListResultPage) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.

func (VerifiedPartnersListResultPage) NotDone

func (page VerifiedPartnersListResultPage) NotDone() bool

NotDone returns true if the page enumeration should be started or is not yet complete.

func (VerifiedPartnersListResultPage) Response

Response returns the raw server response from the last page request.

func (VerifiedPartnersListResultPage) Values

Values returns the slice of values for the current page or nil if there are no values.

type WebHookEventSubscriptionDestination

type WebHookEventSubscriptionDestination struct {
	// WebHookEventSubscriptionDestinationProperties - WebHook Properties of the event subscription destination.
	*WebHookEventSubscriptionDestinationProperties `json:"properties,omitempty"`
	// EndpointType - Possible values include: 'EndpointTypeBasicEventSubscriptionDestinationEndpointTypeEventSubscriptionDestination', 'EndpointTypeBasicEventSubscriptionDestinationEndpointTypeWebHook', 'EndpointTypeBasicEventSubscriptionDestinationEndpointTypeEventHub', 'EndpointTypeBasicEventSubscriptionDestinationEndpointTypeStorageQueue', 'EndpointTypeBasicEventSubscriptionDestinationEndpointTypeHybridConnection', 'EndpointTypeBasicEventSubscriptionDestinationEndpointTypeServiceBusQueue', 'EndpointTypeBasicEventSubscriptionDestinationEndpointTypeServiceBusTopic', 'EndpointTypeBasicEventSubscriptionDestinationEndpointTypeAzureFunction', 'EndpointTypeBasicEventSubscriptionDestinationEndpointTypePartnerDestination'
	EndpointType EndpointTypeBasicEventSubscriptionDestination `json:"endpointType,omitempty"`
}

WebHookEventSubscriptionDestination information about the webhook destination for an event subscription.

func (WebHookEventSubscriptionDestination) AsAzureFunctionEventSubscriptionDestination

func (whesd WebHookEventSubscriptionDestination) AsAzureFunctionEventSubscriptionDestination() (*AzureFunctionEventSubscriptionDestination, bool)

AsAzureFunctionEventSubscriptionDestination is the BasicEventSubscriptionDestination implementation for WebHookEventSubscriptionDestination.

func (WebHookEventSubscriptionDestination) AsBasicEventSubscriptionDestination

func (whesd WebHookEventSubscriptionDestination) AsBasicEventSubscriptionDestination() (BasicEventSubscriptionDestination, bool)

AsBasicEventSubscriptionDestination is the BasicEventSubscriptionDestination implementation for WebHookEventSubscriptionDestination.

func (WebHookEventSubscriptionDestination) AsEventHubEventSubscriptionDestination

func (whesd WebHookEventSubscriptionDestination) AsEventHubEventSubscriptionDestination() (*EventHubEventSubscriptionDestination, bool)

AsEventHubEventSubscriptionDestination is the BasicEventSubscriptionDestination implementation for WebHookEventSubscriptionDestination.

func (WebHookEventSubscriptionDestination) AsEventSubscriptionDestination

func (whesd WebHookEventSubscriptionDestination) AsEventSubscriptionDestination() (*EventSubscriptionDestination, bool)

AsEventSubscriptionDestination is the BasicEventSubscriptionDestination implementation for WebHookEventSubscriptionDestination.

func (WebHookEventSubscriptionDestination) AsHybridConnectionEventSubscriptionDestination

func (whesd WebHookEventSubscriptionDestination) AsHybridConnectionEventSubscriptionDestination() (*HybridConnectionEventSubscriptionDestination, bool)

AsHybridConnectionEventSubscriptionDestination is the BasicEventSubscriptionDestination implementation for WebHookEventSubscriptionDestination.

func (WebHookEventSubscriptionDestination) AsPartnerEventSubscriptionDestination

func (whesd WebHookEventSubscriptionDestination) AsPartnerEventSubscriptionDestination() (*PartnerEventSubscriptionDestination, bool)

AsPartnerEventSubscriptionDestination is the BasicEventSubscriptionDestination implementation for WebHookEventSubscriptionDestination.

func (WebHookEventSubscriptionDestination) AsServiceBusQueueEventSubscriptionDestination

func (whesd WebHookEventSubscriptionDestination) AsServiceBusQueueEventSubscriptionDestination() (*ServiceBusQueueEventSubscriptionDestination, bool)

AsServiceBusQueueEventSubscriptionDestination is the BasicEventSubscriptionDestination implementation for WebHookEventSubscriptionDestination.

func (WebHookEventSubscriptionDestination) AsServiceBusTopicEventSubscriptionDestination

func (whesd WebHookEventSubscriptionDestination) AsServiceBusTopicEventSubscriptionDestination() (*ServiceBusTopicEventSubscriptionDestination, bool)

AsServiceBusTopicEventSubscriptionDestination is the BasicEventSubscriptionDestination implementation for WebHookEventSubscriptionDestination.

func (WebHookEventSubscriptionDestination) AsStorageQueueEventSubscriptionDestination

func (whesd WebHookEventSubscriptionDestination) AsStorageQueueEventSubscriptionDestination() (*StorageQueueEventSubscriptionDestination, bool)

AsStorageQueueEventSubscriptionDestination is the BasicEventSubscriptionDestination implementation for WebHookEventSubscriptionDestination.

func (WebHookEventSubscriptionDestination) AsWebHookEventSubscriptionDestination

func (whesd WebHookEventSubscriptionDestination) AsWebHookEventSubscriptionDestination() (*WebHookEventSubscriptionDestination, bool)

AsWebHookEventSubscriptionDestination is the BasicEventSubscriptionDestination implementation for WebHookEventSubscriptionDestination.

func (WebHookEventSubscriptionDestination) MarshalJSON

func (whesd WebHookEventSubscriptionDestination) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for WebHookEventSubscriptionDestination.

func (*WebHookEventSubscriptionDestination) UnmarshalJSON

func (whesd *WebHookEventSubscriptionDestination) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for WebHookEventSubscriptionDestination struct.

type WebHookEventSubscriptionDestinationProperties

type WebHookEventSubscriptionDestinationProperties struct {
	// EndpointURL - The URL that represents the endpoint of the destination of an event subscription.
	EndpointURL *string `json:"endpointUrl,omitempty"`
	// EndpointBaseURL - READ-ONLY; The base URL that represents the endpoint of the destination of an event subscription.
	EndpointBaseURL *string `json:"endpointBaseUrl,omitempty"`
	// MaxEventsPerBatch - Maximum number of events per batch.
	MaxEventsPerBatch *int32 `json:"maxEventsPerBatch,omitempty"`
	// PreferredBatchSizeInKilobytes - Preferred batch size in Kilobytes.
	PreferredBatchSizeInKilobytes *int32 `json:"preferredBatchSizeInKilobytes,omitempty"`
	// AzureActiveDirectoryTenantID - The Azure Active Directory Tenant ID to get the access token that will be included as the bearer token in delivery requests.
	AzureActiveDirectoryTenantID *string `json:"azureActiveDirectoryTenantId,omitempty"`
	// AzureActiveDirectoryApplicationIDOrURI - The Azure Active Directory Application ID or URI to get the access token that will be included as the bearer token in delivery requests.
	AzureActiveDirectoryApplicationIDOrURI *string `json:"azureActiveDirectoryApplicationIdOrUri,omitempty"`
	// DeliveryAttributeMappings - Delivery attribute details.
	DeliveryAttributeMappings *[]BasicDeliveryAttributeMapping `json:"deliveryAttributeMappings,omitempty"`
}

WebHookEventSubscriptionDestinationProperties information about the webhook destination properties for an event subscription.

func (WebHookEventSubscriptionDestinationProperties) MarshalJSON

func (whesdp WebHookEventSubscriptionDestinationProperties) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for WebHookEventSubscriptionDestinationProperties.

func (*WebHookEventSubscriptionDestinationProperties) UnmarshalJSON

func (whesdp *WebHookEventSubscriptionDestinationProperties) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for WebHookEventSubscriptionDestinationProperties struct.

type WebhookPartnerDestinationInfo

type WebhookPartnerDestinationInfo struct {
	// WebhookPartnerDestinationProperties - WebHook Properties of the partner destination.
	*WebhookPartnerDestinationProperties `json:"properties,omitempty"`
	// AzureSubscriptionID - Azure subscription ID of the subscriber. The partner destination associated with the channel will be
	// created under this Azure subscription.
	AzureSubscriptionID *string `json:"azureSubscriptionId,omitempty"`
	// ResourceGroupName - Azure Resource Group of the subscriber. The partner destination associated with the channel will be
	// created under this resource group.
	ResourceGroupName *string `json:"resourceGroupName,omitempty"`
	// Name - Name of the partner destination associated with the channel.
	Name *string `json:"name,omitempty"`
	// EndpointServiceContext - Additional context of the partner destination endpoint.
	EndpointServiceContext *string `json:"endpointServiceContext,omitempty"`
	// ResourceMoveChangeHistory - Change history of the resource move.
	ResourceMoveChangeHistory *[]ResourceMoveChangeHistory `json:"resourceMoveChangeHistory,omitempty"`
	// EndpointType - Possible values include: 'EndpointTypePartnerDestinationInfo', 'EndpointTypeWebHook'
	EndpointType EndpointType `json:"endpointType,omitempty"`
}

WebhookPartnerDestinationInfo information about the WebHook of the partner destination.

func (WebhookPartnerDestinationInfo) AsBasicPartnerDestinationInfo

func (wpdi WebhookPartnerDestinationInfo) AsBasicPartnerDestinationInfo() (BasicPartnerDestinationInfo, bool)

AsBasicPartnerDestinationInfo is the BasicPartnerDestinationInfo implementation for WebhookPartnerDestinationInfo.

func (WebhookPartnerDestinationInfo) AsPartnerDestinationInfo

func (wpdi WebhookPartnerDestinationInfo) AsPartnerDestinationInfo() (*PartnerDestinationInfo, bool)

AsPartnerDestinationInfo is the BasicPartnerDestinationInfo implementation for WebhookPartnerDestinationInfo.

func (WebhookPartnerDestinationInfo) AsWebhookPartnerDestinationInfo

func (wpdi WebhookPartnerDestinationInfo) AsWebhookPartnerDestinationInfo() (*WebhookPartnerDestinationInfo, bool)

AsWebhookPartnerDestinationInfo is the BasicPartnerDestinationInfo implementation for WebhookPartnerDestinationInfo.

func (WebhookPartnerDestinationInfo) MarshalJSON

func (wpdi WebhookPartnerDestinationInfo) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for WebhookPartnerDestinationInfo.

func (*WebhookPartnerDestinationInfo) UnmarshalJSON

func (wpdi *WebhookPartnerDestinationInfo) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for WebhookPartnerDestinationInfo struct.

type WebhookPartnerDestinationProperties

type WebhookPartnerDestinationProperties struct {
	// EndpointURL - The URL that represents the endpoint of the partner destination.
	EndpointURL *string `json:"endpointUrl,omitempty"`
	// EndpointBaseURL - The base URL that represents the endpoint of the partner destination.
	EndpointBaseURL      *string                          `json:"endpointBaseUrl,omitempty"`
	ClientAuthentication BasicPartnerClientAuthentication `json:"clientAuthentication,omitempty"`
}

WebhookPartnerDestinationProperties properties of a partner destination webhook.

func (*WebhookPartnerDestinationProperties) UnmarshalJSON

func (wpdp *WebhookPartnerDestinationProperties) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for WebhookPartnerDestinationProperties struct.

type WebhookUpdatePartnerDestinationInfo

type WebhookUpdatePartnerDestinationInfo struct {
	// WebhookPartnerDestinationProperties - WebHook Properties of the partner destination.
	*WebhookPartnerDestinationProperties `json:"properties,omitempty"`
	// EndpointType - Possible values include: 'EndpointTypeBasicPartnerUpdateDestinationInfoEndpointTypePartnerUpdateDestinationInfo', 'EndpointTypeBasicPartnerUpdateDestinationInfoEndpointTypeWebHook'
	EndpointType EndpointTypeBasicPartnerUpdateDestinationInfo `json:"endpointType,omitempty"`
}

WebhookUpdatePartnerDestinationInfo information about the update of the WebHook of the partner destination.

func (WebhookUpdatePartnerDestinationInfo) AsBasicPartnerUpdateDestinationInfo

func (wupdi WebhookUpdatePartnerDestinationInfo) AsBasicPartnerUpdateDestinationInfo() (BasicPartnerUpdateDestinationInfo, bool)

AsBasicPartnerUpdateDestinationInfo is the BasicPartnerUpdateDestinationInfo implementation for WebhookUpdatePartnerDestinationInfo.

func (WebhookUpdatePartnerDestinationInfo) AsPartnerUpdateDestinationInfo

func (wupdi WebhookUpdatePartnerDestinationInfo) AsPartnerUpdateDestinationInfo() (*PartnerUpdateDestinationInfo, bool)

AsPartnerUpdateDestinationInfo is the BasicPartnerUpdateDestinationInfo implementation for WebhookUpdatePartnerDestinationInfo.

func (WebhookUpdatePartnerDestinationInfo) AsWebhookUpdatePartnerDestinationInfo

func (wupdi WebhookUpdatePartnerDestinationInfo) AsWebhookUpdatePartnerDestinationInfo() (*WebhookUpdatePartnerDestinationInfo, bool)

AsWebhookUpdatePartnerDestinationInfo is the BasicPartnerUpdateDestinationInfo implementation for WebhookUpdatePartnerDestinationInfo.

func (WebhookUpdatePartnerDestinationInfo) MarshalJSON

func (wupdi WebhookUpdatePartnerDestinationInfo) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for WebhookUpdatePartnerDestinationInfo.

func (*WebhookUpdatePartnerDestinationInfo) UnmarshalJSON

func (wupdi *WebhookUpdatePartnerDestinationInfo) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for WebhookUpdatePartnerDestinationInfo struct.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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