Create DocumentDB Instance
Select
SaaS
Customer Managed
This API creates a new AWS DocumentDB instance
This operation creates a default subclient. To specify the clusters to be added, update the subclient (cluster group) to specify the clusters and regions to be backed up.
- application/json
Request Body
Post the necessary fields for the API to create a DocumentDB Instance
instanceProperties object
Responses
- 200
- 400
- application/json
- application/xml
- Schema
- Example (from schema)
- Example 1
Schema
processinginstructioninfo object
response object
{
"processinginstructioninfo": {
"attributes": [
{
"name": "string",
"value": "string"
}
]
},
"response": {
"warningCode": 0,
"errorCode": 0,
"warningMessage": "string",
"entity": {
"subclientId": 0,
"clientId": 0,
"instanceName": "string",
"instanceId": 0,
"_type_": 0
}
}
}
{
"processinginstructioninfo": {
"attributes": [
{
"name": "string",
"value": "string"
}
]
},
"response": {
"warningCode": 0,
"errorCode": 0,
"warningMessage": "string",
"entity": {
"subclientId": 0,
"clientId": 0,
"instanceName": "string",
"instanceId": 0,
"_type_": 0
}
}
}
- Schema
- Example (from schema)
- Example 1
Schema
processinginstructioninfo object
response object
<root>
<processinginstructioninfo>
<attributes>
<name>string</name>
<value>string</value>
</attributes>
</processinginstructioninfo>
<response>
<warningCode>0</warningCode>
<errorCode>0</errorCode>
<warningMessage>string</warningMessage>
<entity>
<subclientId>0</subclientId>
<clientId>0</clientId>
<instanceName>string</instanceName>
<instanceId>0</instanceId>
<_type_>0</_type_>
</entity>
</response>
</root>
{
"processinginstructioninfo": {
"attributes": [
{
"name": "exitval",
"value": "0"
}
]
},
"response": {
"warningCode": 0,
"errorCode": 0,
"warningMessage": "",
"entity": {
"subclientId": 16195,
"clientId": 1079,
"instanceName": "DocumentDB",
"instanceId": 5528,
"_type_": 0
}
}
}
Missing Required Information
POST /instance
Authorization
type: apiKeyname: Authtokenin: header
Request
Request
curl -L -X POST 'https://ServerURL/commandcenter/api/Instance' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"instanceProperties": {
"instance": {
"instanceName": "string",
"applicationId": 0,
"clientId": 0,
"clientName": "string"
},
"cloudAppsInstance": {
"instanceType": "AMAZON_DOCUMENTDB"
},
"planEntity": {
"planId": 0
},
"useResourcePoolInfo": true
}
}'
curl -L -X POST 'https://ServerURL/commandcenter/api/Instance' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"instanceProperties": {
"instance": {
"instanceName": "string",
"applicationId": 0,
"clientId": 0,
"clientName": "string"
},
"cloudAppsInstance": {
"instanceType": "AMAZON_DOCUMENTDB"
},
"planEntity": {
"planId": 0
},
"useResourcePoolInfo": true
}
}'
curl -L -X POST 'https://ServerURL/commandcenter/api/Instance' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"instanceProperties": {
"instance": {
"instanceName": "string",
"applicationId": 0,
"clientId": 0,
"clientName": "string"
},
"cloudAppsInstance": {
"instanceType": "AMAZON_DOCUMENTDB"
},
"planEntity": {
"planId": 0
},
"useResourcePoolInfo": true
}
}'
curl -L -X POST 'https://ServerURL/commandcenter/api/Instance' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"instanceProperties": {
"instance": {
"instanceName": "string",
"applicationId": 0,
"clientId": 0,
"clientName": "string"
},
"cloudAppsInstance": {
"instanceType": "AMAZON_DOCUMENTDB"
},
"planEntity": {
"planId": 0
},
"useResourcePoolInfo": true
}
}'
curl -L -X POST 'https://ServerURL/commandcenter/api/Instance' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"instanceProperties": {
"instance": {
"instanceName": "string",
"applicationId": 0,
"clientId": 0,
"clientName": "string"
},
"cloudAppsInstance": {
"instanceType": "AMAZON_DOCUMENTDB"
},
"planEntity": {
"planId": 0
},
"useResourcePoolInfo": true
}
}'
curl -L -X POST 'https://ServerURL/commandcenter/api/Instance' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"instanceProperties": {
"instance": {
"instanceName": "string",
"applicationId": 0,
"clientId": 0,
"clientName": "string"
},
"cloudAppsInstance": {
"instanceType": "AMAZON_DOCUMENTDB"
},
"planEntity": {
"planId": 0
},
"useResourcePoolInfo": true
}
}'
curl -L -X POST 'https://ServerURL/commandcenter/api/Instance' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"instanceProperties": {
"instance": {
"instanceName": "string",
"applicationId": 0,
"clientId": 0,
"clientName": "string"
},
"cloudAppsInstance": {
"instanceType": "AMAZON_DOCUMENTDB"
},
"planEntity": {
"planId": 0
},
"useResourcePoolInfo": true
}
}'