Skip to main content

CreateCloudStorageMetaDataCache

Select

SaaS
Customer Managed

Add metadata cache paths to storage

Path Parameters
  • cloudStorageId int32 required

    Id of cloud Storage

Request Body
  • mediaAgent object required
  • id int32
  • name string
  • credentials object
  • name string

    username to access the network path

  • password string

    password to access the network path

  • savedCredentials object
  • id int32
  • name string
  • path string required

    Metadata cache will be stored on this path

Responses

Success


Schema
  • errorMessage string
  • errorCode int32
POST /v4/storage/cloud/:cloudstorageid/metadatacache    

Authorization

type: apiKeyname: Authtokenin: header

Request

Click Edit to configure Base URL
https://CommandCenterHostName/commandcenter/api
Security Scheme
token
cloudStorageId — path required
Body

{
"mediaAgent": {
"id": 0,
"name": "string"
},
"credentials": {
"name": "string",
"password": "string"
},
"savedCredentials": {
"id": 0,
"name": "string"
},
"path": "string"
}
curl -L -X POST 'https://CommandCenterHostName/commandcenter/api/V4/Storage/Cloud/:cloudStorageId/MetadataCache' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"mediaAgent": {
"id": 0,
"name": "string"
},
"credentials": {
"name": "string",
"password": "string"
},
"savedCredentials": {
"id": 0,
"name": "string"
},
"path": "string"
}'