次の方法で共有


SharedGalleryImageVersionCollection クラス

定義

のコレクション SharedGalleryImageVersionResource とその操作を表すクラス。 コレクション内の各 SharedGalleryImageVersionResource は、 の同じインスタンス SharedGalleryImageResourceに属します。 インスタンスを SharedGalleryImageVersionCollection 取得するには、 のインスタンス SharedGalleryImageResourceから GetSharedGalleryImageVersions メソッドを呼び出します。

public class SharedGalleryImageVersionCollection : Azure.ResourceManager.ArmCollection, System.Collections.Generic.IAsyncEnumerable<Azure.ResourceManager.Compute.SharedGalleryImageVersionResource>, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Compute.SharedGalleryImageVersionResource>
type SharedGalleryImageVersionCollection = class
    inherit ArmCollection
    interface seq<SharedGalleryImageVersionResource>
    interface IEnumerable
    interface IAsyncEnumerable<SharedGalleryImageVersionResource>
Public Class SharedGalleryImageVersionCollection
Inherits ArmCollection
Implements IAsyncEnumerable(Of SharedGalleryImageVersionResource), IEnumerable(Of SharedGalleryImageVersionResource)
継承
SharedGalleryImageVersionCollection
実装

コンストラクター

SharedGalleryImageVersionCollection()

モック作成のために クラスの SharedGalleryImageVersionCollection 新しいインスタンスを初期化します。

プロパティ

Client

このリソース クライアントの ArmClient 作成元を取得します。

(継承元 ArmCollection)
Diagnostics

このリソース クライアントの診断オプションを取得します。

(継承元 ArmCollection)
Endpoint

このリソース クライアントのベース URI を取得します。

(継承元 ArmCollection)
Id

リソース識別子を取得します。

(継承元 ArmCollection)
Pipeline

このリソース クライアントのパイプラインを取得します。

(継承元 ArmCollection)

メソッド

Exists(String, CancellationToken)

リソースが Azure に存在するかどうかを確認します。

  • 要求パス/サブスクリプション/{subscriptionId}/providers/Microsoft.Compute/locations/{location}/sharedGalleries/{galleryUniqueName}/images/{galleryImageName}/versions/{galleryImageVersionName}
  • 操作IdSharedGalleryImageVersions_Get
ExistsAsync(String, CancellationToken)

リソースが Azure に存在するかどうかを確認します。

  • 要求パス/サブスクリプション/{subscriptionId}/providers/Microsoft.Compute/locations/{location}/sharedGalleries/{galleryUniqueName}/images/{galleryImageName}/versions/{galleryImageVersionName}
  • 操作IdSharedGalleryImageVersions_Get
Get(String, CancellationToken)

サブスクリプション ID またはテナント ID で共有ギャラリー イメージバージョンを取得します。

  • 要求パス/サブスクリプション/{subscriptionId}/providers/Microsoft.Compute/locations/{location}/sharedGalleries/{galleryUniqueName}/images/{galleryImageName}/versions/{galleryImageVersionName}
  • 操作IdSharedGalleryImageVersions_Get
GetAll(Nullable<SharedToValue>, CancellationToken)

サブスクリプション ID またはテナント ID で共有ギャラリー イメージのバージョンを一覧表示します。

  • 要求パス/サブスクリプション/{subscriptionId}/providers/Microsoft.Compute/locations/{location}/sharedGalleries/{galleryUniqueName}/images/{galleryImageName}/versions
  • 操作IdSharedGalleryImageVersions_List
GetAllAsync(Nullable<SharedToValue>, CancellationToken)

サブスクリプション ID またはテナント ID で共有ギャラリー イメージのバージョンを一覧表示します。

  • 要求パス/サブスクリプション/{subscriptionId}/providers/Microsoft.Compute/locations/{location}/sharedGalleries/{galleryUniqueName}/images/{galleryImageName}/versions
  • 操作IdSharedGalleryImageVersions_List
GetAsync(String, CancellationToken)

サブスクリプション ID またはテナント ID で共有ギャラリー イメージバージョンを取得します。

  • 要求パス/サブスクリプション/{subscriptionId}/providers/Microsoft.Compute/locations/{location}/sharedGalleries/{galleryUniqueName}/images/{galleryImageName}/versions/{galleryImageVersionName}
  • 操作IdSharedGalleryImageVersions_Get
TryGetApiVersion(ResourceType, String)

現在のクライアント オプションに対して設定されている場合は、API バージョンのオーバーライドを取得します。

(継承元 ArmCollection)

明示的なインターフェイスの実装

IAsyncEnumerable<SharedGalleryImageVersionResource>.GetAsyncEnumerator(CancellationToken)

コレクションを非同期に反復処理する列挙子を返します。

IEnumerable.GetEnumerator()

コレクションを反復処理する列挙子を返します。

IEnumerable<SharedGalleryImageVersionResource>.GetEnumerator()

コレクションを反復処理する列挙子を返します。

適用対象