次の方法で共有


WebhooksOperationsExtensions.BeginCreateAsync メソッド

定義

指定したパラメーターを使用してコンテナー レジストリの Webhook を作成します。

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.ContainerRegistry.Fluent.Models.WebhookInner> BeginCreateAsync (this Microsoft.Azure.Management.ContainerRegistry.Fluent.IWebhooksOperations operations, string resourceGroupName, string registryName, string webhookName, Microsoft.Azure.Management.ContainerRegistry.Fluent.Models.WebhookCreateParametersInner webhookCreateParameters, System.Threading.CancellationToken cancellationToken = default);
static member BeginCreateAsync : Microsoft.Azure.Management.ContainerRegistry.Fluent.IWebhooksOperations * string * string * string * Microsoft.Azure.Management.ContainerRegistry.Fluent.Models.WebhookCreateParametersInner * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.ContainerRegistry.Fluent.Models.WebhookInner>
<Extension()>
Public Function BeginCreateAsync (operations As IWebhooksOperations, resourceGroupName As String, registryName As String, webhookName As String, webhookCreateParameters As WebhookCreateParametersInner, Optional cancellationToken As CancellationToken = Nothing) As Task(Of WebhookInner)

パラメーター

operations
IWebhooksOperations

この拡張メソッドの操作グループ。

resourceGroupName
String

コンテナー レジストリが属するリソース グループの名前。

registryName
String

コンテナー レジストリの名前。

webhookName
String

Webhook の名前。

webhookCreateParameters
WebhookCreateParametersInner

Webhook を作成するためのパラメーター。

cancellationToken
CancellationToken

キャンセル トークン。

戻り値

適用対象