次の方法で共有


WebhooksOperationsExtensions.CreateAsync メソッド

定義

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

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

パラメーター

operations
IWebhooksOperations

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

resourceGroupName
String

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

registryName
String

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

webhookName
String

Webhook の名前。

webhookCreateParameters
WebhookCreateParameters

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

cancellationToken
CancellationToken

キャンセル トークン。

戻り値

適用対象