共用方式為


EndpointsOperationsExtensions.CreateAsync 方法

定義

在指定的訂用帳戶、資源群組和設定檔下,建立具有指定端點名稱的新 CDN 端點。

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.Cdn.Fluent.Models.EndpointInner> CreateAsync (this Microsoft.Azure.Management.Cdn.Fluent.IEndpointsOperations operations, string resourceGroupName, string profileName, string endpointName, Microsoft.Azure.Management.Cdn.Fluent.Models.EndpointInner endpoint, System.Threading.CancellationToken cancellationToken = default);
static member CreateAsync : Microsoft.Azure.Management.Cdn.Fluent.IEndpointsOperations * string * string * string * Microsoft.Azure.Management.Cdn.Fluent.Models.EndpointInner * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.Cdn.Fluent.Models.EndpointInner>
<Extension()>
Public Function CreateAsync (operations As IEndpointsOperations, resourceGroupName As String, profileName As String, endpointName As String, endpoint As EndpointInner, Optional cancellationToken As CancellationToken = Nothing) As Task(Of EndpointInner)

參數

operations
IEndpointsOperations

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

resourceGroupName
String

Azure 訂用帳戶內的資源組名。

profileName
String

資源群組內唯一的 CDN 設定檔名稱。

endpointName
String

設定檔下唯一的端點名稱。

endpoint
EndpointInner

端點屬性

cancellationToken
CancellationToken

取消語彙基元。

傳回

適用於