次の方法で共有


CommunityGalleryImageCollection クラス

定義

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

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

コンストラクター

CommunityGalleryImageCollection()

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

プロパティ

Client

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

(継承元 ArmCollection)
Diagnostics

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

(継承元 ArmCollection)
Endpoint

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

(継承元 ArmCollection)
Id

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

(継承元 ArmCollection)
Pipeline

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

(継承元 ArmCollection)

メソッド

Exists(String, CancellationToken)

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

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

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

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

コミュニティ ギャラリーイメージを取得します。

  • 要求パス/サブスクリプション/{subscriptionId}/providers/Microsoft.Compute/locations/{location}/communityGalleries/{publicGalleryName}/images/{galleryImageName}
  • 操作IdCommunityGalleryImages_Get
GetAll(CancellationToken)

ギャラリー内のコミュニティ ギャラリーイメージを一覧表示します。

  • 要求パス/サブスクリプション/{subscriptionId}/providers/Microsoft.Compute/locations/{location}/communityGalleries/{publicGalleryName}/images
  • 操作IdCommunityGalleryImages_List
GetAllAsync(CancellationToken)

ギャラリー内のコミュニティ ギャラリーイメージを一覧表示します。

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

コミュニティ ギャラリーイメージを取得します。

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

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

(継承元 ArmCollection)

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

IAsyncEnumerable<CommunityGalleryImageResource>.GetAsyncEnumerator(CancellationToken)

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

IEnumerable.GetEnumerator()

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

IEnumerable<CommunityGalleryImageResource>.GetEnumerator()

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

適用対象