Share via


CustomDomainsOperationsExtensions.BeginCreateOrUpdateAsync Method

Definition

Create or update custom domain of one lifecycle application.

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.AppPlatform.Models.CustomDomainResource> BeginCreateOrUpdateAsync (this Microsoft.Azure.Management.AppPlatform.ICustomDomainsOperations operations, string resourceGroupName, string serviceName, string appName, string domainName, Microsoft.Azure.Management.AppPlatform.Models.CustomDomainResource domainResource, System.Threading.CancellationToken cancellationToken = default);
static member BeginCreateOrUpdateAsync : Microsoft.Azure.Management.AppPlatform.ICustomDomainsOperations * string * string * string * string * Microsoft.Azure.Management.AppPlatform.Models.CustomDomainResource * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.AppPlatform.Models.CustomDomainResource>
<Extension()>
Public Function BeginCreateOrUpdateAsync (operations As ICustomDomainsOperations, resourceGroupName As String, serviceName As String, appName As String, domainName As String, domainResource As CustomDomainResource, Optional cancellationToken As CancellationToken = Nothing) As Task(Of CustomDomainResource)

Parameters

operations
ICustomDomainsOperations

The operations group for this extension method.

resourceGroupName
String

The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.

serviceName
String

The name of the Service resource.

appName
String

The name of the App resource.

domainName
String

The name of the custom domain resource.

domainResource
CustomDomainResource

Parameters for the create or update operation

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to