Configure New Azure Storage
Select
This API adds a cloud storage of type "Microsoft Azure Storage" BYOS.
- application/json
Request Body
- AzureStorage-SaaS
- AzureStorage-CustomerManaged
- name string required
Azure BYOS Storage name.
region object required
credential object
- container string required
Container or Library name.
backupGateways object[]
- authentication string required
Possible values: [
Access and secret keys
,IAM VM role assignment
,IAM AD application role assignment (Credential Manager)
]Authentication type for the storage account
- serviceHost string
Default value:
blob.core.windows.net
IP address or fully qualified domain name or URL for the cloud library based on cloud vendor
- accountName string
Account Name. Needed for credential type
IAM VM role assignment
andIAM AD application role assignment (Credential Manager)
authentication - name string required
Azure Storage Name
mediaAgent object required
credential object
- authentication string required
Possible values: [
Access and secret keys
,IAM VM role assignment
,IAM AD application role assignment (Credential Manager)
]Authentication type for the cloud storage server. Only Access & Account Name and IAM AD require credentials.
- accountName string
Only needed for IAM VM and IAM AD
deduplicationDBLocation object[]
- storageClass string required
Possible values: [
Container's default
,Hot
,Cool
,Archive
,Hot/Archive (Combined Storage Tiers)
,Cool/Archive (Combined Storage Tiers)
]Appropriate storage class for your account
- container string required
Container name
- serviceHost string
Default value:
blob.core.windows.net
IP address or fully qualified domain name or URL for the cloud library based on cloud vendor
- 200
OK
- application/json
- Schema
- Example (from schema)
- Microsoft Azure Storage
Schema
- id integer
newly created cloud storage id
- name string
newly created cloud storage name
{
"id": 0,
"name": "string"
}
{
"id": 2103,
"name": "CVMetallic-AzureDB1-Cloud storage teststorage7"
}
POST /v4/storage/cloud/azure
Authorization
type: apiKeyname: Authtokenin: header
Request
Request
curl -L -X POST 'https://CommandCenterHostName/commandcenter/api/V4/storage/cloud/azure' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"name": "string",
"region": {
"id": 0,
"name": "string"
},
"credential": {
"id": 0,
"name": "string"
},
"container": "string",
"backupGateways": [
{
"id": 0,
"name": "string"
}
],
"authentication": "Access and secret keys",
"serviceHost": "blob.core.windows.net",
"accountName": "string"
}'
curl -L -X POST 'https://CommandCenterHostName/commandcenter/api/V4/storage/cloud/azure' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"name": "string",
"region": {
"id": 0,
"name": "string"
},
"credential": {
"id": 0,
"name": "string"
},
"container": "string",
"backupGateways": [
{
"id": 0,
"name": "string"
}
],
"authentication": "Access and secret keys",
"serviceHost": "blob.core.windows.net",
"accountName": "string"
}'
curl -L -X POST 'https://CommandCenterHostName/commandcenter/api/V4/storage/cloud/azure' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"name": "string",
"region": {
"id": 0,
"name": "string"
},
"credential": {
"id": 0,
"name": "string"
},
"container": "string",
"backupGateways": [
{
"id": 0,
"name": "string"
}
],
"authentication": "Access and secret keys",
"serviceHost": "blob.core.windows.net",
"accountName": "string"
}'
curl -L -X POST 'https://CommandCenterHostName/commandcenter/api/V4/storage/cloud/azure' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"name": "string",
"region": {
"id": 0,
"name": "string"
},
"credential": {
"id": 0,
"name": "string"
},
"container": "string",
"backupGateways": [
{
"id": 0,
"name": "string"
}
],
"authentication": "Access and secret keys",
"serviceHost": "blob.core.windows.net",
"accountName": "string"
}'
curl -L -X POST 'https://CommandCenterHostName/commandcenter/api/V4/storage/cloud/azure' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"name": "string",
"region": {
"id": 0,
"name": "string"
},
"credential": {
"id": 0,
"name": "string"
},
"container": "string",
"backupGateways": [
{
"id": 0,
"name": "string"
}
],
"authentication": "Access and secret keys",
"serviceHost": "blob.core.windows.net",
"accountName": "string"
}'
curl -L -X POST 'https://CommandCenterHostName/commandcenter/api/V4/storage/cloud/azure' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"name": "string",
"region": {
"id": 0,
"name": "string"
},
"credential": {
"id": 0,
"name": "string"
},
"container": "string",
"backupGateways": [
{
"id": 0,
"name": "string"
}
],
"authentication": "Access and secret keys",
"serviceHost": "blob.core.windows.net",
"accountName": "string"
}'
curl -L -X POST 'https://CommandCenterHostName/commandcenter/api/V4/storage/cloud/azure' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"name": "string",
"region": {
"id": 0,
"name": "string"
},
"credential": {
"id": 0,
"name": "string"
},
"container": "string",
"backupGateways": [
{
"id": 0,
"name": "string"
}
],
"authentication": "Access and secret keys",
"serviceHost": "blob.core.windows.net",
"accountName": "string"
}'