Create Azure File Share Instance
Select
SaaS
This API creates an Azure File Share Instance.
- application/json
Request Body
- CreateAzureFileInstance-Saas
- CreateAzureFileInstance-CustomerManaged
- name string required
ObjectStorage instance name.
plan object required
credential object required
contents object
- hostURL string
Optional. Defaults to file.core.windows.net
region object required
accessNodes array
- name string required
ObjectStorage instance name.
plan object required
credential object required
contents object
- hostURL string
Optional. Defaults to file.core.windows.net
accessNodes array required
Responses
- 200
OK
- application/json
- Schema
- Example (from schema)
Schema
- id integer
- name string
{
"id": 0,
"name": "string"
}
POST /v4/azurefile/instance
Authorization
type: apiKeyname: Authtokenin: header
Request
Request
curl -L -X POST 'https://CommandCenterHostName/commandcenter/api/V4/azurefile/instance' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"name": "string",
"plan": {
"id": 0,
"name": "string"
},
"credential": {
"id": 0,
"name": "string"
},
"contents": {
"path": [
null
],
"exclusions": [
null
],
"exceptions": [
null
]
},
"hostURL": "string",
"region": {
"id": 0,
"name": "string"
},
"accessNodes": [
null
]
}'
curl -L -X POST 'https://CommandCenterHostName/commandcenter/api/V4/azurefile/instance' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"name": "string",
"plan": {
"id": 0,
"name": "string"
},
"credential": {
"id": 0,
"name": "string"
},
"contents": {
"path": [
null
],
"exclusions": [
null
],
"exceptions": [
null
]
},
"hostURL": "string",
"region": {
"id": 0,
"name": "string"
},
"accessNodes": [
null
]
}'
curl -L -X POST 'https://CommandCenterHostName/commandcenter/api/V4/azurefile/instance' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"name": "string",
"plan": {
"id": 0,
"name": "string"
},
"credential": {
"id": 0,
"name": "string"
},
"contents": {
"path": [
null
],
"exclusions": [
null
],
"exceptions": [
null
]
},
"hostURL": "string",
"region": {
"id": 0,
"name": "string"
},
"accessNodes": [
null
]
}'
curl -L -X POST 'https://CommandCenterHostName/commandcenter/api/V4/azurefile/instance' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"name": "string",
"plan": {
"id": 0,
"name": "string"
},
"credential": {
"id": 0,
"name": "string"
},
"contents": {
"path": [
null
],
"exclusions": [
null
],
"exceptions": [
null
]
},
"hostURL": "string",
"region": {
"id": 0,
"name": "string"
},
"accessNodes": [
null
]
}'
curl -L -X POST 'https://CommandCenterHostName/commandcenter/api/V4/azurefile/instance' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"name": "string",
"plan": {
"id": 0,
"name": "string"
},
"credential": {
"id": 0,
"name": "string"
},
"contents": {
"path": [
null
],
"exclusions": [
null
],
"exceptions": [
null
]
},
"hostURL": "string",
"region": {
"id": 0,
"name": "string"
},
"accessNodes": [
null
]
}'
curl -L -X POST 'https://CommandCenterHostName/commandcenter/api/V4/azurefile/instance' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"name": "string",
"plan": {
"id": 0,
"name": "string"
},
"credential": {
"id": 0,
"name": "string"
},
"contents": {
"path": [
null
],
"exclusions": [
null
],
"exceptions": [
null
]
},
"hostURL": "string",
"region": {
"id": 0,
"name": "string"
},
"accessNodes": [
null
]
}'
curl -L -X POST 'https://CommandCenterHostName/commandcenter/api/V4/azurefile/instance' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"name": "string",
"plan": {
"id": 0,
"name": "string"
},
"credential": {
"id": 0,
"name": "string"
},
"contents": {
"path": [
null
],
"exclusions": [
null
],
"exceptions": [
null
]
},
"hostURL": "string",
"region": {
"id": 0,
"name": "string"
},
"accessNodes": [
null
]
}'