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
System.String

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

domainName
System.String

Name of the domain.

domainTopicName
System.String

Name of the domain topic.

cancellationToken
System.Threading.CancellationToken

The cancellation token.

Returns

System.Threading.Tasks.Task<DomainTopic>

Remarks

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

Applies to