WebhooksOperationsExtensions.CreateAsync メソッド
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
指定したパラメーターを使用して、コンテナー レジストリの 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
キャンセル トークン。
戻り値
適用対象
GitHub で Microsoft と共同作業する
このコンテンツのソースは GitHub にあります。そこで、issue や pull request を作成および確認することもできます。 詳細については、共同作成者ガイドを参照してください。
Azure SDK for .NET