次の方法で共有


GalleriesOperationsExtensions.CreateOrUpdateAsync メソッド

定義

Shared Image Galleryを作成または更新します。

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.Compute.Fluent.Models.GalleryInner> CreateOrUpdateAsync (this Microsoft.Azure.Management.Compute.Fluent.IGalleriesOperations operations, string resourceGroupName, string galleryName, Microsoft.Azure.Management.Compute.Fluent.Models.GalleryInner gallery, System.Threading.CancellationToken cancellationToken = default);
static member CreateOrUpdateAsync : Microsoft.Azure.Management.Compute.Fluent.IGalleriesOperations * string * string * Microsoft.Azure.Management.Compute.Fluent.Models.GalleryInner * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.Compute.Fluent.Models.GalleryInner>
<Extension()>
Public Function CreateOrUpdateAsync (operations As IGalleriesOperations, resourceGroupName As String, galleryName As String, gallery As GalleryInner, Optional cancellationToken As CancellationToken = Nothing) As Task(Of GalleryInner)

パラメーター

operations
IGalleriesOperations

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

resourceGroupName
String

リソース グループの名前。

galleryName
String

Shared Image Galleryの名前。 使用できる文字はアルファベットと数字で、中央にドットとピリオドを使用できます。 最大長は 80 文字です。

gallery
GalleryInner

作成または更新操作に指定されたパラメーター Shared Image Gallery。

cancellationToken
CancellationToken

キャンセル トークン。

戻り値

適用対象