次の方法で共有


SphereImageCollection クラス

定義

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

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

コンストラクター

SphereImageCollection()

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

プロパティ

Client

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

(継承元 ArmCollection)
Diagnostics

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

(継承元 ArmCollection)
Endpoint

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

(継承元 ArmCollection)
Id

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

(継承元 ArmCollection)
Pipeline

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

(継承元 ArmCollection)

メソッド

CreateOrUpdate(WaitUntil, String, SphereImageData, CancellationToken)

イメージを作成する

  • 要求パス/サブスクリプション/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureSphere/catalogs/{catalogName}/images/{imageName}
  • 操作IdImages_CreateOrUpdate
CreateOrUpdateAsync(WaitUntil, String, SphereImageData, CancellationToken)

イメージを作成する

  • 要求パス/サブスクリプション/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureSphere/catalogs/{catalogName}/images/{imageName}
  • 操作IdImages_CreateOrUpdate
Exists(String, CancellationToken)

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

  • 要求パス/サブスクリプション/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureSphere/catalogs/{catalogName}/images/{imageName}
  • 操作IdImages_Get
ExistsAsync(String, CancellationToken)

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

  • 要求パス/サブスクリプション/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureSphere/catalogs/{catalogName}/images/{imageName}
  • 操作IdImages_Get
Get(String, CancellationToken)

画像を取得する

  • 要求パス/サブスクリプション/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureSphere/catalogs/{catalogName}/images/{imageName}
  • 操作IdImages_Get
GetAll(String, Nullable<Int32>, Nullable<Int32>, Nullable<Int32>, CancellationToken)

カタログ別にイメージ リソースを一覧表示する

  • 要求パス/サブスクリプション/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureSphere/catalogs/{catalogName}/images
  • 操作IdImages_ListByCatalog
GetAllAsync(String, Nullable<Int32>, Nullable<Int32>, Nullable<Int32>, CancellationToken)

カタログ別にイメージ リソースを一覧表示する

  • 要求パス/サブスクリプション/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureSphere/catalogs/{catalogName}/images
  • 操作IdImages_ListByCatalog
GetAsync(String, CancellationToken)

画像を取得する

  • 要求パス/サブスクリプション/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureSphere/catalogs/{catalogName}/images/{imageName}
  • 操作IdImages_Get
TryGetApiVersion(ResourceType, String)

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

(継承元 ArmCollection)

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

IAsyncEnumerable<SphereImageResource>.GetAsyncEnumerator(CancellationToken)

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

IEnumerable.GetEnumerator()

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

IEnumerable<SphereImageResource>.GetEnumerator()

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

適用対象