Add Storage Array
Creating a Storage Array
- application/json
Request Body
Request to create an Array
general object
accessNodes object[]
snapConfigurations object[]
Responses
- 200
- 404
- 500
OK
- application/json
- Schema
- Example (from schema)
Schema
- errorMessage string
- errorCode int32
{
"errorMessage": "string",
"errorCode": 0
}
Not Found
- application/json
- Schema
- Example (from schema)
Schema
- errorMessage string
- errorCode int32
{
"errorMessage": "string",
"errorCode": 0
}
Internal Server Error
- application/json
- Schema
- Example (from schema)
Schema
- errorMessage string
- errorCode int32
{
"errorMessage": "string",
"errorCode": 0
}
POST /v4/storagearrays
Authorization
type: apiKeyname: Authtokenin: header
Request
Request
curl -L -X POST 'https://localhost/webconsole/api/V4/StorageArrays' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"general": {
"snapVendor": "string",
"name": "string",
"controlHost": "string",
"description": "string",
"credential": {
"userName": "string",
"password": "string"
},
"savedCredential": {
"id": 0,
"name": "string"
}
},
"accessNodes": [
{
"id": 0,
"name": "string",
"displayName": "string",
"pruning": true
}
],
"snapConfigurations": [
{
"masterConfigId": 0,
"name": "string",
"type": 1,
"value": "string",
"values": [
{
"id": 0,
"name": "string"
}
]
}
]
}'
curl -L -X POST 'https://localhost/webconsole/api/V4/StorageArrays' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"general": {
"snapVendor": "string",
"name": "string",
"controlHost": "string",
"description": "string",
"credential": {
"userName": "string",
"password": "string"
},
"savedCredential": {
"id": 0,
"name": "string"
}
},
"accessNodes": [
{
"id": 0,
"name": "string",
"displayName": "string",
"pruning": true
}
],
"snapConfigurations": [
{
"masterConfigId": 0,
"name": "string",
"type": 1,
"value": "string",
"values": [
{
"id": 0,
"name": "string"
}
]
}
]
}'
curl -L -X POST 'https://localhost/webconsole/api/V4/StorageArrays' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"general": {
"snapVendor": "string",
"name": "string",
"controlHost": "string",
"description": "string",
"credential": {
"userName": "string",
"password": "string"
},
"savedCredential": {
"id": 0,
"name": "string"
}
},
"accessNodes": [
{
"id": 0,
"name": "string",
"displayName": "string",
"pruning": true
}
],
"snapConfigurations": [
{
"masterConfigId": 0,
"name": "string",
"type": 1,
"value": "string",
"values": [
{
"id": 0,
"name": "string"
}
]
}
]
}'
curl -L -X POST 'https://localhost/webconsole/api/V4/StorageArrays' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"general": {
"snapVendor": "string",
"name": "string",
"controlHost": "string",
"description": "string",
"credential": {
"userName": "string",
"password": "string"
},
"savedCredential": {
"id": 0,
"name": "string"
}
},
"accessNodes": [
{
"id": 0,
"name": "string",
"displayName": "string",
"pruning": true
}
],
"snapConfigurations": [
{
"masterConfigId": 0,
"name": "string",
"type": 1,
"value": "string",
"values": [
{
"id": 0,
"name": "string"
}
]
}
]
}'
curl -L -X POST 'https://localhost/webconsole/api/V4/StorageArrays' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"general": {
"snapVendor": "string",
"name": "string",
"controlHost": "string",
"description": "string",
"credential": {
"userName": "string",
"password": "string"
},
"savedCredential": {
"id": 0,
"name": "string"
}
},
"accessNodes": [
{
"id": 0,
"name": "string",
"displayName": "string",
"pruning": true
}
],
"snapConfigurations": [
{
"masterConfigId": 0,
"name": "string",
"type": 1,
"value": "string",
"values": [
{
"id": 0,
"name": "string"
}
]
}
]
}'
curl -L -X POST 'https://localhost/webconsole/api/V4/StorageArrays' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"general": {
"snapVendor": "string",
"name": "string",
"controlHost": "string",
"description": "string",
"credential": {
"userName": "string",
"password": "string"
},
"savedCredential": {
"id": 0,
"name": "string"
}
},
"accessNodes": [
{
"id": 0,
"name": "string",
"displayName": "string",
"pruning": true
}
],
"snapConfigurations": [
{
"masterConfigId": 0,
"name": "string",
"type": 1,
"value": "string",
"values": [
{
"id": 0,
"name": "string"
}
]
}
]
}'
curl -L -X POST 'https://localhost/webconsole/api/V4/StorageArrays' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"general": {
"snapVendor": "string",
"name": "string",
"controlHost": "string",
"description": "string",
"credential": {
"userName": "string",
"password": "string"
},
"savedCredential": {
"id": 0,
"name": "string"
}
},
"accessNodes": [
{
"id": 0,
"name": "string",
"displayName": "string",
"pruning": true
}
],
"snapConfigurations": [
{
"masterConfigId": 0,
"name": "string",
"type": 1,
"value": "string",
"values": [
{
"id": 0,
"name": "string"
}
]
}
]
}'