次の方法で共有


ReservationsExtensions.GetCatalogAsync メソッド

定義

オーバーロード

GetCatalogAsync(SubscriptionResource, SubscriptionResourceGetCatalogOptions, CancellationToken)

指定した Azure サブスクリプションの RI 購入に使用できるリージョンと SKU を取得します。

  • 要求パス/サブスクリプション/{subscriptionId}/providers/Microsoft.Capacity/catalogs
  • 操作 IDGetCatalog
GetCatalogAsync(SubscriptionResource, String, Nullable<AzureLocation>, String, String, String, CancellationToken)

指定した Azure サブスクリプションの RI 購入に使用できるリージョンと SKU を取得します。

  • 要求パス/サブスクリプション/{subscriptionId}/providers/Microsoft.Capacity/catalogs
  • 操作 IDGetCatalog

GetCatalogAsync(SubscriptionResource, SubscriptionResourceGetCatalogOptions, CancellationToken)

指定した Azure サブスクリプションの RI 購入に使用できるリージョンと SKU を取得します。

  • 要求パス/サブスクリプション/{subscriptionId}/providers/Microsoft.Capacity/catalogs
  • 操作 IDGetCatalog
public static Azure.AsyncPageable<Azure.ResourceManager.Reservations.Models.ReservationCatalog> GetCatalogAsync (this Azure.ResourceManager.Resources.SubscriptionResource subscriptionResource, Azure.ResourceManager.Reservations.Models.SubscriptionResourceGetCatalogOptions options, System.Threading.CancellationToken cancellationToken = default);
static member GetCatalogAsync : Azure.ResourceManager.Resources.SubscriptionResource * Azure.ResourceManager.Reservations.Models.SubscriptionResourceGetCatalogOptions * System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.Reservations.Models.ReservationCatalog>
<Extension()>
Public Function GetCatalogAsync (subscriptionResource As SubscriptionResource, options As SubscriptionResourceGetCatalogOptions, Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of ReservationCatalog)

パラメーター

subscriptionResource
SubscriptionResource

SubscriptionResourceメソッドが実行されるインスタンス。

options
SubscriptionResourceGetCatalogOptions

LRO 修飾子と要求コンテキスト パラメーターを除く、このメソッドのすべてのパラメーターを含むプロパティ バッグ。

cancellationToken
CancellationToken

使用する取り消しトークン。

戻り値

AsyncPageable<Azure.ResourceManager.Reservations.Models.ReservationCatalog>

反復処理するために複数の Azure.ResourceManager.Reservations.Models.ReservationCatalog サービス要求を受け取る可能性がある の非同期コレクション。

適用対象

GetCatalogAsync(SubscriptionResource, String, Nullable<AzureLocation>, String, String, String, CancellationToken)

指定した Azure サブスクリプションの RI 購入に使用できるリージョンと SKU を取得します。

  • 要求パス/サブスクリプション/{subscriptionId}/providers/Microsoft.Capacity/catalogs
  • 操作 IDGetCatalog
public static Azure.AsyncPageable<Azure.ResourceManager.Reservations.Models.ReservationCatalog> GetCatalogAsync (this Azure.ResourceManager.Resources.SubscriptionResource subscriptionResource, string reservedResourceType = default, Azure.Core.AzureLocation? location = default, string publisherId = default, string offerId = default, string planId = default, System.Threading.CancellationToken cancellationToken = default);
static member GetCatalogAsync : Azure.ResourceManager.Resources.SubscriptionResource * string * Nullable<Azure.Core.AzureLocation> * string * string * string * System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.Reservations.Models.ReservationCatalog>
<Extension()>
Public Function GetCatalogAsync (subscriptionResource As SubscriptionResource, Optional reservedResourceType As String = Nothing, Optional location As Nullable(Of AzureLocation) = Nothing, Optional publisherId As String = Nothing, Optional offerId As String = Nothing, Optional planId As String = Nothing, Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of ReservationCatalog)

パラメーター

subscriptionResource
SubscriptionResource

SubscriptionResourceメソッドが実行されるインスタンス。

reservedResourceType
String

SKU を指定する必要があるリソースの種類。

location
Nullable<AzureLocation>

このパラメーターで指定された場所に基づいて SKU をフィルター処理します。 これは、Azure リージョンまたはグローバルにすることができます。

publisherId
String

サードパーティ製品を取得するために使用される発行元 ID。

offerId
String

サード パーティ製品を取得するために使用されるオファー ID。

planId
String

サードパーティ製品を取得するために使用されるプラン ID。

cancellationToken
CancellationToken

使用する取り消しトークン。

戻り値

AsyncPageable<Azure.ResourceManager.Reservations.Models.ReservationCatalog>

反復処理するために複数の Azure.ResourceManager.Reservations.Models.ReservationCatalog サービス要求を受け取る可能性がある の非同期コレクション。

適用対象