次の方法で共有


SphereProductCollection クラス

定義

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

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

コンストラクター

SphereProductCollection()

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

プロパティ

Client

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

(継承元 ArmCollection)
Diagnostics

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

(継承元 ArmCollection)
Endpoint

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

(継承元 ArmCollection)
Id

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

(継承元 ArmCollection)
Pipeline

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

(継承元 ArmCollection)

メソッド

CreateOrUpdate(WaitUntil, String, SphereProductData, CancellationToken)

製品を作成します。 '.default' と '.unassigned' はシステム定義値であり、製品名には使用できません。

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

製品を作成します。 '.default' と '.unassigned' はシステム定義値であり、製品名には使用できません。

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

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

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

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

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

製品を取得します。 '.default' と '.unassigned' はシステム定義値であり、製品名には使用できません。

  • 要求パス/サブスクリプション/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureSphere/catalogs/{catalogName}/products/{productName}
  • 操作IdProducts_Get
GetAll(CancellationToken)

カタログ別に製品リソースを一覧表示する

  • 要求パス/サブスクリプション/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureSphere/catalogs/{catalogName}/products
  • 操作IdProducts_ListByCatalog
GetAllAsync(CancellationToken)

カタログ別に製品リソースを一覧表示する

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

製品を取得します。 '.default' と '.unassigned' はシステム定義値であり、製品名には使用できません。

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

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

(継承元 ArmCollection)

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

IAsyncEnumerable<SphereProductResource>.GetAsyncEnumerator(CancellationToken)

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

IEnumerable.GetEnumerator()

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

IEnumerable<SphereProductResource>.GetEnumerator()

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

適用対象