OfferCollection クラス

定義

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

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

コンストラクター

OfferCollection()

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

プロパティ

Client

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

(継承元 ArmCollection)
Diagnostics

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

(継承元 ArmCollection)
Endpoint

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

(継承元 ArmCollection)
Id

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

(継承元 ArmCollection)
Pipeline

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

(継承元 ArmCollection)

メソッド

Exists(String, String, CancellationToken)

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

  • 要求パス/サブスクリプション/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureStackHCI/clusters/{clusterName}/publishers/{publisherName}/offers/{offerName}
  • 操作IdOffers_Get
ExistsAsync(String, String, CancellationToken)

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

  • 要求パス/サブスクリプション/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureStackHCI/clusters/{clusterName}/publishers/{publisherName}/offers/{offerName}
  • 操作IdOffers_Get
Get(String, String, CancellationToken)

HCI クラスターの発行元内のオファー リソースの詳細を取得します。

  • 要求パス/サブスクリプション/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureStackHCI/clusters/{clusterName}/publishers/{publisherName}/offers/{offerName}
  • 操作IdOffers_Get
GetAll(String, CancellationToken)

HCI クラスター内のパブリッシャーが利用できるオファーを一覧表示します。

  • 要求パス/サブスクリプション/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureStackHCI/clusters/{clusterName}/publishers/{publisherName}/offers
  • 操作IdOffers_ListByPublisher
GetAllAsync(String, CancellationToken)

HCI クラスター内のパブリッシャーが利用できるオファーを一覧表示します。

  • 要求パス/サブスクリプション/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureStackHCI/clusters/{clusterName}/publishers/{publisherName}/offers
  • 操作IdOffers_ListByPublisher
GetAsync(String, String, CancellationToken)

HCI クラスターの発行元内のオファー リソースの詳細を取得します。

  • 要求パス/サブスクリプション/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureStackHCI/clusters/{clusterName}/publishers/{publisherName}/offers/{offerName}
  • 操作IdOffers_Get
TryGetApiVersion(ResourceType, String)

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

(継承元 ArmCollection)

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

IAsyncEnumerable<OfferResource>.GetAsyncEnumerator(CancellationToken)

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

IEnumerable.GetEnumerator()

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

IEnumerable<OfferResource>.GetEnumerator()

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

適用対象