Modify Instance
Select
SaaS
Modifies the properties of the object storage instance
Path Parameters
- instanceId string required
ID of the object storage instance
- application/json
Request Body
This request enables modifications to the instance name, the associated access nodes, authentication method, host url, and the assigned plan.
instanceProperties object
Responses
- 200
- 409
OK
- application/json
- Schema
- Example (from schema)
Schema
processinginstructioninfo object
response object[]
{
"processinginstructioninfo": {
"attributes": [
{
"name": "string",
"value": "string"
}
]
},
"response": [
{
"warningCode": 0,
"errorCode": 0,
"warningMessage": "string",
"entity": {
"subclientId": 0,
"clientId": 0,
"_SubclType_": 0,
"instanceName": "string",
"instanceId": 0,
"_type_": 0
}
}
]
}
Conflict
- application/json
- Schema
- Example (from schema)
Schema
- errorMessage string
- errorCode integer
{
"errorMessage": "string",
"errorCode": 0
}
POST /instance/:instanceid
Authorization
type: apiKeyname: Authtokenin: header
Request
Request
curl -L -X POST 'https://CommandCenterHostName/commandcenter/api/Instance/:instanceId' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"instanceProperties": {
"cloudAppsInstance": {
"instanceType": "ALIBABA_OSS",
"generalCloudProperties": {
"memberServers": [
{
"client": {
"clientId": 0,
"clientName": "string",
"clientGroupId": 0,
"clientGroupName": "string"
}
}
],
"credentials": {
"credentialId": 0,
"credentialName": "string"
}
},
"cloudInstance": {
"hostURL": "string",
"useIamRole": true,
"adAccountName": "string",
"serverName": "string",
"GCPProjectId": "string",
"endpointURL": "string",
"compartmentName": "string",
"includeSubCompartments": true
},
"credentialType": "AMAZON_S3"
},
"planEntity": {
"planId": 0,
"planName": "string"
},
"newName": "string"
}
}'
curl -L -X POST 'https://CommandCenterHostName/commandcenter/api/Instance/:instanceId' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"instanceProperties": {
"cloudAppsInstance": {
"instanceType": "ALIBABA_OSS",
"generalCloudProperties": {
"memberServers": [
{
"client": {
"clientId": 0,
"clientName": "string",
"clientGroupId": 0,
"clientGroupName": "string"
}
}
],
"credentials": {
"credentialId": 0,
"credentialName": "string"
}
},
"cloudInstance": {
"hostURL": "string",
"useIamRole": true,
"adAccountName": "string",
"serverName": "string",
"GCPProjectId": "string",
"endpointURL": "string",
"compartmentName": "string",
"includeSubCompartments": true
},
"credentialType": "AMAZON_S3"
},
"planEntity": {
"planId": 0,
"planName": "string"
},
"newName": "string"
}
}'
curl -L -X POST 'https://CommandCenterHostName/commandcenter/api/Instance/:instanceId' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"instanceProperties": {
"cloudAppsInstance": {
"instanceType": "ALIBABA_OSS",
"generalCloudProperties": {
"memberServers": [
{
"client": {
"clientId": 0,
"clientName": "string",
"clientGroupId": 0,
"clientGroupName": "string"
}
}
],
"credentials": {
"credentialId": 0,
"credentialName": "string"
}
},
"cloudInstance": {
"hostURL": "string",
"useIamRole": true,
"adAccountName": "string",
"serverName": "string",
"GCPProjectId": "string",
"endpointURL": "string",
"compartmentName": "string",
"includeSubCompartments": true
},
"credentialType": "AMAZON_S3"
},
"planEntity": {
"planId": 0,
"planName": "string"
},
"newName": "string"
}
}'
curl -L -X POST 'https://CommandCenterHostName/commandcenter/api/Instance/:instanceId' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"instanceProperties": {
"cloudAppsInstance": {
"instanceType": "ALIBABA_OSS",
"generalCloudProperties": {
"memberServers": [
{
"client": {
"clientId": 0,
"clientName": "string",
"clientGroupId": 0,
"clientGroupName": "string"
}
}
],
"credentials": {
"credentialId": 0,
"credentialName": "string"
}
},
"cloudInstance": {
"hostURL": "string",
"useIamRole": true,
"adAccountName": "string",
"serverName": "string",
"GCPProjectId": "string",
"endpointURL": "string",
"compartmentName": "string",
"includeSubCompartments": true
},
"credentialType": "AMAZON_S3"
},
"planEntity": {
"planId": 0,
"planName": "string"
},
"newName": "string"
}
}'
curl -L -X POST 'https://CommandCenterHostName/commandcenter/api/Instance/:instanceId' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"instanceProperties": {
"cloudAppsInstance": {
"instanceType": "ALIBABA_OSS",
"generalCloudProperties": {
"memberServers": [
{
"client": {
"clientId": 0,
"clientName": "string",
"clientGroupId": 0,
"clientGroupName": "string"
}
}
],
"credentials": {
"credentialId": 0,
"credentialName": "string"
}
},
"cloudInstance": {
"hostURL": "string",
"useIamRole": true,
"adAccountName": "string",
"serverName": "string",
"GCPProjectId": "string",
"endpointURL": "string",
"compartmentName": "string",
"includeSubCompartments": true
},
"credentialType": "AMAZON_S3"
},
"planEntity": {
"planId": 0,
"planName": "string"
},
"newName": "string"
}
}'
curl -L -X POST 'https://CommandCenterHostName/commandcenter/api/Instance/:instanceId' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"instanceProperties": {
"cloudAppsInstance": {
"instanceType": "ALIBABA_OSS",
"generalCloudProperties": {
"memberServers": [
{
"client": {
"clientId": 0,
"clientName": "string",
"clientGroupId": 0,
"clientGroupName": "string"
}
}
],
"credentials": {
"credentialId": 0,
"credentialName": "string"
}
},
"cloudInstance": {
"hostURL": "string",
"useIamRole": true,
"adAccountName": "string",
"serverName": "string",
"GCPProjectId": "string",
"endpointURL": "string",
"compartmentName": "string",
"includeSubCompartments": true
},
"credentialType": "AMAZON_S3"
},
"planEntity": {
"planId": 0,
"planName": "string"
},
"newName": "string"
}
}'
curl -L -X POST 'https://CommandCenterHostName/commandcenter/api/Instance/:instanceId' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"instanceProperties": {
"cloudAppsInstance": {
"instanceType": "ALIBABA_OSS",
"generalCloudProperties": {
"memberServers": [
{
"client": {
"clientId": 0,
"clientName": "string",
"clientGroupId": 0,
"clientGroupName": "string"
}
}
],
"credentials": {
"credentialId": 0,
"credentialName": "string"
}
},
"cloudInstance": {
"hostURL": "string",
"useIamRole": true,
"adAccountName": "string",
"serverName": "string",
"GCPProjectId": "string",
"endpointURL": "string",
"compartmentName": "string",
"includeSubCompartments": true
},
"credentialType": "AMAZON_S3"
},
"planEntity": {
"planId": 0,
"planName": "string"
},
"newName": "string"
}
}'