SharedGalleryResource.GetSharedGalleryImageAsync メソッド
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
サブスクリプション ID またはテナント ID で共有ギャラリー イメージを取得します。
- 要求パス/サブスクリプション/{subscriptionId}/providers/Microsoft.Compute/locations/{location}/sharedGalleries/{galleryUniqueName}/images/{galleryImageName}
- 操作IdSharedGalleryImages_Get
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Compute.SharedGalleryImageResource>> GetSharedGalleryImageAsync (string galleryImageName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetSharedGalleryImageAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Compute.SharedGalleryImageResource>>
override this.GetSharedGalleryImageAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Compute.SharedGalleryImageResource>>
Public Overridable Function GetSharedGalleryImageAsync (galleryImageName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of SharedGalleryImageResource))
パラメーター
- galleryImageName
- String
イメージ バージョンの一覧表示元となる共有ギャラリー イメージ定義の名前。
- cancellationToken
- CancellationToken
使用する取り消しトークン。
戻り値
例外
galleryImageName
は空の文字列であり、空でないと想定されていました。
galleryImageName
が null です。