次の方法で共有


GalleryResource.GetGalleryApplicationAsync(String, CancellationToken) メソッド

定義

ギャラリーアプリケーション定義に関する情報を取得します。

  • 要求パス/サブスクリプション/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/gallerys/{galleryName}/applications/{galleryApplicationName}
  • 操作IdGalleryApplications_Get
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Compute.GalleryApplicationResource>> GetGalleryApplicationAsync (string galleryApplicationName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetGalleryApplicationAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Compute.GalleryApplicationResource>>
override this.GetGalleryApplicationAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Compute.GalleryApplicationResource>>
Public Overridable Function GetGalleryApplicationAsync (galleryApplicationName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of GalleryApplicationResource))

パラメーター

galleryApplicationName
String

取得するギャラリーアプリケーション定義の名前。

cancellationToken
CancellationToken

使用する取り消しトークン。

戻り値

例外

galleryApplicationName は空の文字列であり、空でないと予想されていました。

galleryApplicationName が null です。

適用対象