DomainsOperationsExtensions.UpdateAsync(IDomainsOperations, String, String, DomainPatchResource, CancellationToken) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Creates or updates a domain.
public static System.Threading.Tasks.Task<Microsoft.Azure.Management.WebSites.Models.Domain> UpdateAsync (this Microsoft.Azure.Management.WebSites.IDomainsOperations operations, string resourceGroupName, string domainName, Microsoft.Azure.Management.WebSites.Models.DomainPatchResource domain, System.Threading.CancellationToken cancellationToken = null);
static member UpdateAsync : Microsoft.Azure.Management.WebSites.IDomainsOperations * string * string * Microsoft.Azure.Management.WebSites.Models.DomainPatchResource * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.WebSites.Models.Domain>
Parameters
- operations
- IDomainsOperations
The operations group for this extension method.
- resourceGroupName
- System.String
Name of the resource group to which the resource belongs.
- domainName
- System.String
Name of the domain.
- domain
- DomainPatchResource
Domain registration information.
- cancellationToken
- System.Threading.CancellationToken
The cancellation token.
Returns
- System.Threading.Tasks.Task<Domain>
Remarks
Creates or updates a domain.