你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
DomainEventSubscriptions interface
Interface representing a DomainEventSubscriptions.
Methods
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.
The options parameters.
Returns
Promise<PollerLike<@azure/core-lro.PollOperationState<EventSubscription>, EventSubscription>>
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.
The options parameters.
Returns
Promise<EventSubscription>
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.
The options parameters.
Returns
Promise<PollerLike<@azure/core-lro.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.
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.
The options parameters.
Returns
Promise<PollerLike<@azure/core-lro.PollOperationState<EventSubscription>, EventSubscription>>
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.
The options parameters.
Returns
Promise<EventSubscription>
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.
The options parameters.
Returns
Promise<EventSubscription>
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.
The options parameters.
Returns
Promise<DeliveryAttributeListResult>
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.
The options parameters.
Returns
Promise<EventSubscriptionFullUrl>
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.
The options parameters.