次の方法で共有


GalleryImageCollection クラス

定義

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

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

コンストラクター

GalleryImageCollection()

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

プロパティ

Client

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

(継承元 ArmCollection)
Diagnostics

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

(継承元 ArmCollection)
Endpoint

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

(継承元 ArmCollection)
Id

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

(継承元 ArmCollection)
Pipeline

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

(継承元 ArmCollection)

メソッド

CreateOrUpdate(WaitUntil, String, GalleryImageData, CancellationToken)

ギャラリー イメージ定義を作成または更新します。

  • 要求パス/サブスクリプション/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/gallerys/{galleryName}/images/{galleryImageName}
  • 操作IdGalleryImages_CreateOrUpdate
CreateOrUpdateAsync(WaitUntil, String, GalleryImageData, CancellationToken)

ギャラリー イメージ定義を作成または更新します。

  • 要求パス/サブスクリプション/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/gallerys/{galleryName}/images/{galleryImageName}
  • 操作IdGalleryImages_CreateOrUpdate
Exists(String, CancellationToken)

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

  • 要求パス/サブスクリプション/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/gallerys/{galleryName}/images/{galleryImageName}
  • 操作IdGalleryImages_Get
ExistsAsync(String, CancellationToken)

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

  • 要求パス/サブスクリプション/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/gallerys/{galleryName}/images/{galleryImageName}
  • 操作IdGalleryImages_Get
Get(String, CancellationToken)

ギャラリー イメージ定義に関する情報を取得します。

  • 要求パス/サブスクリプション/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/gallerys/{galleryName}/images/{galleryImageName}
  • 操作IdGalleryImages_Get
GetAll(CancellationToken)

ギャラリー内のギャラリー イメージ定義を一覧表示します。

  • Request Path/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleryName}/images
  • 操作IdGalleryImages_ListByGallery
GetAllAsync(CancellationToken)

ギャラリー内のギャラリー イメージ定義を一覧表示します。

  • Request Path/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleryName}/images
  • 操作IdGalleryImages_ListByGallery
GetAsync(String, CancellationToken)

ギャラリー イメージ定義に関する情報を取得します。

  • 要求パス/サブスクリプション/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/gallerys/{galleryName}/images/{galleryImageName}
  • 操作IdGalleryImages_Get
TryGetApiVersion(ResourceType, String)

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

(継承元 ArmCollection)

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

IAsyncEnumerable<GalleryImageResource>.GetAsyncEnumerator(CancellationToken)

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

IEnumerable.GetEnumerator()

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

IEnumerable<GalleryImageResource>.GetEnumerator()

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

適用対象