Reservation interface
予約を表すインターフェイス。
メソッド
メソッドの詳細
archive(string, string, ReservationArchiveOptionalParams)
Reservation をアーカイブすると、Archived 状態になります。
function archive(reservationOrderId: string, reservationId: string, options?: ReservationArchiveOptionalParams): Promise<void>
パラメーター
- reservationOrderId
-
string
予約の注文 ID
- reservationId
-
string
予約項目の ID
- options
- ReservationArchiveOptionalParams
オプション パラメーター。
戻り値
Promise<void>
beginAvailableScopes(string, string, AvailableScopeRequest, ReservationAvailableScopesOptionalParams)
要求のスコープが Reservationに対して有効かどうかを確認します。
function beginAvailableScopes(reservationOrderId: string, reservationId: string, body: AvailableScopeRequest, options?: ReservationAvailableScopesOptionalParams): Promise<SimplePollerLike<OperationState<AvailableScopeProperties>, AvailableScopeProperties>>
パラメーター
- reservationOrderId
-
string
予約の注文 ID
- reservationId
-
string
予約項目の ID
適格性を確認するスコープ。
オプション パラメーター。
戻り値
Promise<@azure/core-lro.SimplePollerLike<OperationState<AvailableScopeProperties>, AvailableScopeProperties>>
beginAvailableScopesAndWait(string, string, AvailableScopeRequest, ReservationAvailableScopesOptionalParams)
要求のスコープが Reservationに対して有効かどうかを確認します。
function beginAvailableScopesAndWait(reservationOrderId: string, reservationId: string, body: AvailableScopeRequest, options?: ReservationAvailableScopesOptionalParams): Promise<AvailableScopeProperties>
パラメーター
- reservationOrderId
-
string
予約の注文 ID
- reservationId
-
string
予約項目の ID
適格性を確認するスコープ。
オプション パラメーター。
戻り値
Promise<AvailableScopeProperties>
beginMerge(string, MergeRequest, ReservationMergeOptionalParams)
指定した Reservationを新しい Reservationにマージします。 マージされる 2 つの Reservationは、同じプロパティを持つ必要があります。
function beginMerge(reservationOrderId: string, body: MergeRequest, options?: ReservationMergeOptionalParams): Promise<SimplePollerLike<OperationState<ReservationMergeResponse>, ReservationMergeResponse>>
パラメーター
- reservationOrderId
-
string
予約の注文 ID
- body
- MergeRequest
予約の商用要求に必要な情報
- options
- ReservationMergeOptionalParams
オプション パラメーター。
戻り値
Promise<@azure/core-lro.SimplePollerLike<OperationState<ReservationMergeResponse>, ReservationMergeResponse>>
beginMergeAndWait(string, MergeRequest, ReservationMergeOptionalParams)
指定した Reservationを新しい Reservationにマージします。 マージされる 2 つの Reservationは、同じプロパティを持つ必要があります。
function beginMergeAndWait(reservationOrderId: string, body: MergeRequest, options?: ReservationMergeOptionalParams): Promise<ReservationMergeResponse>
パラメーター
- reservationOrderId
-
string
予約の注文 ID
- body
- MergeRequest
予約の商用要求に必要な情報
- options
- ReservationMergeOptionalParams
オプション パラメーター。
戻り値
Promise<ReservationMergeResponse>
beginSplit(string, SplitRequest, ReservationSplitOptionalParams)
指定した数量分布を持つ 2 つの Reservationに Reservation を分割します。
function beginSplit(reservationOrderId: string, body: SplitRequest, options?: ReservationSplitOptionalParams): Promise<SimplePollerLike<OperationState<ReservationSplitResponse>, ReservationSplitResponse>>
パラメーター
- reservationOrderId
-
string
予約の注文 ID
- body
- SplitRequest
予約項目を分割するために必要な情報
- options
- ReservationSplitOptionalParams
オプション パラメーター。
戻り値
Promise<@azure/core-lro.SimplePollerLike<OperationState<ReservationSplitResponse>, ReservationSplitResponse>>
beginSplitAndWait(string, SplitRequest, ReservationSplitOptionalParams)
指定した数量分布を持つ 2 つの Reservationに Reservation を分割します。
function beginSplitAndWait(reservationOrderId: string, body: SplitRequest, options?: ReservationSplitOptionalParams): Promise<ReservationSplitResponse>
パラメーター
- reservationOrderId
-
string
予約の注文 ID
- body
- SplitRequest
予約項目を分割するために必要な情報
- options
- ReservationSplitOptionalParams
オプション パラメーター。
戻り値
Promise<ReservationSplitResponse>
beginUpdate(string, string, Patch, ReservationUpdateOptionalParams)
Reservationの適用されたスコープを更新します。
function beginUpdate(reservationOrderId: string, reservationId: string, parameters: Patch, options?: ReservationUpdateOptionalParams): Promise<SimplePollerLike<OperationState<ReservationResponse>, ReservationResponse>>
パラメーター
- reservationOrderId
-
string
予約の注文 ID
- reservationId
-
string
予約項目の ID
- parameters
- Patch
予約項目にパッチを適用するために必要な情報
- options
- ReservationUpdateOptionalParams
オプション パラメーター。
戻り値
Promise<@azure/core-lro.SimplePollerLike<OperationState<ReservationResponse>, ReservationResponse>>
beginUpdateAndWait(string, string, Patch, ReservationUpdateOptionalParams)
Reservationの適用されたスコープを更新します。
function beginUpdateAndWait(reservationOrderId: string, reservationId: string, parameters: Patch, options?: ReservationUpdateOptionalParams): Promise<ReservationResponse>
パラメーター
- reservationOrderId
-
string
予約の注文 ID
- reservationId
-
string
予約項目の ID
- parameters
- Patch
予約項目にパッチを適用するために必要な情報
- options
- ReservationUpdateOptionalParams
オプション パラメーター。
戻り値
Promise<ReservationResponse>
get(string, string, ReservationGetOptionalParams)
特定の Reservation の詳細を取得します。
function get(reservationOrderId: string, reservationId: string, options?: ReservationGetOptionalParams): Promise<ReservationResponse>
パラメーター
- reservationOrderId
-
string
予約の注文 ID
- reservationId
-
string
予約項目の ID
- options
- ReservationGetOptionalParams
オプション パラメーター。
戻り値
Promise<ReservationResponse>
list(string, ReservationListOptionalParams)
1 つの Reservation内の ReservationOrderを一覧表示します。
function list(reservationOrderId: string, options?: ReservationListOptionalParams): PagedAsyncIterableIterator<ReservationResponse, ReservationResponse[], PageSettings>
パラメーター
- reservationOrderId
-
string
予約の注文 ID
- options
- ReservationListOptionalParams
オプション パラメーター。
戻り値
listAll(ReservationListAllOptionalParams)
ユーザーが現在のテナントにアクセスできる状態をプロビジョニングして、予約と予約グループのロールアップ数を一覧表示します。
function listAll(options?: ReservationListAllOptionalParams): PagedAsyncIterableIterator<ReservationResponse, ReservationResponse[], PageSettings>
パラメーター
- options
- ReservationListAllOptionalParams
オプション パラメーター。
戻り値
listRevisions(string, string, ReservationListRevisionsOptionalParams)
Reservationのすべてのリビジョンの一覧。
function listRevisions(reservationOrderId: string, reservationId: string, options?: ReservationListRevisionsOptionalParams): PagedAsyncIterableIterator<ReservationResponse, ReservationResponse[], PageSettings>
パラメーター
- reservationOrderId
-
string
予約の注文 ID
- reservationId
-
string
予約項目の ID
オプション パラメーター。
戻り値
unarchive(string, string, ReservationUnarchiveOptionalParams)
Reservation をアーカイブ前の状態に復元します。
function unarchive(reservationOrderId: string, reservationId: string, options?: ReservationUnarchiveOptionalParams): Promise<void>
パラメーター
- reservationOrderId
-
string
予約の注文 ID
- reservationId
-
string
予約項目の ID
オプション パラメーター。
戻り値
Promise<void>