Share via


DomainTopicsOperationsExtensions.BeginCreateOrUpdateAsync Method

Definition

Create or update a domain topic.

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.EventGrid.Models.DomainTopic> BeginCreateOrUpdateAsync (this Microsoft.Azure.Management.EventGrid.IDomainTopicsOperations operations, string resourceGroupName, string domainName, string domainTopicName, System.Threading.CancellationToken cancellationToken = default);
static member BeginCreateOrUpdateAsync : Microsoft.Azure.Management.EventGrid.IDomainTopicsOperations * string * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.EventGrid.Models.DomainTopic>
<Extension()>
Public Function BeginCreateOrUpdateAsync (operations As IDomainTopicsOperations, resourceGroupName As String, domainName As String, domainTopicName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of DomainTopic)

Parameters

operations
IDomainTopicsOperations

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.

domainTopicName
String

Name of the domain topic.

cancellationToken
CancellationToken

The cancellation token.

Returns

Remarks

Asynchronously creates or updates a new domain topic with the specified parameters.

Applies to