共用方式為


DomainsOperationsExtensions.CreateOrUpdateOwnershipIdentifierAsync 方法

定義

建立網域的擁有權識別碼,或更新現有識別碼的識別碼詳細資料

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.AppService.Fluent.Models.DomainOwnershipIdentifierInner> CreateOrUpdateOwnershipIdentifierAsync (this Microsoft.Azure.Management.AppService.Fluent.IDomainsOperations operations, string resourceGroupName, string domainName, string name, Microsoft.Azure.Management.AppService.Fluent.Models.DomainOwnershipIdentifierInner domainOwnershipIdentifier, System.Threading.CancellationToken cancellationToken = default);
static member CreateOrUpdateOwnershipIdentifierAsync : Microsoft.Azure.Management.AppService.Fluent.IDomainsOperations * string * string * string * Microsoft.Azure.Management.AppService.Fluent.Models.DomainOwnershipIdentifierInner * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.AppService.Fluent.Models.DomainOwnershipIdentifierInner>
<Extension()>
Public Function CreateOrUpdateOwnershipIdentifierAsync (operations As IDomainsOperations, resourceGroupName As String, domainName As String, name As String, domainOwnershipIdentifier As DomainOwnershipIdentifierInner, Optional cancellationToken As CancellationToken = Nothing) As Task(Of DomainOwnershipIdentifierInner)

參數

operations
IDomainsOperations

這個擴充方法的作業群組。

resourceGroupName
String

資源所屬資源群組的名稱。

domainName
String

功能變數名稱。

name
String

識別碼的名稱。

domainOwnershipIdentifier
DomainOwnershipIdentifierInner

網域擁有權屬性的 JSON 標記法。

cancellationToken
CancellationToken

取消語彙基元。

傳回

備註

為網域建立擁有權識別碼的描述,或更新現有識別碼的識別碼詳細資料

適用於