次の方法で共有


AzureReservationAPI class

Extends

コンストラクター

AzureReservationAPI(TokenCredential, AzureReservationAPIOptionalParams)

AzureReservationAPI クラスの新しいインスタンスを初期化します。

プロパティ

$host
calculateExchange
calculateRefund
exchange
operation
quota
quotaRequestStatus
reservation
reservationOrder
return

継承されたプロパティ

pipeline

このクライアントが要求を行うために使用するパイプライン

メソッド

getAppliedReservationList(string, GetAppliedReservationListOptionalParams)

このサブスクリプションまたはこのサブスクリプションのリソース グループに適用されている適用可能な Reservationを取得します。

listCatalog(string, GetCatalogOptionalParams)

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

継承されたメソッド

sendOperationRequest<T>(OperationArguments, OperationSpec)

指定された OperationSpec を使用して設定された HTTP 要求を送信します。

sendRequest(PipelineRequest)

指定された httpRequest を送信します。

コンストラクターの詳細

AzureReservationAPI(TokenCredential, AzureReservationAPIOptionalParams)

AzureReservationAPI クラスの新しいインスタンスを初期化します。

new AzureReservationAPI(credentials: TokenCredential, options?: AzureReservationAPIOptionalParams)

パラメーター

credentials
TokenCredential

クライアント サブスクリプションを一意に識別するサブスクリプション資格情報。

options
AzureReservationAPIOptionalParams

パラメーター のオプション

プロパティの詳細

$host

$host: string

プロパティ値

string

calculateExchange

calculateExchange: CalculateExchange

プロパティ値

calculateRefund

calculateRefund: CalculateRefund

プロパティ値

exchange

exchange: Exchange

プロパティ値

operation

operation: Operation

プロパティ値

quota

quota: Quota

プロパティ値

quotaRequestStatus

quotaRequestStatus: QuotaRequestStatus

プロパティ値

reservation

reservation: Reservation

プロパティ値

reservationOrder

reservationOrder: ReservationOrder

プロパティ値

return

return: Return

プロパティ値

継承されたプロパティの詳細

pipeline

このクライアントが要求を行うために使用するパイプライン

pipeline: Pipeline

プロパティ値

coreClient.ServiceClient.pipeline から継承

メソッドの詳細

getAppliedReservationList(string, GetAppliedReservationListOptionalParams)

このサブスクリプションまたはこのサブスクリプションのリソース グループに適用されている適用可能な Reservationを取得します。

function getAppliedReservationList(subscriptionId: string, options?: GetAppliedReservationListOptionalParams): Promise<AppliedReservations>

パラメーター

subscriptionId

string

サブスクリプションの ID

options
GetAppliedReservationListOptionalParams

オプション パラメーター。

戻り値

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 から継承