DomainEventSubscriptions interface

Interface representing a DomainEventSubscriptions.

Methods

beginCreateOrUpdate(string, string, string, EventSubscription, DomainEventSubscriptionsCreateOrUpdateOptionalParams)

Asynchronously creates a new event subscription or updates an existing event subscription.

beginCreateOrUpdateAndWait(string, string, string, EventSubscription, DomainEventSubscriptionsCreateOrUpdateOptionalParams)

Asynchronously creates a new event subscription or updates an existing event subscription.

beginDelete(string, string, string, DomainEventSubscriptionsDeleteOptionalParams)

Delete an existing event subscription for a domain.

beginDeleteAndWait(string, string, string, DomainEventSubscriptionsDeleteOptionalParams)

Delete an existing event subscription for a domain.

beginUpdate(string, string, string, EventSubscriptionUpdateParameters, DomainEventSubscriptionsUpdateOptionalParams)

Update an existing event subscription for a topic.

beginUpdateAndWait(string, string, string, EventSubscriptionUpdateParameters, DomainEventSubscriptionsUpdateOptionalParams)

Update an existing event subscription for a topic.

get(string, string, string, DomainEventSubscriptionsGetOptionalParams)

Get properties of an event subscription of a domain.

getDeliveryAttributes(string, string, string, DomainEventSubscriptionsGetDeliveryAttributesOptionalParams)

Get all delivery attributes for an event subscription for domain.

getFullUrl(string, string, string, DomainEventSubscriptionsGetFullUrlOptionalParams)

Get the full endpoint URL for an event subscription for domain.

list(string, string, DomainEventSubscriptionsListOptionalParams)

List all event subscriptions that have been created for a specific topic.

Method Details

beginCreateOrUpdate(string, string, string, EventSubscription, DomainEventSubscriptionsCreateOrUpdateOptionalParams)

Asynchronously creates a new event subscription or updates an existing event subscription.

function beginCreateOrUpdate(resourceGroupName: string, domainName: string, eventSubscriptionName: string, eventSubscriptionInfo: EventSubscription, options?: DomainEventSubscriptionsCreateOrUpdateOptionalParams): Promise<PollerLike<PollOperationState<EventSubscription>, EventSubscription>>

Parameters

resourceGroupName

string

The name of the resource group within the user's subscription.

domainName

string

Name of the domain topic.

eventSubscriptionName

string

Name of the event subscription to be created. Event subscription names must be between 3 and 100 characters in length and use alphanumeric letters only.

eventSubscriptionInfo
EventSubscription

Event subscription properties containing the destination and filter information.

Returns

beginCreateOrUpdateAndWait(string, string, string, EventSubscription, DomainEventSubscriptionsCreateOrUpdateOptionalParams)

Asynchronously creates a new event subscription or updates an existing event subscription.

function beginCreateOrUpdateAndWait(resourceGroupName: string, domainName: string, eventSubscriptionName: string, eventSubscriptionInfo: EventSubscription, options?: DomainEventSubscriptionsCreateOrUpdateOptionalParams): Promise<EventSubscription>

Parameters

resourceGroupName

string

The name of the resource group within the user's subscription.

domainName

string

Name of the domain topic.

eventSubscriptionName

string

Name of the event subscription to be created. Event subscription names must be between 3 and 100 characters in length and use alphanumeric letters only.

eventSubscriptionInfo
EventSubscription

Event subscription properties containing the destination and filter information.

Returns

beginDelete(string, string, string, DomainEventSubscriptionsDeleteOptionalParams)

Delete an existing event subscription for a domain.

function beginDelete(resourceGroupName: string, domainName: string, eventSubscriptionName: string, options?: DomainEventSubscriptionsDeleteOptionalParams): Promise<PollerLike<PollOperationState<void>, void>>

Parameters

resourceGroupName

string

The name of the resource group within the user's subscription.

domainName

string

Name of the domain.

eventSubscriptionName

string

Name of the event subscription to be deleted. Event subscription names must be between 3 and 100 characters in length and use alphanumeric letters only.

options
DomainEventSubscriptionsDeleteOptionalParams

The options parameters.

Returns

Promise<PollerLike<PollOperationState<void>, void>>

beginDeleteAndWait(string, string, string, DomainEventSubscriptionsDeleteOptionalParams)

Delete an existing event subscription for a domain.

function beginDeleteAndWait(resourceGroupName: string, domainName: string, eventSubscriptionName: string, options?: DomainEventSubscriptionsDeleteOptionalParams): Promise<void>

Parameters

resourceGroupName

string

The name of the resource group within the user's subscription.

domainName

string

Name of the domain.

eventSubscriptionName

string

Name of the event subscription to be deleted. Event subscription names must be between 3 and 100 characters in length and use alphanumeric letters only.

options
DomainEventSubscriptionsDeleteOptionalParams

The options parameters.

Returns

Promise<void>

beginUpdate(string, string, string, EventSubscriptionUpdateParameters, DomainEventSubscriptionsUpdateOptionalParams)

Update an existing event subscription for a topic.

function beginUpdate(resourceGroupName: string, domainName: string, eventSubscriptionName: string, eventSubscriptionUpdateParameters: EventSubscriptionUpdateParameters, options?: DomainEventSubscriptionsUpdateOptionalParams): Promise<PollerLike<PollOperationState<EventSubscription>, EventSubscription>>

Parameters

resourceGroupName

string

The name of the resource group within the user's subscription.

domainName

string

Name of the domain.

eventSubscriptionName

string

Name of the event subscription to be updated.

eventSubscriptionUpdateParameters
EventSubscriptionUpdateParameters

Updated event subscription information.

options
DomainEventSubscriptionsUpdateOptionalParams

The options parameters.

Returns

beginUpdateAndWait(string, string, string, EventSubscriptionUpdateParameters, DomainEventSubscriptionsUpdateOptionalParams)

Update an existing event subscription for a topic.

function beginUpdateAndWait(resourceGroupName: string, domainName: string, eventSubscriptionName: string, eventSubscriptionUpdateParameters: EventSubscriptionUpdateParameters, options?: DomainEventSubscriptionsUpdateOptionalParams): Promise<EventSubscription>

Parameters

resourceGroupName

string

The name of the resource group within the user's subscription.

domainName

string

Name of the domain.

eventSubscriptionName

string

Name of the event subscription to be updated.

eventSubscriptionUpdateParameters
EventSubscriptionUpdateParameters

Updated event subscription information.

options
DomainEventSubscriptionsUpdateOptionalParams

The options parameters.

Returns

get(string, string, string, DomainEventSubscriptionsGetOptionalParams)

Get properties of an event subscription of a domain.

function get(resourceGroupName: string, domainName: string, eventSubscriptionName: string, options?: DomainEventSubscriptionsGetOptionalParams): Promise<EventSubscription>

Parameters

resourceGroupName

string

The name of the resource group within the user's subscription.

domainName

string

Name of the partner topic.

eventSubscriptionName

string

Name of the event subscription to be found. Event subscription names must be between 3 and 100 characters in length and use alphanumeric letters only.

options
DomainEventSubscriptionsGetOptionalParams

The options parameters.

Returns

getDeliveryAttributes(string, string, string, DomainEventSubscriptionsGetDeliveryAttributesOptionalParams)

Get all delivery attributes for an event subscription for domain.

function getDeliveryAttributes(resourceGroupName: string, domainName: string, eventSubscriptionName: string, options?: DomainEventSubscriptionsGetDeliveryAttributesOptionalParams): Promise<DeliveryAttributeListResult>

Parameters

resourceGroupName

string

The name of the resource group within the user's subscription.

domainName

string

Name of the domain topic.

eventSubscriptionName

string

Name of the event subscription.

Returns

getFullUrl(string, string, string, DomainEventSubscriptionsGetFullUrlOptionalParams)

Get the full endpoint URL for an event subscription for domain.

function getFullUrl(resourceGroupName: string, domainName: string, eventSubscriptionName: string, options?: DomainEventSubscriptionsGetFullUrlOptionalParams): Promise<EventSubscriptionFullUrl>

Parameters

resourceGroupName

string

The name of the resource group within the user's subscription.

domainName

string

Name of the domain topic.

eventSubscriptionName

string

Name of the event subscription.

options
DomainEventSubscriptionsGetFullUrlOptionalParams

The options parameters.

Returns

list(string, string, DomainEventSubscriptionsListOptionalParams)

List all event subscriptions that have been created for a specific topic.

function list(resourceGroupName: string, domainName: string, options?: DomainEventSubscriptionsListOptionalParams): PagedAsyncIterableIterator<EventSubscription, EventSubscription[], PageSettings>

Parameters

resourceGroupName

string

The name of the resource group within the user's subscription.

domainName

string

Name of the domain.

options
DomainEventSubscriptionsListOptionalParams

The options parameters.

Returns