Reservation Order - Change Directory
のディレクトリを ReservationOrder
変更します。
のディレクトリ (テナント) ReservationOrder
とその下にあるすべての Reservation
ディレクトリを指定したテナント ID に変更する
POST https://management.azure.com/providers/Microsoft.Capacity/reservationOrders/{reservationOrderId}/changeDirectory?api-version=2022-11-01
URI パラメーター
名前 | / | 必須 | 型 | 説明 |
---|---|---|---|---|
reservation
|
path | True |
string |
予約の注文 ID |
api-version
|
query | True |
string |
サポートされているバージョン。 |
要求本文
名前 | 型 | 説明 |
---|---|---|
destinationTenantId |
string |
予約注文を転送するテナント ID GUID |
応答
名前 | 型 | 説明 |
---|---|---|
200 OK |
ディレクトリの |
|
Other Status Codes |
予期しないエラーが発生しました。 |
例
ChangeDirectory
Sample Request
Sample Response
{
"reservationOrder": {
"id": "a075419f-44cc-497f-b68a-14ee811d48b9",
"name": "VM_RI_10-02-2020_15-21",
"isSucceeded": true,
"error": "error string"
},
"reservations": [
{
"id": "1f14354c-dc12-4c8d-8090-6f295a3a34aa",
"name": "VM_RI_10-02-2020_15-21",
"isSucceeded": true,
"error": "error string"
}
]
}
定義
名前 | 説明 |
---|---|
Change |
予約の変更ディレクトリの要求本文。 |
Change |
ディレクトリの応答を変更する |
Change |
予約注文または予約のディレクトリの結果を変更する |
Error |
エラー情報 |
Error |
サービスが受信要求を処理できない理由を説明するエラー コード |
Extended |
エラー コードとエラー メッセージを含む拡張エラー情報 |
ChangeDirectoryRequest
予約の変更ディレクトリの要求本文。
名前 | 型 | 説明 |
---|---|---|
destinationTenantId |
string |
予約注文を転送するテナント ID GUID |
ChangeDirectoryResponse
ディレクトリの応答を変更する
名前 | 型 | 説明 |
---|---|---|
reservationOrder |
予約注文または予約のディレクトリの結果を変更する |
|
reservations |
予約注文または予約のディレクトリの結果を変更する |
ChangeDirectoryResult
予約注文または予約のディレクトリの結果を変更する
名前 | 型 | 説明 |
---|---|---|
error |
string |
操作が失敗した場合のエラーの理由。 Null それ以外の場合 |
id |
string |
予約注文または予約の識別子 |
isSucceeded |
boolean |
この予約注文または予約でディレクトリ変更操作が成功した場合は True |
name |
string |
予約注文または予約の名前 |
Error
エラー情報
名前 | 型 | 説明 |
---|---|---|
error |
エラー コードとエラー メッセージを含む拡張エラー情報 |
ErrorResponseCode
サービスが受信要求を処理できない理由を説明するエラー コード
名前 | 型 | 説明 |
---|---|---|
ActivateQuoteFailed |
string |
|
AppliedScopesNotAssociatedWithCommerceAccount |
string |
|
AppliedScopesSameAsExisting |
string |
|
AuthorizationFailed |
string |
|
BadRequest |
string |
|
BillingCustomerInputError |
string |
|
BillingError |
string |
|
BillingPaymentInstrumentHardError |
string |
|
BillingPaymentInstrumentSoftError |
string |
|
BillingScopeIdCannotBeChanged |
string |
|
BillingTransientError |
string |
|
CalculatePriceFailed |
string |
|
CapacityUpdateScopesFailed |
string |
|
ClientCertificateThumbprintNotSet |
string |
|
CreateQuoteFailed |
string |
|
Forbidden |
string |
|
FulfillmentConfigurationError |
string |
|
FulfillmentError |
string |
|
FulfillmentOutOfStockError |
string |
|
FulfillmentTransientError |
string |
|
HttpMethodNotSupported |
string |
|
InternalServerError |
string |
|
InvalidAccessToken |
string |
|
InvalidFulfillmentRequestParameters |
string |
|
InvalidHealthCheckType |
string |
|
InvalidLocationId |
string |
|
InvalidRefundQuantity |
string |
|
InvalidRequestContent |
string |
|
InvalidRequestUri |
string |
|
InvalidReservationId |
string |
|
InvalidReservationOrderId |
string |
|
InvalidSingleAppliedScopesCount |
string |
|
InvalidSubscriptionId |
string |
|
InvalidTenantId |
string |
|
MissingAppliedScopesForSingle |
string |
|
MissingTenantId |
string |
|
NoValidReservationsToReRate |
string |
|
NonsupportedAccountId |
string |
|
NotSpecified |
string |
|
NotSupportedCountry |
string |
|
OperationCannotBePerformedInCurrentState |
string |
|
OperationFailed |
string |
|
PatchValuesSameAsExisting |
string |
|
PaymentInstrumentNotFound |
string |
|
PurchaseError |
string |
|
ReRateOnlyAllowedForEA |
string |
|
RefundLimitExceeded |
string |
|
ReservationIdNotInReservationOrder |
string |
|
ReservationOrderCreationFailed |
string |
|
ReservationOrderIdAlreadyExists |
string |
|
ReservationOrderNotEnabled |
string |
|
ReservationOrderNotFound |
string |
|
RiskCheckFailed |
string |
|
RoleAssignmentCreationFailed |
string |
|
SelfServiceRefundNotSupported |
string |
|
ServerTimeout |
string |
|
UnauthenticatedRequestsThrottled |
string |
|
UnsupportedReservationTerm |
string |
ExtendedErrorInfo
エラー コードとエラー メッセージを含む拡張エラー情報
名前 | 型 | 説明 |
---|---|---|
code |
サービスが受信要求を処理できない理由を説明するエラー コード |
|
message |
string |