Hybrid Cloud with Microsoft Azure APIs (v2)
Download OpenAPI specification:Download
APIs for Hybrid Cloud with Microsoft Azure.
Post Customer
Authorizations:
path Parameters
tenant_id required | string |
Request Body schema: application/json
company required | string <= 256 characters |
country required | string Enum: "japan" "日本" |
postal_code required | string ^[0-9]{3,3}[-]?[0-9]{4,4}$ |
state required | string <= 128 characters |
city required | string <= 128 characters |
address1 required | string <= 200 characters |
address2 | string <= 200 characters |
last_name required | string <= 50 characters |
first_name required | string <= 50 characters |
phone_number required | string <= 64 characters |
mailaddress required | string <email> <= 100 characters |
culture required | string Enum: "ja-JP" "en-US" |
language required | string Enum: "ja" "en" |
Responses
Request was successful.
Some content in the request was invalid.
User must authenticate before making a request.
Policy does not allow current user to do this operation.
The requested resource could not be found.
Method not allowed.
Resource already exists.
The request has failed due to some unknown error.
Request samples
- Payload
{- "company": "NTT Communications Corporation",
- "country": "japan",
- "postal_code": "000-0000",
- "state": "Tokyo",
- "city": "Chiyoda-ku",
- "address1": "Otemachi 2-3-1",
- "address2": "Otemachi Place",
- "last_name": "Yamada",
- "first_name": "Taro",
- "phone_number": "000-0000-0000",
- "mailaddress": "user@example.com",
- "culture": "ja-JP",
- "language": "ja"
}
Response samples
- 200
- 400
- 401
- 403
- 404
- 405
- 409
- 500
{- "id": "string",
- "status": "provisioning",
- "companyProfile": {
- "tenantId": "string",
- "domain": "<Unique ID>.onmicrosoft.com",
- "companyName": "NTT Communications Corporation"
}, - "billingProfile": {
- "id": "string",
- "email": "user@example.com",
- "culture": "ja-JP",
- "language": "ja",
- "companyName": "NTT Communications Corporation",
- "defaultAddress": {
- "country": "japan",
- "city": "Chiyoda-ku",
- "state": "Tokyo",
- "addressLine1": "Otemachi 2-3-1",
- "addressLine2": "Otemachi Place",
- "postalCode": "000-0000",
- "firstName": "Taro",
- "lastName": "Yamada",
- "phoneNumber": "000-0000-0000"
}
}, - "userCredentials": {
- "userName": "admin",
- "password": "string"
}
}
Get Customer
Authorizations:
path Parameters
tenant_id required | string |
Responses
Request was successful.
Some content in the request was invalid.
User must authenticate before making a request.
Policy does not allow current user to do this operation.
The requested resource could not be found.
Method not allowed.
Resource already exists.
The request has failed due to some unknown error.
Response samples
- 200
- 400
- 401
- 403
- 404
- 405
- 409
- 500
{- "id": "string",
- "status": "provisioning",
- "companyProfile": {
- "tenantId": "string",
- "domain": "<Unique ID>.onmicrosoft.com",
- "companyName": "NTT Communications Corporation"
}, - "billingProfile": {
- "id": "string",
- "email": "user@example.com",
- "culture": "ja-JP",
- "language": "ja",
- "companyName": "NTT Communications Corporation",
- "defaultAddress": {
- "country": "japan",
- "city": "Chiyoda-ku",
- "state": "Tokyo",
- "addressLine1": "Otemachi 2-3-1",
- "addressLine2": "Otemachi Place",
- "postalCode": "000-0000",
- "firstName": "Taro",
- "lastName": "Yamada",
- "phoneNumber": "000-0000-0000"
}
}
}
Delete Customer
Authorizations:
path Parameters
tenant_id required | string |
Responses
Request was successful.
Some content in the request was invalid.
User must authenticate before making a request.
Policy does not allow current user to do this operation.
The requested resource could not be found.
Method not allowed.
Resource already exists.
The request has failed due to some unknown error.
Response samples
- 400
- 401
- 403
- 404
- 405
- 409
- 500
{- "Title": "BadRequest",
- "Message": "Bad request."
}
Post Domain
Authorizations:
path Parameters
tenant_id required | string |
Request Body schema: application/json
azure_tenant_name required | string <= 128 characters |
account_name required | string <= 128 characters |
last_name required | string <= 50 characters |
first_name required | string <= 50 characters |
phone_number required | string <= 64 characters |
mailaddress required | string <email> <= 100 characters |
Responses
Request was successful.
Some content in the request was invalid.
User must authenticate before making a request.
Policy does not allow current user to do this operation.
The requested resource could not be found.
Method not allowed.
Resource already exists.
The request has failed due to some unknown error.
Request samples
- Payload
{- "azure_tenant_name": "<Unique ID>.onmicrosoft.com",
- "account_name": "user@<Unique ID>.onmicrosoft.com",
- "last_name": "Yamada",
- "first_name": "Taro",
- "phone_number": "000-0000-0000",
- "mailaddress": "user@example.com"
}
Response samples
- 400
- 401
- 403
- 404
- 405
- 409
- 500
{- "Title": "BadRequest",
- "Message": "Bad request."
}
Get Subscriptions
Authorizations:
path Parameters
tenant_id required | string |
Responses
Request was successful.
Some content in the request was invalid.
User must authenticate before making a request.
Policy does not allow current user to do this operation.
The requested resource could not be found.
Method not allowed.
Resource already exists.
The request has failed due to some unknown error.
Response samples
- 200
- 400
- 401
- 403
- 404
- 405
- 409
- 500
[- {
- "id": "string",
- "tenantId": "string",
- "displayName": "test",
- "state": "Deleted"
}
]
Suspend Subscription
Authorizations:
path Parameters
tenant_id required | string |
subscription_id required | string |
Responses
Request was successful.
Some content in the request was invalid.
User must authenticate before making a request.
Policy does not allow current user to do this operation.
The requested resource could not be found.
Method not allowed.
Resource already exists.
The request has failed due to some unknown error.
Response samples
- 400
- 401
- 403
- 404
- 405
- 409
- 500
{- "Title": "BadRequest",
- "Message": "Bad request."
}
Enable Subscription
Authorizations:
path Parameters
tenant_id required | string |
subscription_id required | string |
Responses
Request was successful.
Some content in the request was invalid.
User must authenticate before making a request.
Policy does not allow current user to do this operation.
The requested resource could not be found.
Method not allowed.
Resource already exists.
The request has failed due to some unknown error.
Response samples
- 400
- 401
- 403
- 404
- 405
- 409
- 500
{- "Title": "BadRequest",
- "Message": "Bad request."
}