azure-sdk-for-go: github.com/Azure/azure-sdk-for-go/services/preview/eventgrid/mgmt/2020-04-01-preview/eventgrid Index | Files | Directories

package eventgrid

import "github.com/Azure/azure-sdk-for-go/services/preview/eventgrid/mgmt/2020-04-01-preview/eventgrid"

Package eventgrid implements the Azure ARM Eventgrid service API version 2020-04-01-preview.

Azure EventGrid Management Client

Index

Package Files

client.go domains.go domaintopics.go enums.go eventchannels.go eventsubscriptions.go extensiontopics.go models.go operations.go partnernamespaces.go partnerregistrations.go partnertopiceventsubscriptions.go partnertopics.go privateendpointconnections.go privatelinkresources.go systemtopiceventsubscriptions.go systemtopics.go topics.go topictypes.go version.go

Constants

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

func UserAgent Uses

func UserAgent() string

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

func Version Uses

func Version() string

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

type AdvancedFilter Uses

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'
    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 Uses

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

AsAdvancedFilter is the BasicAdvancedFilter implementation for AdvancedFilter.

func (AdvancedFilter) AsBasicAdvancedFilter Uses

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

AsBasicAdvancedFilter is the BasicAdvancedFilter implementation for AdvancedFilter.

func (AdvancedFilter) AsBoolEqualsAdvancedFilter Uses

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

AsBoolEqualsAdvancedFilter is the BasicAdvancedFilter implementation for AdvancedFilter.

func (AdvancedFilter) AsNumberGreaterThanAdvancedFilter Uses

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

AsNumberGreaterThanAdvancedFilter is the BasicAdvancedFilter implementation for AdvancedFilter.

func (AdvancedFilter) AsNumberGreaterThanOrEqualsAdvancedFilter Uses

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

AsNumberGreaterThanOrEqualsAdvancedFilter is the BasicAdvancedFilter implementation for AdvancedFilter.

func (AdvancedFilter) AsNumberInAdvancedFilter Uses

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

AsNumberInAdvancedFilter is the BasicAdvancedFilter implementation for AdvancedFilter.

func (AdvancedFilter) AsNumberLessThanAdvancedFilter Uses

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

AsNumberLessThanAdvancedFilter is the BasicAdvancedFilter implementation for AdvancedFilter.

func (AdvancedFilter) AsNumberLessThanOrEqualsAdvancedFilter Uses

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

AsNumberLessThanOrEqualsAdvancedFilter is the BasicAdvancedFilter implementation for AdvancedFilter.

func (AdvancedFilter) AsNumberNotInAdvancedFilter Uses

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

AsNumberNotInAdvancedFilter is the BasicAdvancedFilter implementation for AdvancedFilter.

func (AdvancedFilter) AsStringBeginsWithAdvancedFilter Uses

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

AsStringBeginsWithAdvancedFilter is the BasicAdvancedFilter implementation for AdvancedFilter.

func (AdvancedFilter) AsStringContainsAdvancedFilter Uses

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

AsStringContainsAdvancedFilter is the BasicAdvancedFilter implementation for AdvancedFilter.

func (AdvancedFilter) AsStringEndsWithAdvancedFilter Uses

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

AsStringEndsWithAdvancedFilter is the BasicAdvancedFilter implementation for AdvancedFilter.

func (AdvancedFilter) AsStringInAdvancedFilter Uses

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

AsStringInAdvancedFilter is the BasicAdvancedFilter implementation for AdvancedFilter.

func (AdvancedFilter) AsStringNotInAdvancedFilter Uses

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

AsStringNotInAdvancedFilter is the BasicAdvancedFilter implementation for AdvancedFilter.

func (AdvancedFilter) MarshalJSON Uses

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

MarshalJSON is the custom marshaler for AdvancedFilter.

type AzureFunctionEventSubscriptionDestination Uses

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

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

func (AzureFunctionEventSubscriptionDestination) AsAzureFunctionEventSubscriptionDestination Uses

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

AsAzureFunctionEventSubscriptionDestination is the BasicEventSubscriptionDestination implementation for AzureFunctionEventSubscriptionDestination.

func (AzureFunctionEventSubscriptionDestination) AsBasicEventSubscriptionDestination Uses

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

AsBasicEventSubscriptionDestination is the BasicEventSubscriptionDestination implementation for AzureFunctionEventSubscriptionDestination.

func (AzureFunctionEventSubscriptionDestination) AsEventHubEventSubscriptionDestination Uses

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

AsEventHubEventSubscriptionDestination is the BasicEventSubscriptionDestination implementation for AzureFunctionEventSubscriptionDestination.

func (AzureFunctionEventSubscriptionDestination) AsEventSubscriptionDestination Uses

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

AsEventSubscriptionDestination is the BasicEventSubscriptionDestination implementation for AzureFunctionEventSubscriptionDestination.

func (AzureFunctionEventSubscriptionDestination) AsHybridConnectionEventSubscriptionDestination Uses

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

AsHybridConnectionEventSubscriptionDestination is the BasicEventSubscriptionDestination implementation for AzureFunctionEventSubscriptionDestination.

func (AzureFunctionEventSubscriptionDestination) AsServiceBusQueueEventSubscriptionDestination Uses

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

AsServiceBusQueueEventSubscriptionDestination is the BasicEventSubscriptionDestination implementation for AzureFunctionEventSubscriptionDestination.

func (AzureFunctionEventSubscriptionDestination) AsServiceBusTopicEventSubscriptionDestination Uses

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

AsServiceBusTopicEventSubscriptionDestination is the BasicEventSubscriptionDestination implementation for AzureFunctionEventSubscriptionDestination.

func (AzureFunctionEventSubscriptionDestination) AsStorageQueueEventSubscriptionDestination Uses

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

AsStorageQueueEventSubscriptionDestination is the BasicEventSubscriptionDestination implementation for AzureFunctionEventSubscriptionDestination.

func (AzureFunctionEventSubscriptionDestination) AsWebHookEventSubscriptionDestination Uses

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

AsWebHookEventSubscriptionDestination is the BasicEventSubscriptionDestination implementation for AzureFunctionEventSubscriptionDestination.

func (AzureFunctionEventSubscriptionDestination) MarshalJSON Uses

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

MarshalJSON is the custom marshaler for AzureFunctionEventSubscriptionDestination.

func (*AzureFunctionEventSubscriptionDestination) UnmarshalJSON Uses

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

UnmarshalJSON is the custom unmarshaler for AzureFunctionEventSubscriptionDestination struct.

type AzureFunctionEventSubscriptionDestinationProperties Uses

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

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

type BaseClient Uses

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

BaseClient is the base client for Eventgrid.

func New Uses

func New(subscriptionID string) BaseClient

New creates an instance of the BaseClient client.

func NewWithBaseURI Uses

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 Uses

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)
    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 Uses

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 BasicEventSubscriptionDestination Uses

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

BasicEventSubscriptionDestination information about the destination for an event subscription.

type BasicInputSchemaMapping Uses

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

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

type BoolEqualsAdvancedFilter Uses

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'
    OperatorType OperatorType `json:"operatorType,omitempty"`
}

BoolEqualsAdvancedFilter boolEquals Advanced Filter.

func (BoolEqualsAdvancedFilter) AsAdvancedFilter Uses

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

AsAdvancedFilter is the BasicAdvancedFilter implementation for BoolEqualsAdvancedFilter.

func (BoolEqualsAdvancedFilter) AsBasicAdvancedFilter Uses

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

AsBasicAdvancedFilter is the BasicAdvancedFilter implementation for BoolEqualsAdvancedFilter.

func (BoolEqualsAdvancedFilter) AsBoolEqualsAdvancedFilter Uses

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

AsBoolEqualsAdvancedFilter is the BasicAdvancedFilter implementation for BoolEqualsAdvancedFilter.

func (BoolEqualsAdvancedFilter) AsNumberGreaterThanAdvancedFilter Uses

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

AsNumberGreaterThanAdvancedFilter is the BasicAdvancedFilter implementation for BoolEqualsAdvancedFilter.

func (BoolEqualsAdvancedFilter) AsNumberGreaterThanOrEqualsAdvancedFilter Uses

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

AsNumberGreaterThanOrEqualsAdvancedFilter is the BasicAdvancedFilter implementation for BoolEqualsAdvancedFilter.

func (BoolEqualsAdvancedFilter) AsNumberInAdvancedFilter Uses

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

AsNumberInAdvancedFilter is the BasicAdvancedFilter implementation for BoolEqualsAdvancedFilter.

func (BoolEqualsAdvancedFilter) AsNumberLessThanAdvancedFilter Uses

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

AsNumberLessThanAdvancedFilter is the BasicAdvancedFilter implementation for BoolEqualsAdvancedFilter.

func (BoolEqualsAdvancedFilter) AsNumberLessThanOrEqualsAdvancedFilter Uses

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

AsNumberLessThanOrEqualsAdvancedFilter is the BasicAdvancedFilter implementation for BoolEqualsAdvancedFilter.

func (BoolEqualsAdvancedFilter) AsNumberNotInAdvancedFilter Uses

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

AsNumberNotInAdvancedFilter is the BasicAdvancedFilter implementation for BoolEqualsAdvancedFilter.

func (BoolEqualsAdvancedFilter) AsStringBeginsWithAdvancedFilter Uses

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

AsStringBeginsWithAdvancedFilter is the BasicAdvancedFilter implementation for BoolEqualsAdvancedFilter.

func (BoolEqualsAdvancedFilter) AsStringContainsAdvancedFilter Uses

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

AsStringContainsAdvancedFilter is the BasicAdvancedFilter implementation for BoolEqualsAdvancedFilter.

func (BoolEqualsAdvancedFilter) AsStringEndsWithAdvancedFilter Uses

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

AsStringEndsWithAdvancedFilter is the BasicAdvancedFilter implementation for BoolEqualsAdvancedFilter.

func (BoolEqualsAdvancedFilter) AsStringInAdvancedFilter Uses

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

AsStringInAdvancedFilter is the BasicAdvancedFilter implementation for BoolEqualsAdvancedFilter.

func (BoolEqualsAdvancedFilter) AsStringNotInAdvancedFilter Uses

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

AsStringNotInAdvancedFilter is the BasicAdvancedFilter implementation for BoolEqualsAdvancedFilter.

func (BoolEqualsAdvancedFilter) MarshalJSON Uses

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

MarshalJSON is the custom marshaler for BoolEqualsAdvancedFilter.

type ConnectionState Uses

type ConnectionState struct {
    // Status - Status of the connection. Possible values include: 'Pending', 'Approved', 'Rejected', 'Disconnected'
    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 DeadLetterDestination Uses

type DeadLetterDestination struct {
    // EndpointType - Possible values include: 'EndpointTypeDeadLetterDestination', 'EndpointTypeStorageBlob'
    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 Uses

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

AsBasicDeadLetterDestination is the BasicDeadLetterDestination implementation for DeadLetterDestination.

func (DeadLetterDestination) AsDeadLetterDestination Uses

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

AsDeadLetterDestination is the BasicDeadLetterDestination implementation for DeadLetterDestination.

func (DeadLetterDestination) AsStorageBlobDeadLetterDestination Uses

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

AsStorageBlobDeadLetterDestination is the BasicDeadLetterDestination implementation for DeadLetterDestination.

func (DeadLetterDestination) MarshalJSON Uses

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

MarshalJSON is the custom marshaler for DeadLetterDestination.

type DeadLetterWithResourceIdentity Uses

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 Uses

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

UnmarshalJSON is the custom unmarshaler for DeadLetterWithResourceIdentity struct.

type DeliveryWithResourceIdentity Uses

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 Uses

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

UnmarshalJSON is the custom unmarshaler for DeliveryWithResourceIdentity struct.

type Domain Uses

type Domain struct {
    autorest.Response `json:"-"`
    // DomainProperties - Properties of the domain.
    *DomainProperties `json:"properties,omitempty"`
    // Sku - The Sku pricing tier for the domain.
    Sku *ResourceSku `json:"sku,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"`
}

Domain eventGrid Domain.

func (Domain) MarshalJSON Uses

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

MarshalJSON is the custom marshaler for Domain.

func (*Domain) UnmarshalJSON Uses

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

UnmarshalJSON is the custom unmarshaler for Domain struct.

type DomainProperties Uses

type DomainProperties struct {
    // PrivateEndpointConnections - List of private endpoint connections.
    PrivateEndpointConnections *[]PrivateEndpointConnection `json:"privateEndpointConnections,omitempty"`
    // ProvisioningState - READ-ONLY; Provisioning state of the domain. Possible values include: 'Creating', 'Updating', 'Deleting', 'Succeeded', 'Canceled', 'Failed'
    ProvisioningState DomainProvisioningState `json:"provisioningState,omitempty"`
    // Endpoint - READ-ONLY; Endpoint for the domain.
    Endpoint *string `json:"endpoint,omitempty"`
    // InputSchema - This determines the format that Event Grid should expect for incoming events published to the domain. 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 domain.
    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: 'Enabled', 'Disabled'
    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"`
}

DomainProperties properties of the Domain.

func (DomainProperties) MarshalJSON Uses

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

MarshalJSON is the custom marshaler for DomainProperties.

func (*DomainProperties) UnmarshalJSON Uses

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

UnmarshalJSON is the custom unmarshaler for DomainProperties struct.

type DomainProvisioningState Uses

type DomainProvisioningState string

DomainProvisioningState enumerates the values for domain provisioning state.

const (
    // Canceled ...
    Canceled DomainProvisioningState = "Canceled"
    // Creating ...
    Creating DomainProvisioningState = "Creating"
    // Deleting ...
    Deleting DomainProvisioningState = "Deleting"
    // Failed ...
    Failed DomainProvisioningState = "Failed"
    // Succeeded ...
    Succeeded DomainProvisioningState = "Succeeded"
    // Updating ...
    Updating DomainProvisioningState = "Updating"
)

func PossibleDomainProvisioningStateValues Uses

func PossibleDomainProvisioningStateValues() []DomainProvisioningState

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

type DomainRegenerateKeyRequest Uses

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 Uses

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 Uses

type DomainTopic struct {
    autorest.Response `json:"-"`
    // DomainTopicProperties - Properties of the Domain Topic.
    *DomainTopicProperties `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"`
}

DomainTopic domain Topic.

func (DomainTopic) MarshalJSON Uses

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

MarshalJSON is the custom marshaler for DomainTopic.

func (*DomainTopic) UnmarshalJSON Uses

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

UnmarshalJSON is the custom unmarshaler for DomainTopic struct.

type DomainTopicProperties Uses

type DomainTopicProperties struct {
    // ProvisioningState - 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.

type DomainTopicProvisioningState Uses

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 Uses

func PossibleDomainTopicProvisioningStateValues() []DomainTopicProvisioningState

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

type DomainTopicsClient Uses

type DomainTopicsClient struct {
    BaseClient
}

DomainTopicsClient is the azure EventGrid Management Client

func NewDomainTopicsClient Uses

func NewDomainTopicsClient(subscriptionID string) DomainTopicsClient

NewDomainTopicsClient creates an instance of the DomainTopicsClient client.

func NewDomainTopicsClientWithBaseURI Uses

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 Uses

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 Uses

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

CreateOrUpdatePreparer prepares the CreateOrUpdate request.

func (DomainTopicsClient) CreateOrUpdateResponder Uses

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 Uses

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 Uses

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 Uses

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

DeletePreparer prepares the Delete request.

func (DomainTopicsClient) DeleteResponder Uses

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 Uses

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 Uses

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 Uses

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

GetPreparer prepares the Get request.

func (DomainTopicsClient) GetResponder Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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.

type DomainTopicsDeleteFuture Uses

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.

type DomainTopicsListResult Uses

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 Uses

func (dtlr DomainTopicsListResult) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type DomainTopicsListResultIterator Uses

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

DomainTopicsListResultIterator provides access to a complete listing of DomainTopic values.

func NewDomainTopicsListResultIterator Uses

func NewDomainTopicsListResultIterator(page DomainTopicsListResultPage) DomainTopicsListResultIterator

Creates a new instance of the DomainTopicsListResultIterator type.

func (*DomainTopicsListResultIterator) Next Uses

func (iter *DomainTopicsListResultIterator) 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 (*DomainTopicsListResultIterator) NextWithContext Uses

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 Uses

func (iter DomainTopicsListResultIterator) NotDone() bool

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

func (DomainTopicsListResultIterator) Response Uses

func (iter DomainTopicsListResultIterator) Response() DomainTopicsListResult

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

func (DomainTopicsListResultIterator) Value Uses

func (iter DomainTopicsListResultIterator) Value() DomainTopic

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

type DomainTopicsListResultPage Uses

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

DomainTopicsListResultPage contains a page of DomainTopic values.

func NewDomainTopicsListResultPage Uses

func NewDomainTopicsListResultPage(cur DomainTopicsListResult, getNextPage func(context.Context, DomainTopicsListResult) (DomainTopicsListResult, error)) DomainTopicsListResultPage

Creates a new instance of the DomainTopicsListResultPage type.

func (*DomainTopicsListResultPage) Next Uses

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 Uses

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 Uses

func (page DomainTopicsListResultPage) NotDone() bool

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

func (DomainTopicsListResultPage) Response Uses

func (page DomainTopicsListResultPage) Response() DomainTopicsListResult

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

func (DomainTopicsListResultPage) Values Uses

func (page DomainTopicsListResultPage) Values() []DomainTopic

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

type DomainUpdateParameterProperties Uses

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: 'Enabled', 'Disabled'
    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"`
}

DomainUpdateParameterProperties information of domain update parameter properties.

type DomainUpdateParameters Uses

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 Uses

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

MarshalJSON is the custom marshaler for DomainUpdateParameters.

func (*DomainUpdateParameters) UnmarshalJSON Uses

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

UnmarshalJSON is the custom unmarshaler for DomainUpdateParameters struct.

type DomainsClient Uses

type DomainsClient struct {
    BaseClient
}

DomainsClient is the azure EventGrid Management Client

func NewDomainsClient Uses

func NewDomainsClient(subscriptionID string) DomainsClient

NewDomainsClient creates an instance of the DomainsClient client.

func NewDomainsClientWithBaseURI Uses

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 Uses

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 Uses

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

CreateOrUpdatePreparer prepares the CreateOrUpdate request.

func (DomainsClient) CreateOrUpdateResponder Uses

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 Uses

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 Uses

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 Uses

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

DeletePreparer prepares the Delete request.

func (DomainsClient) DeleteResponder Uses

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 Uses

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 Uses

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 Uses

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

GetPreparer prepares the Get request.

func (DomainsClient) GetResponder Uses

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 Uses

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 Uses

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 Uses

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 Uses

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

ListByResourceGroupPreparer prepares the ListByResourceGroup request.

func (DomainsClient) ListByResourceGroupResponder Uses

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 Uses

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 Uses

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 Uses

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 Uses

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

ListBySubscriptionPreparer prepares the ListBySubscription request.

func (DomainsClient) ListBySubscriptionResponder Uses

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 Uses

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 Uses

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 Uses

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

ListSharedAccessKeysPreparer prepares the ListSharedAccessKeys request.

func (DomainsClient) ListSharedAccessKeysResponder Uses

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 Uses

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 Uses

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 Uses

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

RegenerateKeyPreparer prepares the RegenerateKey request.

func (DomainsClient) RegenerateKeyResponder Uses

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 Uses

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 Uses

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 Uses

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

UpdatePreparer prepares the Update request.

func (DomainsClient) UpdateResponder Uses

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 Uses

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 Uses

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.

type DomainsDeleteFuture Uses

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.

type DomainsListResult Uses

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 Uses

func (dlr DomainsListResult) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type DomainsListResultIterator Uses

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

DomainsListResultIterator provides access to a complete listing of Domain values.

func NewDomainsListResultIterator Uses

func NewDomainsListResultIterator(page DomainsListResultPage) DomainsListResultIterator

Creates a new instance of the DomainsListResultIterator type.

func (*DomainsListResultIterator) Next Uses

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 Uses

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 Uses

func (iter DomainsListResultIterator) NotDone() bool

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

func (DomainsListResultIterator) Response Uses

func (iter DomainsListResultIterator) Response() DomainsListResult

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

func (DomainsListResultIterator) Value Uses

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 Uses

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

DomainsListResultPage contains a page of Domain values.

func NewDomainsListResultPage Uses

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

Creates a new instance of the DomainsListResultPage type.

func (*DomainsListResultPage) Next Uses

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 Uses

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 Uses

func (page DomainsListResultPage) NotDone() bool

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

func (DomainsListResultPage) Response Uses

func (page DomainsListResultPage) Response() DomainsListResult

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

func (DomainsListResultPage) Values Uses

func (page DomainsListResultPage) Values() []Domain

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

type DomainsUpdateFuture Uses

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.

type EndpointType Uses

type EndpointType string

EndpointType enumerates the values for endpoint type.

const (
    // EndpointTypeAzureFunction ...
    EndpointTypeAzureFunction EndpointType = "AzureFunction"
    // EndpointTypeEventHub ...
    EndpointTypeEventHub EndpointType = "EventHub"
    // EndpointTypeEventSubscriptionDestination ...
    EndpointTypeEventSubscriptionDestination EndpointType = "EventSubscriptionDestination"
    // EndpointTypeHybridConnection ...
    EndpointTypeHybridConnection EndpointType = "HybridConnection"
    // EndpointTypeServiceBusQueue ...
    EndpointTypeServiceBusQueue EndpointType = "ServiceBusQueue"
    // EndpointTypeServiceBusTopic ...
    EndpointTypeServiceBusTopic EndpointType = "ServiceBusTopic"
    // EndpointTypeStorageQueue ...
    EndpointTypeStorageQueue EndpointType = "StorageQueue"
    // EndpointTypeWebHook ...
    EndpointTypeWebHook EndpointType = "WebHook"
)

func PossibleEndpointTypeValues Uses

func PossibleEndpointTypeValues() []EndpointType

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

type EndpointTypeBasicDeadLetterDestination Uses

type EndpointTypeBasicDeadLetterDestination string

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

const (
    // EndpointTypeDeadLetterDestination ...
    EndpointTypeDeadLetterDestination EndpointTypeBasicDeadLetterDestination = "DeadLetterDestination"
    // EndpointTypeStorageBlob ...
    EndpointTypeStorageBlob EndpointTypeBasicDeadLetterDestination = "StorageBlob"
)

func PossibleEndpointTypeBasicDeadLetterDestinationValues Uses

func PossibleEndpointTypeBasicDeadLetterDestinationValues() []EndpointTypeBasicDeadLetterDestination

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

type EventChannel Uses

type EventChannel struct {
    autorest.Response `json:"-"`
    // EventChannelProperties - Properties of the EventChannel.
    *EventChannelProperties `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"`
}

EventChannel event Channel.

func (EventChannel) MarshalJSON Uses

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

MarshalJSON is the custom marshaler for EventChannel.

func (*EventChannel) UnmarshalJSON Uses

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

UnmarshalJSON is the custom unmarshaler for EventChannel struct.

type EventChannelDestination Uses

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 Uses

type EventChannelFilter struct {
    // 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 Uses

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

UnmarshalJSON is the custom unmarshaler for EventChannelFilter struct.

type EventChannelProperties Uses

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: 'NotActivatedByUserYet', 'ActivatedByUser', 'DeactivatedByUser', 'DeletedByUser'
    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 Uses

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

MarshalJSON is the custom marshaler for EventChannelProperties.

type EventChannelProvisioningState Uses

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 Uses

func PossibleEventChannelProvisioningStateValues() []EventChannelProvisioningState

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

type EventChannelSource Uses

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 Uses

type EventChannelsClient struct {
    BaseClient
}

EventChannelsClient is the azure EventGrid Management Client

func NewEventChannelsClient Uses

func NewEventChannelsClient(subscriptionID string) EventChannelsClient

NewEventChannelsClient creates an instance of the EventChannelsClient client.

func NewEventChannelsClientWithBaseURI Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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

DeletePreparer prepares the Delete request.

func (EventChannelsClient) DeleteResponder Uses

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 Uses

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 Uses

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 Uses

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

GetPreparer prepares the Get request.

func (EventChannelsClient) GetResponder Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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.

type EventChannelsListResult Uses

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 Uses

func (eclr EventChannelsListResult) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type EventChannelsListResultIterator Uses

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

EventChannelsListResultIterator provides access to a complete listing of EventChannel values.

func NewEventChannelsListResultIterator Uses

func NewEventChannelsListResultIterator(page EventChannelsListResultPage) EventChannelsListResultIterator

Creates a new instance of the EventChannelsListResultIterator type.

func (*EventChannelsListResultIterator) Next Uses

func (iter *EventChannelsListResultIterator) 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 (*EventChannelsListResultIterator) NextWithContext Uses

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 Uses

func (iter EventChannelsListResultIterator) NotDone() bool

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

func (EventChannelsListResultIterator) Response Uses

func (iter EventChannelsListResultIterator) Response() EventChannelsListResult

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

func (EventChannelsListResultIterator) Value Uses

func (iter EventChannelsListResultIterator) Value() EventChannel

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

type EventChannelsListResultPage Uses

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

EventChannelsListResultPage contains a page of EventChannel values.

func NewEventChannelsListResultPage Uses

func NewEventChannelsListResultPage(cur EventChannelsListResult, getNextPage func(context.Context, EventChannelsListResult) (EventChannelsListResult, error)) EventChannelsListResultPage

Creates a new instance of the EventChannelsListResultPage type.

func (*EventChannelsListResultPage) Next Uses

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 Uses

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 Uses

func (page EventChannelsListResultPage) NotDone() bool

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

func (EventChannelsListResultPage) Response Uses

func (page EventChannelsListResultPage) Response() EventChannelsListResult

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

func (EventChannelsListResultPage) Values Uses

func (page EventChannelsListResultPage) Values() []EventChannel

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

type EventDeliverySchema Uses

type EventDeliverySchema string

EventDeliverySchema enumerates the values for event delivery schema.

const (
    // CloudEventSchemaV10 ...
    CloudEventSchemaV10 EventDeliverySchema = "CloudEventSchemaV1_0"
    // CustomInputSchema ...
    CustomInputSchema EventDeliverySchema = "CustomInputSchema"
    // EventGridSchema ...
    EventGridSchema EventDeliverySchema = "EventGridSchema"
)

func PossibleEventDeliverySchemaValues Uses

func PossibleEventDeliverySchemaValues() []EventDeliverySchema

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

type EventHubEventSubscriptionDestination Uses

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

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

func (EventHubEventSubscriptionDestination) AsAzureFunctionEventSubscriptionDestination Uses

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

AsAzureFunctionEventSubscriptionDestination is the BasicEventSubscriptionDestination implementation for EventHubEventSubscriptionDestination.

func (EventHubEventSubscriptionDestination) AsBasicEventSubscriptionDestination Uses

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

AsBasicEventSubscriptionDestination is the BasicEventSubscriptionDestination implementation for EventHubEventSubscriptionDestination.

func (EventHubEventSubscriptionDestination) AsEventHubEventSubscriptionDestination Uses

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

AsEventHubEventSubscriptionDestination is the BasicEventSubscriptionDestination implementation for EventHubEventSubscriptionDestination.

func (EventHubEventSubscriptionDestination) AsEventSubscriptionDestination Uses

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

AsEventSubscriptionDestination is the BasicEventSubscriptionDestination implementation for EventHubEventSubscriptionDestination.

func (EventHubEventSubscriptionDestination) AsHybridConnectionEventSubscriptionDestination Uses

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

AsHybridConnectionEventSubscriptionDestination is the BasicEventSubscriptionDestination implementation for EventHubEventSubscriptionDestination.

func (EventHubEventSubscriptionDestination) AsServiceBusQueueEventSubscriptionDestination Uses

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

AsServiceBusQueueEventSubscriptionDestination is the BasicEventSubscriptionDestination implementation for EventHubEventSubscriptionDestination.

func (EventHubEventSubscriptionDestination) AsServiceBusTopicEventSubscriptionDestination Uses

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

AsServiceBusTopicEventSubscriptionDestination is the BasicEventSubscriptionDestination implementation for EventHubEventSubscriptionDestination.

func (EventHubEventSubscriptionDestination) AsStorageQueueEventSubscriptionDestination Uses

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

AsStorageQueueEventSubscriptionDestination is the BasicEventSubscriptionDestination implementation for EventHubEventSubscriptionDestination.

func (EventHubEventSubscriptionDestination) AsWebHookEventSubscriptionDestination Uses

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

AsWebHookEventSubscriptionDestination is the BasicEventSubscriptionDestination implementation for EventHubEventSubscriptionDestination.

func (EventHubEventSubscriptionDestination) MarshalJSON Uses

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

MarshalJSON is the custom marshaler for EventHubEventSubscriptionDestination.

func (*EventHubEventSubscriptionDestination) UnmarshalJSON Uses

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

UnmarshalJSON is the custom unmarshaler for EventHubEventSubscriptionDestination struct.

type EventHubEventSubscriptionDestinationProperties Uses

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

EventHubEventSubscriptionDestinationProperties the properties for a event hub destination.

type EventSubscription Uses

type EventSubscription struct {
    autorest.Response `json:"-"`
    // EventSubscriptionProperties - Properties of the event subscription.
    *EventSubscriptionProperties `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"`
}

EventSubscription event Subscription

func (EventSubscription) MarshalJSON Uses

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

MarshalJSON is the custom marshaler for EventSubscription.

func (*EventSubscription) UnmarshalJSON Uses

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

UnmarshalJSON is the custom unmarshaler for EventSubscription struct.

type EventSubscriptionDestination Uses

type EventSubscriptionDestination struct {
    // EndpointType - Possible values include: 'EndpointTypeEventSubscriptionDestination', 'EndpointTypeWebHook', 'EndpointTypeEventHub', 'EndpointTypeStorageQueue', 'EndpointTypeHybridConnection', 'EndpointTypeServiceBusQueue', 'EndpointTypeServiceBusTopic', 'EndpointTypeAzureFunction'
    EndpointType EndpointType `json:"endpointType,omitempty"`
}

EventSubscriptionDestination information about the destination for an event subscription.

func (EventSubscriptionDestination) AsAzureFunctionEventSubscriptionDestination Uses

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

AsAzureFunctionEventSubscriptionDestination is the BasicEventSubscriptionDestination implementation for EventSubscriptionDestination.

func (EventSubscriptionDestination) AsBasicEventSubscriptionDestination Uses

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

AsBasicEventSubscriptionDestination is the BasicEventSubscriptionDestination implementation for EventSubscriptionDestination.

func (EventSubscriptionDestination) AsEventHubEventSubscriptionDestination Uses

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

AsEventHubEventSubscriptionDestination is the BasicEventSubscriptionDestination implementation for EventSubscriptionDestination.

func (EventSubscriptionDestination) AsEventSubscriptionDestination Uses

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

AsEventSubscriptionDestination is the BasicEventSubscriptionDestination implementation for EventSubscriptionDestination.

func (EventSubscriptionDestination) AsHybridConnectionEventSubscriptionDestination Uses

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

AsHybridConnectionEventSubscriptionDestination is the BasicEventSubscriptionDestination implementation for EventSubscriptionDestination.

func (EventSubscriptionDestination) AsServiceBusQueueEventSubscriptionDestination Uses

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

AsServiceBusQueueEventSubscriptionDestination is the BasicEventSubscriptionDestination implementation for EventSubscriptionDestination.

func (EventSubscriptionDestination) AsServiceBusTopicEventSubscriptionDestination Uses

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

AsServiceBusTopicEventSubscriptionDestination is the BasicEventSubscriptionDestination implementation for EventSubscriptionDestination.

func (EventSubscriptionDestination) AsStorageQueueEventSubscriptionDestination Uses

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

AsStorageQueueEventSubscriptionDestination is the BasicEventSubscriptionDestination implementation for EventSubscriptionDestination.

func (EventSubscriptionDestination) AsWebHookEventSubscriptionDestination Uses

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

AsWebHookEventSubscriptionDestination is the BasicEventSubscriptionDestination implementation for EventSubscriptionDestination.

func (EventSubscriptionDestination) MarshalJSON Uses

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

MarshalJSON is the custom marshaler for EventSubscriptionDestination.

type EventSubscriptionFilter Uses

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"`
    // 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 Uses

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

UnmarshalJSON is the custom unmarshaler for EventSubscriptionFilter struct.

type EventSubscriptionFullURL Uses

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 Uses

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: 'SystemAssigned', 'UserAssigned'
    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 Uses

type EventSubscriptionIdentityType string

EventSubscriptionIdentityType enumerates the values for event subscription identity type.

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

func PossibleEventSubscriptionIdentityTypeValues Uses

func PossibleEventSubscriptionIdentityTypeValues() []EventSubscriptionIdentityType

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

type EventSubscriptionProperties Uses

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: 'EventGridSchema', 'CustomInputSchema', 'CloudEventSchemaV10'
    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 Uses

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

MarshalJSON is the custom marshaler for EventSubscriptionProperties.

func (*EventSubscriptionProperties) UnmarshalJSON Uses

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

UnmarshalJSON is the custom unmarshaler for EventSubscriptionProperties struct.

type EventSubscriptionProvisioningState Uses

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 Uses

func PossibleEventSubscriptionProvisioningStateValues() []EventSubscriptionProvisioningState

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

type EventSubscriptionUpdateParameters Uses

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: 'EventGridSchema', 'CustomInputSchema', 'CloudEventSchemaV10'
    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 Uses

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

UnmarshalJSON is the custom unmarshaler for EventSubscriptionUpdateParameters struct.

type EventSubscriptionsClient Uses

type EventSubscriptionsClient struct {
    BaseClient
}

EventSubscriptionsClient is the azure EventGrid Management Client

func NewEventSubscriptionsClient Uses

func NewEventSubscriptionsClient(subscriptionID string) EventSubscriptionsClient

NewEventSubscriptionsClient creates an instance of the EventSubscriptionsClient client.

func NewEventSubscriptionsClientWithBaseURI Uses

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 Uses

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 Uses

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

CreateOrUpdatePreparer prepares the CreateOrUpdate request.

func (EventSubscriptionsClient) CreateOrUpdateResponder Uses

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 Uses

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 Uses

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 Uses

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

DeletePreparer prepares the Delete request.

func (EventSubscriptionsClient) DeleteResponder Uses

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 Uses

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 Uses

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) GetFullURL Uses

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 Uses

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

GetFullURLPreparer prepares the GetFullURL request.

func (EventSubscriptionsClient) GetFullURLResponder Uses

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 Uses

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 Uses

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

GetPreparer prepares the Get request.

func (EventSubscriptionsClient) GetResponder Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 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 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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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

ListGlobalByResourceGroupPreparer prepares the ListGlobalByResourceGroup request.

func (EventSubscriptionsClient) ListGlobalByResourceGroupResponder Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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

ListGlobalBySubscriptionForTopicTypePreparer prepares the ListGlobalBySubscriptionForTopicType request.

func (EventSubscriptionsClient) ListGlobalBySubscriptionForTopicTypeResponder Uses

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 Uses

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 Uses

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

ListGlobalBySubscriptionPreparer prepares the ListGlobalBySubscription request.

func (EventSubscriptionsClient) ListGlobalBySubscriptionResponder Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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

ListRegionalBySubscriptionPreparer prepares the ListRegionalBySubscription request.

func (EventSubscriptionsClient) ListRegionalBySubscriptionResponder Uses

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 Uses

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 Uses

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 Uses

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

UpdatePreparer prepares the Update request.

func (EventSubscriptionsClient) UpdateResponder Uses

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 Uses

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 Uses

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.

type EventSubscriptionsDeleteFuture Uses

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.

type EventSubscriptionsListResult Uses

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 Uses

func (eslr EventSubscriptionsListResult) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type EventSubscriptionsListResultIterator Uses

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

EventSubscriptionsListResultIterator provides access to a complete listing of EventSubscription values.

func NewEventSubscriptionsListResultIterator Uses

func NewEventSubscriptionsListResultIterator(page EventSubscriptionsListResultPage) EventSubscriptionsListResultIterator

Creates a new instance of the EventSubscriptionsListResultIterator type.

func (*EventSubscriptionsListResultIterator) Next Uses

func (iter *EventSubscriptionsListResultIterator) 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 (*EventSubscriptionsListResultIterator) NextWithContext Uses

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 Uses

func (iter EventSubscriptionsListResultIterator) NotDone() bool

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

func (EventSubscriptionsListResultIterator) Response Uses

func (iter EventSubscriptionsListResultIterator) Response() EventSubscriptionsListResult

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

func (EventSubscriptionsListResultIterator) Value Uses

func (iter EventSubscriptionsListResultIterator) Value() EventSubscription

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

type EventSubscriptionsListResultPage Uses

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

EventSubscriptionsListResultPage contains a page of EventSubscription values.

func NewEventSubscriptionsListResultPage Uses

func NewEventSubscriptionsListResultPage(cur EventSubscriptionsListResult, getNextPage func(context.Context, EventSubscriptionsListResult) (EventSubscriptionsListResult, error)) EventSubscriptionsListResultPage

Creates a new instance of the EventSubscriptionsListResultPage type.

func (*EventSubscriptionsListResultPage) Next Uses

func (page *EventSubscriptionsListResultPage) 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 (*EventSubscriptionsListResultPage) NextWithContext Uses

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 Uses

func (page EventSubscriptionsListResultPage) NotDone() bool

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

func (EventSubscriptionsListResultPage) Response Uses

func (page EventSubscriptionsListResultPage) Response() EventSubscriptionsListResult

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

func (EventSubscriptionsListResultPage) Values Uses

func (page EventSubscriptionsListResultPage) Values() []EventSubscription

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

type EventSubscriptionsUpdateFuture Uses

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.

type EventType Uses

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 Uses

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

MarshalJSON is the custom marshaler for EventType.

func (*EventType) UnmarshalJSON Uses

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

UnmarshalJSON is the custom unmarshaler for EventType struct.

type EventTypeProperties Uses

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 Uses

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 ExtensionTopic Uses

type ExtensionTopic struct {
    autorest.Response `json:"-"`
    // ExtensionTopicProperties - Properties of the extension topic
    *ExtensionTopicProperties `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"`
}

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

func (ExtensionTopic) MarshalJSON Uses

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

MarshalJSON is the custom marshaler for ExtensionTopic.

func (*ExtensionTopic) UnmarshalJSON Uses

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

UnmarshalJSON is the custom unmarshaler for ExtensionTopic struct.

type ExtensionTopicProperties Uses

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 Uses

type ExtensionTopicsClient struct {
    BaseClient
}

ExtensionTopicsClient is the azure EventGrid Management Client

func NewExtensionTopicsClient Uses

func NewExtensionTopicsClient(subscriptionID string) ExtensionTopicsClient

NewExtensionTopicsClient creates an instance of the ExtensionTopicsClient client.

func NewExtensionTopicsClientWithBaseURI Uses

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 Uses

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 Uses

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

GetPreparer prepares the Get request.

func (ExtensionTopicsClient) GetResponder Uses

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 Uses

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 Uses

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

HybridConnectionEventSubscriptionDestination information about the HybridConnection destination for an event subscription.

func (HybridConnectionEventSubscriptionDestination) AsAzureFunctionEventSubscriptionDestination Uses

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

AsAzureFunctionEventSubscriptionDestination is the BasicEventSubscriptionDestination implementation for HybridConnectionEventSubscriptionDestination.

func (HybridConnectionEventSubscriptionDestination) AsBasicEventSubscriptionDestination Uses

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

AsBasicEventSubscriptionDestination is the BasicEventSubscriptionDestination implementation for HybridConnectionEventSubscriptionDestination.

func (HybridConnectionEventSubscriptionDestination) AsEventHubEventSubscriptionDestination Uses

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

AsEventHubEventSubscriptionDestination is the BasicEventSubscriptionDestination implementation for HybridConnectionEventSubscriptionDestination.

func (HybridConnectionEventSubscriptionDestination) AsEventSubscriptionDestination Uses

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

AsEventSubscriptionDestination is the BasicEventSubscriptionDestination implementation for HybridConnectionEventSubscriptionDestination.

func (HybridConnectionEventSubscriptionDestination) AsHybridConnectionEventSubscriptionDestination Uses

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

AsHybridConnectionEventSubscriptionDestination is the BasicEventSubscriptionDestination implementation for HybridConnectionEventSubscriptionDestination.

func (HybridConnectionEventSubscriptionDestination) AsServiceBusQueueEventSubscriptionDestination Uses

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

AsServiceBusQueueEventSubscriptionDestination is the BasicEventSubscriptionDestination implementation for HybridConnectionEventSubscriptionDestination.

func (HybridConnectionEventSubscriptionDestination) AsServiceBusTopicEventSubscriptionDestination Uses

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

AsServiceBusTopicEventSubscriptionDestination is the BasicEventSubscriptionDestination implementation for HybridConnectionEventSubscriptionDestination.

func (HybridConnectionEventSubscriptionDestination) AsStorageQueueEventSubscriptionDestination Uses

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

AsStorageQueueEventSubscriptionDestination is the BasicEventSubscriptionDestination implementation for HybridConnectionEventSubscriptionDestination.

func (HybridConnectionEventSubscriptionDestination) AsWebHookEventSubscriptionDestination Uses

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

AsWebHookEventSubscriptionDestination is the BasicEventSubscriptionDestination implementation for HybridConnectionEventSubscriptionDestination.

func (HybridConnectionEventSubscriptionDestination) MarshalJSON Uses

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

MarshalJSON is the custom marshaler for HybridConnectionEventSubscriptionDestination.

func (*HybridConnectionEventSubscriptionDestination) UnmarshalJSON Uses

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

UnmarshalJSON is the custom unmarshaler for HybridConnectionEventSubscriptionDestination struct.

type HybridConnectionEventSubscriptionDestinationProperties Uses

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

HybridConnectionEventSubscriptionDestinationProperties the properties for a hybrid connection destination.

type IPActionType Uses

type IPActionType string

IPActionType enumerates the values for ip action type.

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

func PossibleIPActionTypeValues Uses

func PossibleIPActionTypeValues() []IPActionType

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

type IdentityInfo Uses

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 Uses

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

MarshalJSON is the custom marshaler for IdentityInfo.

type IdentityType Uses

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 Uses

func PossibleIdentityTypeValues() []IdentityType

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

type InboundIPRule Uses

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: 'Allow'
    Action IPActionType `json:"action,omitempty"`
}

InboundIPRule ...

type InputSchema Uses

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 Uses

func PossibleInputSchemaValues() []InputSchema

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

type InputSchemaMapping Uses

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 Uses

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

AsBasicInputSchemaMapping is the BasicInputSchemaMapping implementation for InputSchemaMapping.

func (InputSchemaMapping) AsInputSchemaMapping Uses

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

AsInputSchemaMapping is the BasicInputSchemaMapping implementation for InputSchemaMapping.

func (InputSchemaMapping) AsJSONInputSchemaMapping Uses

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

AsJSONInputSchemaMapping is the BasicInputSchemaMapping implementation for InputSchemaMapping.

func (InputSchemaMapping) MarshalJSON Uses

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

MarshalJSON is the custom marshaler for InputSchemaMapping.

type InputSchemaMappingType Uses

type InputSchemaMappingType string

InputSchemaMappingType enumerates the values for input schema mapping type.

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

func PossibleInputSchemaMappingTypeValues Uses

func PossibleInputSchemaMappingTypeValues() []InputSchemaMappingType

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

type JSONField Uses

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 Uses

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 Uses

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 Uses

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

AsBasicInputSchemaMapping is the BasicInputSchemaMapping implementation for JSONInputSchemaMapping.

func (JSONInputSchemaMapping) AsInputSchemaMapping Uses

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

AsInputSchemaMapping is the BasicInputSchemaMapping implementation for JSONInputSchemaMapping.

func (JSONInputSchemaMapping) AsJSONInputSchemaMapping Uses

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

AsJSONInputSchemaMapping is the BasicInputSchemaMapping implementation for JSONInputSchemaMapping.

func (JSONInputSchemaMapping) MarshalJSON Uses

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

MarshalJSON is the custom marshaler for JSONInputSchemaMapping.

func (*JSONInputSchemaMapping) UnmarshalJSON Uses

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

UnmarshalJSON is the custom unmarshaler for JSONInputSchemaMapping struct.

type JSONInputSchemaMappingProperties Uses

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 Uses

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'
    OperatorType OperatorType `json:"operatorType,omitempty"`
}

NumberGreaterThanAdvancedFilter numberGreaterThan Advanced Filter.

func (NumberGreaterThanAdvancedFilter) AsAdvancedFilter Uses

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

AsAdvancedFilter is the BasicAdvancedFilter implementation for NumberGreaterThanAdvancedFilter.

func (NumberGreaterThanAdvancedFilter) AsBasicAdvancedFilter Uses

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

AsBasicAdvancedFilter is the BasicAdvancedFilter implementation for NumberGreaterThanAdvancedFilter.

func (NumberGreaterThanAdvancedFilter) AsBoolEqualsAdvancedFilter Uses

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

AsBoolEqualsAdvancedFilter is the BasicAdvancedFilter implementation for NumberGreaterThanAdvancedFilter.

func (NumberGreaterThanAdvancedFilter) AsNumberGreaterThanAdvancedFilter Uses

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

AsNumberGreaterThanAdvancedFilter is the BasicAdvancedFilter implementation for NumberGreaterThanAdvancedFilter.

func (NumberGreaterThanAdvancedFilter) AsNumberGreaterThanOrEqualsAdvancedFilter Uses

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

AsNumberGreaterThanOrEqualsAdvancedFilter is the BasicAdvancedFilter implementation for NumberGreaterThanAdvancedFilter.

func (NumberGreaterThanAdvancedFilter) AsNumberInAdvancedFilter Uses

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

AsNumberInAdvancedFilter is the BasicAdvancedFilter implementation for NumberGreaterThanAdvancedFilter.

func (NumberGreaterThanAdvancedFilter) AsNumberLessThanAdvancedFilter Uses

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

AsNumberLessThanAdvancedFilter is the BasicAdvancedFilter implementation for NumberGreaterThanAdvancedFilter.

func (NumberGreaterThanAdvancedFilter) AsNumberLessThanOrEqualsAdvancedFilter Uses

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

AsNumberLessThanOrEqualsAdvancedFilter is the BasicAdvancedFilter implementation for NumberGreaterThanAdvancedFilter.

func (NumberGreaterThanAdvancedFilter) AsNumberNotInAdvancedFilter Uses

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

AsNumberNotInAdvancedFilter is the BasicAdvancedFilter implementation for NumberGreaterThanAdvancedFilter.

func (NumberGreaterThanAdvancedFilter) AsStringBeginsWithAdvancedFilter Uses

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

AsStringBeginsWithAdvancedFilter is the BasicAdvancedFilter implementation for NumberGreaterThanAdvancedFilter.

func (NumberGreaterThanAdvancedFilter) AsStringContainsAdvancedFilter Uses

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

AsStringContainsAdvancedFilter is the BasicAdvancedFilter implementation for NumberGreaterThanAdvancedFilter.

func (NumberGreaterThanAdvancedFilter) AsStringEndsWithAdvancedFilter Uses

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

AsStringEndsWithAdvancedFilter is the BasicAdvancedFilter implementation for NumberGreaterThanAdvancedFilter.

func (NumberGreaterThanAdvancedFilter) AsStringInAdvancedFilter Uses

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

AsStringInAdvancedFilter is the BasicAdvancedFilter implementation for NumberGreaterThanAdvancedFilter.

func (NumberGreaterThanAdvancedFilter) AsStringNotInAdvancedFilter Uses

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

AsStringNotInAdvancedFilter is the BasicAdvancedFilter implementation for NumberGreaterThanAdvancedFilter.

func (NumberGreaterThanAdvancedFilter) MarshalJSON Uses

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

MarshalJSON is the custom marshaler for NumberGreaterThanAdvancedFilter.

type NumberGreaterThanOrEqualsAdvancedFilter Uses

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'
    OperatorType OperatorType `json:"operatorType,omitempty"`
}

NumberGreaterThanOrEqualsAdvancedFilter numberGreaterThanOrEquals Advanced Filter.

func (NumberGreaterThanOrEqualsAdvancedFilter) AsAdvancedFilter Uses

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

AsAdvancedFilter is the BasicAdvancedFilter implementation for NumberGreaterThanOrEqualsAdvancedFilter.

func (NumberGreaterThanOrEqualsAdvancedFilter) AsBasicAdvancedFilter Uses

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

AsBasicAdvancedFilter is the BasicAdvancedFilter implementation for NumberGreaterThanOrEqualsAdvancedFilter.

func (NumberGreaterThanOrEqualsAdvancedFilter) AsBoolEqualsAdvancedFilter Uses

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

AsBoolEqualsAdvancedFilter is the BasicAdvancedFilter implementation for NumberGreaterThanOrEqualsAdvancedFilter.

func (NumberGreaterThanOrEqualsAdvancedFilter) AsNumberGreaterThanAdvancedFilter Uses

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

AsNumberGreaterThanAdvancedFilter is the BasicAdvancedFilter implementation for NumberGreaterThanOrEqualsAdvancedFilter.

func (NumberGreaterThanOrEqualsAdvancedFilter) AsNumberGreaterThanOrEqualsAdvancedFilter Uses

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

AsNumberGreaterThanOrEqualsAdvancedFilter is the BasicAdvancedFilter implementation for NumberGreaterThanOrEqualsAdvancedFilter.

func (NumberGreaterThanOrEqualsAdvancedFilter) AsNumberInAdvancedFilter Uses

func (ngtoeaf NumberGreaterThanOrEqualsAdvancedFilter) AsNumberInAdvancedFilter() (*NumberInAdvancedFilter, bool)

AsNumberInAdvancedFilter is the BasicAdvancedFilter implementation for NumberGreaterThanOrEqualsAdvancedFilter.

func (NumberGreaterThanOrEqualsAdvancedFilter) AsNumberLessThanAdvancedFilter Uses

func (ngtoeaf NumberGreaterThanOrEqualsAdvancedFilter) AsNumberLessThanAdvancedFilter() (*NumberLessThanAdvancedFilter, bool)

AsNumberLessThanAdvancedFilter is the BasicAdvancedFilter implementation for NumberGreaterThanOrEqualsAdvancedFilter.

func (NumberGreaterThanOrEqualsAdvancedFilter) AsNumberLessThanOrEqualsAdvancedFilter Uses

func (ngtoeaf NumberGreaterThanOrEqualsAdvancedFilter) AsNumberLessThanOrEqualsAdvancedFilter() (*NumberLessThanOrEqualsAdvancedFilter, bool)

AsNumberLessThanOrEqualsAdvancedFilter is the BasicAdvancedFilter implementation for NumberGreaterThanOrEqualsAdvancedFilter.

func (NumberGreaterThanOrEqualsAdvancedFilter) AsNumberNotInAdvancedFilter Uses

func (ngtoeaf NumberGreaterThanOrEqualsAdvancedFilter) AsNumberNotInAdvancedFilter() (*NumberNotInAdvancedFilter, bool)

AsNumberNotInAdvancedFilter is the BasicAdvancedFilter implementation for NumberGreaterThanOrEqualsAdvancedFilter.

func (NumberGreaterThanOrEqualsAdvancedFilter) AsStringBeginsWithAdvancedFilter Uses

func (ngtoeaf NumberGreaterThanOrEqualsAdvancedFilter) AsStringBeginsWithAdvancedFilter() (*StringBeginsWithAdvancedFilter, bool)

AsStringBeginsWithAdvancedFilter is the BasicAdvancedFilter implementation for NumberGreaterThanOrEqualsAdvancedFilter.

func (NumberGreaterThanOrEqualsAdvancedFilter) AsStringContainsAdvancedFilter Uses

func (ngtoeaf NumberGreaterThanOrEqualsAdvancedFilter) AsStringContainsAdvancedFilter() (*StringContainsAdvancedFilter, bool)

AsStringContainsAdvancedFilter is the BasicAdvancedFilter implementation for NumberGreaterThanOrEqualsAdvancedFilter.

func (NumberGreaterThanOrEqualsAdvancedFilter) AsStringEndsWithAdvancedFilter Uses

func (ngtoeaf NumberGreaterThanOrEqualsAdvancedFilter) AsStringEndsWithAdvancedFilter() (*StringEndsWithAdvancedFilter, bool)

AsStringEndsWithAdvancedFilter is the BasicAdvancedFilter implementation for NumberGreaterThanOrEqualsAdvancedFilter.

func (NumberGreaterThanOrEqualsAdvancedFilter) AsStringInAdvancedFilter Uses

func (ngtoeaf NumberGreaterThanOrEqualsAdvancedFilter) AsStringInAdvancedFilter() (*StringInAdvancedFilter, bool)

AsStringInAdvancedFilter is the BasicAdvancedFilter implementation for NumberGreaterThanOrEqualsAdvancedFilter.

func (NumberGreaterThanOrEqualsAdvancedFilter) AsStringNotInAdvancedFilter Uses

func (ngtoeaf NumberGreaterThanOrEqualsAdvancedFilter) AsStringNotInAdvancedFilter() (*StringNotInAdvancedFilter, bool)

AsStringNotInAdvancedFilter is the BasicAdvancedFilter implementation for NumberGreaterThanOrEqualsAdvancedFilter.

func (NumberGreaterThanOrEqualsAdvancedFilter) MarshalJSON Uses

func (ngtoeaf NumberGreaterThanOrEqualsAdvancedFilter) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for NumberGreaterThanOrEqualsAdvancedFilter.

type NumberInAdvancedFilter Uses

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'
    OperatorType OperatorType `json:"operatorType,omitempty"`
}

NumberInAdvancedFilter numberIn Advanced Filter.

func (NumberInAdvancedFilter) AsAdvancedFilter Uses

func (niaf NumberInAdvancedFilter) AsAdvancedFilter() (*AdvancedFilter, bool)

AsAdvancedFilter is the BasicAdvancedFilter implementation for NumberInAdvancedFilter.

func (NumberInAdvancedFilter) AsBasicAdvancedFilter Uses

func (niaf NumberInAdvancedFilter) AsBasicAdvancedFilter() (BasicAdvancedFilter, bool)

AsBasicAdvancedFilter is the BasicAdvancedFilter implementation for NumberInAdvancedFilter.

func (NumberInAdvancedFilter) AsBoolEqualsAdvancedFilter Uses

func (niaf NumberInAdvancedFilter) AsBoolEqualsAdvancedFilter() (*BoolEqualsAdvancedFilter, bool)

AsBoolEqualsAdvancedFilter is the BasicAdvancedFilter implementation for NumberInAdvancedFilter.

func (NumberInAdvancedFilter) AsNumberGreaterThanAdvancedFilter Uses

func (niaf NumberInAdvancedFilter) AsNumberGreaterThanAdvancedFilter() (*NumberGreaterThanAdvancedFilter, bool)

AsNumberGreaterThanAdvancedFilter is the BasicAdvancedFilter implementation for NumberInAdvancedFilter.

func (NumberInAdvancedFilter) AsNumberGreaterThanOrEqualsAdvancedFilter Uses

func (niaf NumberInAdvancedFilter) AsNumberGreaterThanOrEqualsAdvancedFilter() (*NumberGreaterThanOrEqualsAdvancedFilter, bool)

AsNumberGreaterThanOrEqualsAdvancedFilter is the BasicAdvancedFilter implementation for NumberInAdvancedFilter.

func (NumberInAdvancedFilter) AsNumberInAdvancedFilter Uses

func (niaf NumberInAdvancedFilter) AsNumberInAdvancedFilter() (*NumberInAdvancedFilter, bool)

AsNumberInAdvancedFilter is the BasicAdvancedFilter implementation for NumberInAdvancedFilter.

func (NumberInAdvancedFilter) AsNumberLessThanAdvancedFilter Uses

func (niaf NumberInAdvancedFilter) AsNumberLessThanAdvancedFilter() (*NumberLessThanAdvancedFilter, bool)

AsNumberLessThanAdvancedFilter is the BasicAdvancedFilter implementation for NumberInAdvancedFilter.

func (NumberInAdvancedFilter) AsNumberLessThanOrEqualsAdvancedFilter Uses

func (niaf NumberInAdvancedFilter) AsNumberLessThanOrEqualsAdvancedFilter() (*NumberLessThanOrEqualsAdvancedFilter, bool)

AsNumberLessThanOrEqualsAdvancedFilter is the BasicAdvancedFilter implementation for NumberInAdvancedFilter.

func (NumberInAdvancedFilter) AsNumberNotInAdvancedFilter Uses

func (niaf NumberInAdvancedFilter) AsNumberNotInAdvancedFilter() (*NumberNotInAdvancedFilter, bool)

AsNumberNotInAdvancedFilter is the BasicAdvancedFilter implementation for NumberInAdvancedFilter.

func (NumberInAdvancedFilter) AsStringBeginsWithAdvancedFilter Uses

func (niaf NumberInAdvancedFilter) AsStringBeginsWithAdvancedFilter() (*StringBeginsWithAdvancedFilter, bool)

AsStringBeginsWithAdvancedFilter is the BasicAdvancedFilter implementation for NumberInAdvancedFilter.

func (NumberInAdvancedFilter) AsStringContainsAdvancedFilter Uses

func (niaf NumberInAdvancedFilter) AsStringContainsAdvancedFilter() (*StringContainsAdvancedFilter, bool)

AsStringContainsAdvancedFilter is the BasicAdvancedFilter implementation for NumberInAdvancedFilter.

func (NumberInAdvancedFilter) AsStringEndsWithAdvancedFilter Uses

func (niaf NumberInAdvancedFilter) AsStringEndsWithAdvancedFilter() (*StringEndsWithAdvancedFilter, bool)

AsStringEndsWithAdvancedFilter is the BasicAdvancedFilter implementation for NumberInAdvancedFilter.

func (NumberInAdvancedFilter) AsStringInAdvancedFilter Uses

func (niaf NumberInAdvancedFilter) AsStringInAdvancedFilter() (*StringInAdvancedFilter, bool)

AsStringInAdvancedFilter is the BasicAdvancedFilter implementation for NumberInAdvancedFilter.

func (NumberInAdvancedFilter) AsStringNotInAdvancedFilter Uses

func (niaf NumberInAdvancedFilter) AsStringNotInAdvancedFilter() (*StringNotInAdvancedFilter, bool)

AsStringNotInAdvancedFilter is the BasicAdvancedFilter implementation for NumberInAdvancedFilter.

func (NumberInAdvancedFilter) MarshalJSON Uses

func (niaf NumberInAdvancedFilter) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for NumberInAdvancedFilter.

type NumberLessThanAdvancedFilter Uses

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'
    OperatorType OperatorType `json:"operatorType,omitempty"`
}

NumberLessThanAdvancedFilter numberLessThan Advanced Filter.

func (NumberLessThanAdvancedFilter) AsAdvancedFilter Uses

func (nltaf NumberLessThanAdvancedFilter) AsAdvancedFilter() (*AdvancedFilter, bool)

AsAdvancedFilter is the BasicAdvancedFilter implementation for NumberLessThanAdvancedFilter.

func (NumberLessThanAdvancedFilter) AsBasicAdvancedFilter Uses

func (nltaf NumberLessThanAdvancedFilter) AsBasicAdvancedFilter() (BasicAdvancedFilter, bool)

AsBasicAdvancedFilter is the BasicAdvancedFilter implementation for NumberLessThanAdvancedFilter.

func (NumberLessThanAdvancedFilter) AsBoolEqualsAdvancedFilter Uses

func (nltaf NumberLessThanAdvancedFilter) AsBoolEqualsAdvancedFilter() (*BoolEqualsAdvancedFilter, bool)

AsBoolEqualsAdvancedFilter is the BasicAdvancedFilter implementation for NumberLessThanAdvancedFilter.

func (NumberLessThanAdvancedFilter) AsNumberGreaterThanAdvancedFilter Uses

func (nltaf NumberLessThanAdvancedFilter) AsNumberGreaterThanAdvancedFilter() (*NumberGreaterThanAdvancedFilter, bool)

AsNumberGreaterThanAdvancedFilter is the BasicAdvancedFilter implementation for NumberLessThanAdvancedFilter.

func (NumberLessThanAdvancedFilter) AsNumberGreaterThanOrEqualsAdvancedFilter Uses

func (nltaf NumberLessThanAdvancedFilter) AsNumberGreaterThanOrEqualsAdvancedFilter() (*NumberGreaterThanOrEqualsAdvancedFilter, bool)

AsNumberGreaterThanOrEqualsAdvancedFilter is the BasicAdvancedFilter implementation for NumberLessThanAdvancedFilter.

func (NumberLessThanAdvancedFilter) AsNumberInAdvancedFilter Uses

func (nltaf NumberLessThanAdvancedFilter) AsNumberInAdvancedFilter() (*NumberInAdvancedFilter, bool)

AsNumberInAdvancedFilter is the BasicAdvancedFilter implementation for NumberLessThanAdvancedFilter.

func (NumberLessThanAdvancedFilter) AsNumberLessThanAdvancedFilter Uses

func (nltaf NumberLessThanAdvancedFilter) AsNumberLessThanAdvancedFilter() (*NumberLessThanAdvancedFilter, bool)

AsNumberLessThanAdvancedFilter is the BasicAdvancedFilter implementation for NumberLessThanAdvancedFilter.

func (NumberLessThanAdvancedFilter) AsNumberLessThanOrEqualsAdvancedFilter Uses

func (nltaf NumberLessThanAdvancedFilter) AsNumberLessThanOrEqualsAdvancedFilter() (*NumberLessThanOrEqualsAdvancedFilter, bool)

AsNumberLessThanOrEqualsAdvancedFilter is the BasicAdvancedFilter implementation for NumberLessThanAdvancedFilter.

func (NumberLessThanAdvancedFilter) AsNumberNotInAdvancedFilter Uses

func (nltaf NumberLessThanAdvancedFilter) AsNumberNotInAdvancedFilter() (*NumberNotInAdvancedFilter, bool)

AsNumberNotInAdvancedFilter is the BasicAdvancedFilter implementation for NumberLessThanAdvancedFilter.

func (NumberLessThanAdvancedFilter) AsStringBeginsWithAdvancedFilter Uses

func (nltaf NumberLessThanAdvancedFilter) AsStringBeginsWithAdvancedFilter() (*StringBeginsWithAdvancedFilter, bool)

AsStringBeginsWithAdvancedFilter is the BasicAdvancedFilter implementation for NumberLessThanAdvancedFilter.

func (NumberLessThanAdvancedFilter) AsStringContainsAdvancedFilter Uses

func (nltaf NumberLessThanAdvancedFilter) AsStringContainsAdvancedFilter() (*StringContainsAdvancedFilter, bool)

AsStringContainsAdvancedFilter is the BasicAdvancedFilter implementation for NumberLessThanAdvancedFilter.

func (NumberLessThanAdvancedFilter) AsStringEndsWithAdvancedFilter Uses

func (nltaf NumberLessThanAdvancedFilter) AsStringEndsWithAdvancedFilter() (*StringEndsWithAdvancedFilter, bool)

AsStringEndsWithAdvancedFilter is the BasicAdvancedFilter implementation for NumberLessThanAdvancedFilter.

func (NumberLessThanAdvancedFilter) AsStringInAdvancedFilter Uses

func (nltaf NumberLessThanAdvancedFilter) AsStringInAdvancedFilter() (*StringInAdvancedFilter, bool)

AsStringInAdvancedFilter is the BasicAdvancedFilter implementation for NumberLessThanAdvancedFilter.

func (NumberLessThanAdvancedFilter) AsStringNotInAdvancedFilter Uses

func (nltaf NumberLessThanAdvancedFilter) AsStringNotInAdvancedFilter() (*StringNotInAdvancedFilter, bool)

AsStringNotInAdvancedFilter is the BasicAdvancedFilter implementation for NumberLessThanAdvancedFilter.

func (NumberLessThanAdvancedFilter) MarshalJSON Uses

func (nltaf NumberLessThanAdvancedFilter) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for NumberLessThanAdvancedFilter.

type NumberLessThanOrEqualsAdvancedFilter Uses

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'
    OperatorType OperatorType `json:"operatorType,omitempty"`
}

NumberLessThanOrEqualsAdvancedFilter numberLessThanOrEquals Advanced Filter.

func (NumberLessThanOrEqualsAdvancedFilter) AsAdvancedFilter Uses

func (nltoeaf NumberLessThanOrEqualsAdvancedFilter) AsAdvancedFilter() (*AdvancedFilter, bool)

AsAdvancedFilter is the BasicAdvancedFilter implementation for NumberLessThanOrEqualsAdvancedFilter.

func (NumberLessThanOrEqualsAdvancedFilter) AsBasicAdvancedFilter Uses

func (nltoeaf NumberLessThanOrEqualsAdvancedFilter) AsBasicAdvancedFilter() (BasicAdvancedFilter, bool)

AsBasicAdvancedFilter is the BasicAdvancedFilter implementation for NumberLessThanOrEqualsAdvancedFilter.

func (NumberLessThanOrEqualsAdvancedFilter) AsBoolEqualsAdvancedFilter Uses

func (nltoeaf NumberLessThanOrEqualsAdvancedFilter) AsBoolEqualsAdvancedFilter() (*BoolEqualsAdvancedFilter, bool)

AsBoolEqualsAdvancedFilter is the BasicAdvancedFilter implementation for NumberLessThanOrEqualsAdvancedFilter.

func (NumberLessThanOrEqualsAdvancedFilter) AsNumberGreaterThanAdvancedFilter Uses

func (nltoeaf NumberLessThanOrEqualsAdvancedFilter) AsNumberGreaterThanAdvancedFilter() (*NumberGreaterThanAdvancedFilter, bool)

AsNumberGreaterThanAdvancedFilter is the BasicAdvancedFilter implementation for NumberLessThanOrEqualsAdvancedFilter.

func (NumberLessThanOrEqualsAdvancedFilter) AsNumberGreaterThanOrEqualsAdvancedFilter Uses

func (nltoeaf NumberLessThanOrEqualsAdvancedFilter) AsNumberGreaterThanOrEqualsAdvancedFilter() (*NumberGreaterThanOrEqualsAdvancedFilter, bool)

AsNumberGreaterThanOrEqualsAdvancedFilter is the BasicAdvancedFilter implementation for NumberLessThanOrEqualsAdvancedFilter.

func (NumberLessThanOrEqualsAdvancedFilter) AsNumberInAdvancedFilter Uses

func (nltoeaf NumberLessThanOrEqualsAdvancedFilter) AsNumberInAdvancedFilter() (*NumberInAdvancedFilter, bool)

AsNumberInAdvancedFilter is the BasicAdvancedFilter implementation for NumberLessThanOrEqualsAdvancedFilter.

func (NumberLessThanOrEqualsAdvancedFilter) AsNumberLessThanAdvancedFilter Uses

func (nltoeaf NumberLessThanOrEqualsAdvancedFilter) AsNumberLessThanAdvancedFilter() (*NumberLessThanAdvancedFilter, bool)

AsNumberLessThanAdvancedFilter is the BasicAdvancedFilter implementation for NumberLessThanOrEqualsAdvancedFilter.

func (NumberLessThanOrEqualsAdvancedFilter) AsNumberLessThanOrEqualsAdvancedFilter Uses

func (nltoeaf NumberLessThanOrEqualsAdvancedFilter) AsNumberLessThanOrEqualsAdvancedFilter() (*NumberLessThanOrEqualsAdvancedFilter, bool)

AsNumberLessThanOrEqualsAdvancedFilter is the BasicAdvancedFilter implementation for NumberLessThanOrEqualsAdvancedFilter.

func (NumberLessThanOrEqualsAdvancedFilter) AsNumberNotInAdvancedFilter Uses

func (nltoeaf NumberLessThanOrEqualsAdvancedFilter) AsNumberNotInAdvancedFilter() (*NumberNotInAdvancedFilter, bool)

AsNumberNotInAdvancedFilter is the BasicAdvancedFilter implementation for NumberLessThanOrEqualsAdvancedFilter.

func (NumberLessThanOrEqualsAdvancedFilter) AsStringBeginsWithAdvancedFilter Uses

func (nltoeaf NumberLessThanOrEqualsAdvancedFilter) AsStringBeginsWithAdvancedFilter() (*StringBeginsWithAdvancedFilter, bool)

AsStringBeginsWithAdvancedFilter is the BasicAdvancedFilter implementation for NumberLessThanOrEqualsAdvancedFilter.

func (NumberLessThanOrEqualsAdvancedFilter) AsStringContainsAdvancedFilter Uses

func (nltoeaf NumberLessThanOrEqualsAdvancedFilter) AsStringContainsAdvancedFilter() (*StringContainsAdvancedFilter, bool)

AsStringContainsAdvancedFilter is the BasicAdvancedFilter implementation for NumberLessThanOrEqualsAdvancedFilter.

func (NumberLessThanOrEqualsAdvancedFilter) AsStringEndsWithAdvancedFilter Uses

func (nltoeaf NumberLessThanOrEqualsAdvancedFilter) AsStringEndsWithAdvancedFilter() (*StringEndsWithAdvancedFilter, bool)

AsStringEndsWithAdvancedFilter is the BasicAdvancedFilter implementation for NumberLessThanOrEqualsAdvancedFilter.

func (NumberLessThanOrEqualsAdvancedFilter) AsStringInAdvancedFilter Uses

func (nltoeaf NumberLessThanOrEqualsAdvancedFilter) AsStringInAdvancedFilter() (*StringInAdvancedFilter, bool)

AsStringInAdvancedFilter is the BasicAdvancedFilter implementation for NumberLessThanOrEqualsAdvancedFilter.

func (NumberLessThanOrEqualsAdvancedFilter) AsStringNotInAdvancedFilter Uses

func (nltoeaf NumberLessThanOrEqualsAdvancedFilter) AsStringNotInAdvancedFilter() (*StringNotInAdvancedFilter, bool)

AsStringNotInAdvancedFilter is the BasicAdvancedFilter implementation for NumberLessThanOrEqualsAdvancedFilter.

func (NumberLessThanOrEqualsAdvancedFilter) MarshalJSON Uses

func (nltoeaf NumberLessThanOrEqualsAdvancedFilter) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for NumberLessThanOrEqualsAdvancedFilter.

type NumberNotInAdvancedFilter Uses

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'
    OperatorType OperatorType `json:"operatorType,omitempty"`
}

NumberNotInAdvancedFilter numberNotIn Advanced Filter.

func (NumberNotInAdvancedFilter) AsAdvancedFilter Uses

func (nniaf NumberNotInAdvancedFilter) AsAdvancedFilter() (*AdvancedFilter, bool)

AsAdvancedFilter is the BasicAdvancedFilter implementation for NumberNotInAdvancedFilter.

func (NumberNotInAdvancedFilter) AsBasicAdvancedFilter Uses

func (nniaf NumberNotInAdvancedFilter) AsBasicAdvancedFilter() (BasicAdvancedFilter, bool)

AsBasicAdvancedFilter is the BasicAdvancedFilter implementation for NumberNotInAdvancedFilter.

func (NumberNotInAdvancedFilter) AsBoolEqualsAdvancedFilter Uses

func (nniaf NumberNotInAdvancedFilter) AsBoolEqualsAdvancedFilter() (*BoolEqualsAdvancedFilter, bool)

AsBoolEqualsAdvancedFilter is the BasicAdvancedFilter implementation for NumberNotInAdvancedFilter.

func (NumberNotInAdvancedFilter) AsNumberGreaterThanAdvancedFilter Uses

func (nniaf NumberNotInAdvancedFilter) AsNumberGreaterThanAdvancedFilter() (*NumberGreaterThanAdvancedFilter, bool)

AsNumberGreaterThanAdvancedFilter is the BasicAdvancedFilter implementation for NumberNotInAdvancedFilter.

func (NumberNotInAdvancedFilter) AsNumberGreaterThanOrEqualsAdvancedFilter Uses

func (nniaf NumberNotInAdvancedFilter) AsNumberGreaterThanOrEqualsAdvancedFilter() (*NumberGreaterThanOrEqualsAdvancedFilter, bool)

AsNumberGreaterThanOrEqualsAdvancedFilter is the BasicAdvancedFilter implementation for NumberNotInAdvancedFilter.

func (NumberNotInAdvancedFilter) AsNumberInAdvancedFilter Uses

func (nniaf NumberNotInAdvancedFilter) AsNumberInAdvancedFilter() (*NumberInAdvancedFilter, bool)

AsNumberInAdvancedFilter is the BasicAdvancedFilter implementation for NumberNotInAdvancedFilter.

func (NumberNotInAdvancedFilter) AsNumberLessThanAdvancedFilter Uses

func (nniaf NumberNotInAdvancedFilter) AsNumberLessThanAdvancedFilter() (*NumberLessThanAdvancedFilter, bool)

AsNumberLessThanAdvancedFilter is the BasicAdvancedFilter implementation for NumberNotInAdvancedFilter.

func (NumberNotInAdvancedFilter) AsNumberLessThanOrEqualsAdvancedFilter Uses

func (nniaf NumberNotInAdvancedFilter) AsNumberLessThanOrEqualsAdvancedFilter() (*NumberLessThanOrEqualsAdvancedFilter, bool)

AsNumberLessThanOrEqualsAdvancedFilter is the BasicAdvancedFilter implementation for NumberNotInAdvancedFilter.

func (NumberNotInAdvancedFilter) AsNumberNotInAdvancedFilter Uses

func (nniaf NumberNotInAdvancedFilter) AsNumberNotInAdvancedFilter() (*NumberNotInAdvancedFilter, bool)

AsNumberNotInAdvancedFilter is the BasicAdvancedFilter implementation for NumberNotInAdvancedFilter.

func (NumberNotInAdvancedFilter) AsStringBeginsWithAdvancedFilter Uses

func (nniaf NumberNotInAdvancedFilter) AsStringBeginsWithAdvancedFilter() (*StringBeginsWithAdvancedFilter, bool)

AsStringBeginsWithAdvancedFilter is the BasicAdvancedFilter implementation for NumberNotInAdvancedFilter.

func (NumberNotInAdvancedFilter) AsStringContainsAdvancedFilter Uses

func (nniaf NumberNotInAdvancedFilter) AsStringContainsAdvancedFilter() (*StringContainsAdvancedFilter, bool)

AsStringContainsAdvancedFilter is the BasicAdvancedFilter implementation for NumberNotInAdvancedFilter.

func (NumberNotInAdvancedFilter) AsStringEndsWithAdvancedFilter Uses

func (nniaf NumberNotInAdvancedFilter) AsStringEndsWithAdvancedFilter() (*StringEndsWithAdvancedFilter, bool)

AsStringEndsWithAdvancedFilter is the BasicAdvancedFilter implementation for NumberNotInAdvancedFilter.

func (NumberNotInAdvancedFilter) AsStringInAdvancedFilter Uses

func (nniaf NumberNotInAdvancedFilter) AsStringInAdvancedFilter() (*StringInAdvancedFilter, bool)

AsStringInAdvancedFilter is the BasicAdvancedFilter implementation for NumberNotInAdvancedFilter.

func (NumberNotInAdvancedFilter) AsStringNotInAdvancedFilter Uses

func (nniaf NumberNotInAdvancedFilter) AsStringNotInAdvancedFilter() (*StringNotInAdvancedFilter, bool)

AsStringNotInAdvancedFilter is the BasicAdvancedFilter implementation for NumberNotInAdvancedFilter.

func (NumberNotInAdvancedFilter) MarshalJSON Uses

func (nniaf NumberNotInAdvancedFilter) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for NumberNotInAdvancedFilter.

type Operation Uses

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"`
    // Properties - Properties of the operation
    Properties interface{} `json:"properties,omitempty"`
}

Operation represents an operation returned by the GetOperations request

type OperationInfo Uses

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 Uses

type OperationsClient struct {
    BaseClient
}

OperationsClient is the azure EventGrid Management Client

func NewOperationsClient Uses

func NewOperationsClient(subscriptionID string) OperationsClient

NewOperationsClient creates an instance of the OperationsClient client.

func NewOperationsClientWithBaseURI Uses

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 Uses

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 Uses

func (client OperationsClient) ListPreparer(ctx context.Context) (*http.Request, error)

ListPreparer prepares the List request.

func (OperationsClient) ListResponder Uses

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 Uses

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 Uses

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 Uses

type OperatorType string

OperatorType enumerates the values for operator type.

const (
    // OperatorTypeAdvancedFilter ...
    OperatorTypeAdvancedFilter OperatorType = "AdvancedFilter"
    // OperatorTypeBoolEquals ...
    OperatorTypeBoolEquals OperatorType = "BoolEquals"
    // OperatorTypeNumberGreaterThan ...
    OperatorTypeNumberGreaterThan OperatorType = "NumberGreaterThan"
    // OperatorTypeNumberGreaterThanOrEquals ...
    OperatorTypeNumberGreaterThanOrEquals OperatorType = "NumberGreaterThanOrEquals"
    // OperatorTypeNumberIn ...
    OperatorTypeNumberIn OperatorType = "NumberIn"
    // OperatorTypeNumberLessThan ...
    OperatorTypeNumberLessThan OperatorType = "NumberLessThan"
    // OperatorTypeNumberLessThanOrEquals ...
    OperatorTypeNumberLessThanOrEquals OperatorType = "NumberLessThanOrEquals"
    // OperatorTypeNumberNotIn ...
    OperatorTypeNumberNotIn OperatorType = "NumberNotIn"
    // OperatorTypeStringBeginsWith ...
    OperatorTypeStringBeginsWith OperatorType = "StringBeginsWith"
    // OperatorTypeStringContains ...
    OperatorTypeStringContains OperatorType = "StringContains"
    // OperatorTypeStringEndsWith ...
    OperatorTypeStringEndsWith OperatorType = "StringEndsWith"
    // OperatorTypeStringIn ...
    OperatorTypeStringIn OperatorType = "StringIn"
    // OperatorTypeStringNotIn ...
    OperatorTypeStringNotIn OperatorType = "StringNotIn"
)

func PossibleOperatorTypeValues Uses

func PossibleOperatorTypeValues() []OperatorType

PossibleOperatorTypeValues returns an array of possible values for the OperatorType const type.

type PartnerNamespace Uses

type PartnerNamespace struct {
    autorest.Response `json:"-"`
    // PartnerNamespaceProperties - Properties of the partner namespace.
    *PartnerNamespaceProperties `json:"properties,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 Uses

func (pn PartnerNamespace) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for PartnerNamespace.

func (*PartnerNamespace) UnmarshalJSON Uses

func (pn *PartnerNamespace) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for PartnerNamespace struct.

type PartnerNamespaceProperties Uses

type PartnerNamespaceProperties struct {
    // 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"`
}

PartnerNamespaceProperties properties of the partner namespace.

func (PartnerNamespaceProperties) MarshalJSON Uses

func (pnp PartnerNamespaceProperties) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for PartnerNamespaceProperties.

type PartnerNamespaceProvisioningState Uses

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 Uses

func PossiblePartnerNamespaceProvisioningStateValues() []PartnerNamespaceProvisioningState

PossiblePartnerNamespaceProvisioningStateValues returns an array of possible values for the PartnerNamespaceProvisioningState const type.

type PartnerNamespaceRegenerateKeyRequest Uses

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 Uses

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 PartnerNamespaceUpdateParameters Uses

type PartnerNamespaceUpdateParameters struct {
    // Tags - Tags of the partner namespace.
    Tags map[string]*string `json:"tags"`
}

PartnerNamespaceUpdateParameters properties of the PartnerNamespace update.

func (PartnerNamespaceUpdateParameters) MarshalJSON Uses

func (pnup PartnerNamespaceUpdateParameters) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for PartnerNamespaceUpdateParameters.

type PartnerNamespacesClient Uses

type PartnerNamespacesClient struct {
    BaseClient
}

PartnerNamespacesClient is the azure EventGrid Management Client

func NewPartnerNamespacesClient Uses

func NewPartnerNamespacesClient(subscriptionID string) PartnerNamespacesClient

NewPartnerNamespacesClient creates an instance of the PartnerNamespacesClient client.

func NewPartnerNamespacesClientWithBaseURI Uses

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 Uses

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 Uses

func (client PartnerNamespacesClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, partnerNamespaceName string, partnerNamespaceInfo PartnerNamespace) (*http.Request, error)

CreateOrUpdatePreparer prepares the CreateOrUpdate request.

func (PartnerNamespacesClient) CreateOrUpdateResponder Uses

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 Uses

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 Uses

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 Uses

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

DeletePreparer prepares the Delete request.

func (PartnerNamespacesClient) DeleteResponder Uses

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 Uses

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 Uses

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 Uses

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

GetPreparer prepares the Get request.

func (PartnerNamespacesClient) GetResponder Uses

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 Uses

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 Uses

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 r