File Shares

POST /v1beta/{tenantId}/file/shares

Changed on

Creates a file share.

Request

  • Base URL
    https://localhost:50040
  • Auth
    HTTP basic

Request body

namestring required
descriptionstring
sizeinteger required
availabilityZonestring
profileIdstring

Example request

{
  "size": 2
}

Response

Accepted

idstring
createdAtstring date-time
updatedAtstring date-time
tenantIdstring
userIdstring
namestring
descriptionstring
sizeinteger
availabilityZonestring
statusstring
profileIdstring
protocolsstring[]
exportLocationsstring[]
metadataobject

Example response

{
  "id": "084bf71e-a102-11e7-88a8-e31fe6d52248",
  "createdAt": "2017-07-10T14:36:58.014Z",
  "updatedAt": "2017-07-10T14:36:58.014Z",
  "size": 2,
  "metadata": {
    "lvPath": "string",
    "nfsFileshareID": "string",
    "nfsFileshareName": "string"
  }
}

Changes

    • warning

      changed the pattern of the request property from ^(([a-zA-Z0-9_-]|[a-zA-Z0-9_-][a-zA-Z0-9_-]*[a-zA-Z0-9_-]))*([A-Za-z0-9_-]|[A-Za-z0-9_-][A-Za-z0-9_-]*[A-Za-z0-9_-])$ to ^(([a-zA-Z0-9]|[a-zA-Z0-9][a-zA-Z0-9\-\_]*[a-zA-Z0-9])\.)*([A-Za-z0-9]|[A-Za-z0-9][A-Za-z0-9\-\_]*[A-Za-z0-9])$

    • warning

      changed the pattern of the request property from [A-Za-z0-9_-] to ^(([a-zA-Z0-9_-]|[a-zA-Z0-9_-][a-zA-Z0-9_-]*[a-zA-Z0-9_-]))*([A-Za-z0-9_-]|[A-Za-z0-9_-][A-Za-z0-9_-]*[A-Za-z0-9_-])$