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 [ 2 .. 220 ] 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 [ 2 .. 40 ] characters |
first_name required | string [ 2 .. 40 ] 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
OK
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
OK
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
No Content
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 |
last_name required | string [ 2 .. 40 ] characters |
first_name required | string [ 2 .. 40 ] characters |
phone_number required | string <= 64 characters |
mailaddress required | string <email> <= 100 characters |
Responses
OK
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",
- "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."
}
Post Gdap
Authorizations:
path Parameters
tenant_id required | string |
Responses
OK
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",
- "displayName": "test",
- "approvalUri": "https://admin.microsoft.com/AdminPortal/Home#/partners/invitation/granularAdminRelationships/<GDAP relationship ID>",
- "status": "created"
}
Get Gdaps
Authorizations:
path Parameters
tenant_id required | string |
Responses
OK
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.
Response samples
- 200
- 400
- 401
- 403
- 404
{- "gdaps": [
- {
- "id": "string",
- "displayName": "test",
- "approvalUri": "https://admin.microsoft.com/AdminPortal/Home#/partners/invitation/granularAdminRelationships/<GDAP relationship ID>",
- "approvalDate": "2022-11-18 10:49:10 +0900",
- "expirationDate": "2024-11-17 10:54:09 +0900",
- "status": "created"
}
]
}
Complete Gdap Activation
Authorizations:
path Parameters
tenant_id required | string |
gdap_id required | string |
Responses
No Content
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.
Response samples
- 400
- 401
- 403
- 404
{- "Title": "BadRequest",
- "Message": "Bad request."
}
Post AzurePlan
Authorizations:
path Parameters
tenant_id required | string |
Request Body schema: application/json
account_name | string <= 128 characters |
Responses
Accepted
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.
Request samples
- Payload
{- "account_name": "user@<Unique ID>.onmicrosoft.com"
}
Response samples
- 400
- 401
- 403
- 404
{- "Title": "BadRequest",
- "Message": "Bad request."
}
Get AzurePlan
Authorizations:
path Parameters
tenant_id required | string |
Responses
OK
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.
Response samples
- 200
- 400
- 401
- 403
- 404
{- "id": "string",
- "status": "provisioning"
}
Delete AzurePlan
Authorizations:
path Parameters
tenant_id required | string |
Responses
No Content
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.
The request has failed due to some unknown error.
Response samples
- 400
- 401
- 403
- 404
- 500
{- "Title": "BadRequest",
- "Message": "Bad request."
}
Get Subscriptions
Authorizations:
path Parameters
tenant_id required | string |
Responses
OK
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
No Content
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
No Content
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."
}
Add Subscription
Authorizations:
path Parameters
tenant_id required | string |
Request Body schema: application/json
account_name required | string <= 128 characters |
subscriptionNickName required | string <= 60 characters Subscription name |
Responses
Accepted
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
{- "account_name": "user@<Unique ID>.onmicrosoft.com",
- "subscriptionNickName": "test"
}
Response samples
- 202
- 400
- 401
- 403
- 404
- 405
- 409
- 500
{- "request": "accepted"
}
Get Usage
Authorizations:
path Parameters
tenant_id required | string |
query Parameters
year required | string Example: year=2021 |
month required | string Example: month=01 |
Responses
OK
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."
}