AzureReservationAPI class
- Extends
コンストラクター
| Azure |
AzureReservationAPI クラスの新しいインスタンスを初期化します。 |
プロパティ
| $host | |
| calculate |
|
| calculate |
|
| exchange | |
| operation | |
| quota | |
| quota |
|
| reservation | |
| reservation |
|
| return |
継承されたプロパティ
| pipeline | このクライアントが要求を行うために使用するパイプライン |
メソッド
| get |
このサブスクリプションまたはこのサブスクリプションのリソース グループに適用されている適用可能な |
| list |
指定した Azure サブスクリプションの RI 購入に使用できるリージョンと SKU を取得します。 |
継承されたメソッド
| send |
指定された OperationSpec を使用して設定された HTTP 要求を送信します。 |
| send |
指定された httpRequest を送信します。 |
コンストラクターの詳細
AzureReservationAPI(TokenCredential, AzureReservationAPIOptionalParams)
AzureReservationAPI クラスの新しいインスタンスを初期化します。
new AzureReservationAPI(credentials: TokenCredential, options?: AzureReservationAPIOptionalParams)
パラメーター
- credentials
- TokenCredential
クライアント サブスクリプションを一意に識別するサブスクリプション資格情報。
パラメーター のオプション
プロパティの詳細
$host
$host: string
プロパティ値
string
calculateExchange
calculateRefund
exchange
operation
quota
quotaRequestStatus
reservation
reservationOrder
return
継承されたプロパティの詳細
pipeline
このクライアントが要求を行うために使用するパイプライン
pipeline: Pipeline
プロパティ値
coreClient.ServiceClient.pipeline から継承
メソッドの詳細
getAppliedReservationList(string, GetAppliedReservationListOptionalParams)
このサブスクリプションまたはこのサブスクリプションのリソース グループに適用されている適用可能な Reservationを取得します。
function getAppliedReservationList(subscriptionId: string, options?: GetAppliedReservationListOptionalParams): Promise<AppliedReservations>
パラメーター
- subscriptionId
-
string
サブスクリプションの ID
オプション パラメーター。
戻り値
Promise<AppliedReservations>
listCatalog(string, GetCatalogOptionalParams)
指定した Azure サブスクリプションの RI 購入に使用できるリージョンと SKU を取得します。
function listCatalog(subscriptionId: string, options?: GetCatalogOptionalParams): PagedAsyncIterableIterator<Catalog, Catalog[], PageSettings>
パラメーター
- subscriptionId
-
string
サブスクリプションの ID
- options
- GetCatalogOptionalParams
オプション パラメーター。
戻り値
継承済みメソッドの詳細
sendOperationRequest<T>(OperationArguments, OperationSpec)
指定された OperationSpec を使用して設定された HTTP 要求を送信します。
function sendOperationRequest<T>(operationArguments: OperationArguments, operationSpec: OperationSpec): Promise<T>
パラメーター
- operationArguments
- OperationArguments
HTTP 要求のテンプレート値が設定される引数。
- operationSpec
- OperationSpec
httpRequest の設定に使用する OperationSpec。
戻り値
Promise<T>
coreClient.ServiceClient.sendOperationRequest から継承
sendRequest(PipelineRequest)
指定された httpRequest を送信します。
function sendRequest(request: PipelineRequest): Promise<PipelineResponse>
パラメーター
- request
- PipelineRequest
戻り値
Promise<PipelineResponse>
coreClient.ServiceClient.sendRequest から継承