Add storage
Adds additional storage resources to the provider.
Request body
The configuration details of storage resources to be added to the provider deployment. Must be an object with unique names for the storages as keys and their corresponding configuration (objects) as values - see the request body example.
No schema provided.
Request Examples
{
"s3": {
"type": "s3",
"s3Hostname": "s3.example.com",
"iamHostname": "iam.example.com",
"bucketName": "bucket1.iam.example.com",
"accessKey": "4efb70ad3e1fc8dd73c721b8f683b2e831503892",
"secretKey": "fdeac26aedd3a179f9551d7007cc6a6273165782"
},
"swift": {
"type": "swift",
"authUrl": "http://keystone2.example.com",
"tenantName": "Project1",
"containerName": "Container1",
"username": "user",
"password": "p@$$w0rd"
}
}Responses
The storage resources have been successfully added to the provider deployment.
Invalid request.
| Property | Type & Description | ||||||
|---|---|---|---|---|---|---|---|
error object Object describing an error.
| |||||||
Example
{
"error": {
"id": "badValueString",
"details": {
"key": "name"
},
"description": "Bad value: provided \"name\" must be a string."
}
}Unauthorized request.
Forbidden request.
Internal server error.
| Property | Type & Description | ||||||
|---|---|---|---|---|---|---|---|
error object Object describing an error.
| |||||||
Example
{
"error": {
"id": "badValueString",
"details": {
"key": "name"
},
"description": "Bad value: provided \"name\" must be a string."
}
}Services needed to fulfill this request are not running.