Share via


DomainsOperationsExtensions.UpdateAsync Method

Definition

Update a domain.

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

Parameters

operations
IDomainsOperations

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.

domainUpdateParameters
DomainUpdateParameters

Domain update information.

cancellationToken
CancellationToken

The cancellation token.

Returns

Remarks

Asynchronously updates a domain with the specified parameters.

Applies to