共用方式為


DomainEventSubscriptionsOperationsExtensions.BeginCreateOrUpdate Method

Definition

Create or update an event subscription to a domain.

public static Microsoft.Azure.Management.EventGrid.Models.EventSubscription BeginCreateOrUpdate (this Microsoft.Azure.Management.EventGrid.IDomainEventSubscriptionsOperations operations, string resourceGroupName, string domainName, string eventSubscriptionName, Microsoft.Azure.Management.EventGrid.Models.EventSubscription eventSubscriptionInfo);
static member BeginCreateOrUpdate : Microsoft.Azure.Management.EventGrid.IDomainEventSubscriptionsOperations * string * string * string * Microsoft.Azure.Management.EventGrid.Models.EventSubscription -> Microsoft.Azure.Management.EventGrid.Models.EventSubscription
<Extension()>
Public Function BeginCreateOrUpdate (operations As IDomainEventSubscriptionsOperations, resourceGroupName As String, domainName As String, eventSubscriptionName As String, eventSubscriptionInfo As EventSubscription) As EventSubscription

Parameters

operations
IDomainEventSubscriptionsOperations

The operations group for this extension method.

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

Remarks

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

Applies to