Reservation Order - Change Directory
Change directory of ReservationOrder
.
Change directory (tenant) of ReservationOrder
and all Reservation
under it to specified tenant id
POST https://management.azure.com/providers/Microsoft.Capacity/reservationOrders/{reservationOrderId}/changeDirectory?api-version=2022-11-01
URI Parameters
Name | In | Required | Type | Description |
---|---|---|---|---|
reservation
|
path | True |
string |
Order Id of the reservation |
api-version
|
query | True |
string |
Supported version. |
Request Body
Name | Type | Description |
---|---|---|
destinationTenantId |
string |
Tenant id GUID that reservation order is to be transferred to |
Responses
Name | Type | Description |
---|---|---|
200 OK |
List of |
|
Other Status Codes |
Unexpected error |
Examples
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"
}
]
}
Definitions
Name | Description |
---|---|
Change |
Request body for change directory of a reservation. |
Change |
Change directory response |
Change |
Change directory result for reservation order or reservation |
Error |
Error information |
Error |
Error code describing the reason that service is not able to process the incoming request |
Extended |
Extended error information including error code and error message |
ChangeDirectoryRequest
Request body for change directory of a reservation.
Name | Type | Description |
---|---|---|
destinationTenantId |
string |
Tenant id GUID that reservation order is to be transferred to |
ChangeDirectoryResponse
Change directory response
Name | Type | Description |
---|---|---|
reservationOrder |
Change directory result for reservation order or reservation |
|
reservations |
Change directory result for reservation order or reservation |
ChangeDirectoryResult
Change directory result for reservation order or reservation
Name | Type | Description |
---|---|---|
error |
string |
Error reason if operation failed. Null otherwise |
id |
string |
Identifier of the reservation order or reservation |
isSucceeded |
boolean |
True if change directory operation succeeded on this reservation order or reservation |
name |
string |
Name of the reservation order or reservation |
Error
Error information
Name | Type | Description |
---|---|---|
error |
Extended error information including error code and error message |
ErrorResponseCode
Error code describing the reason that service is not able to process the incoming request
Name | Type | Description |
---|---|---|
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
Extended error information including error code and error message
Name | Type | Description |
---|---|---|
code |
Error code describing the reason that service is not able to process the incoming request |
|
message |
string |