AddLocalPrimaryStorage
AddLocalPrimaryStorage
POST
/zstack/v1/primary-storage/local-storageOperation ID
AddLocalPrimaryStorageSince
0.6Execution Mode
SynchronousAuth Context
Auth RequiredAuth Context
Send these values as request headers when calling this API.
AuthorizationstringRequiredBearer Token
X-Tenant-IDstringX-Tenant-ID
Request Inputs
application/jsonBody Fields
paramsObjectRequiredRequest body parameter object.
urlStringRequiredThe URL of the local storage.
nameStringRequiredThe name of the local storage.
descriptionStringOptional. The detailed description of the local storage.
typeStringOptional. The primary storage type: LocalStorage.
zoneUuidStringRequiredThe zone UUID.
resourceUuidStringOptional. The resource UUID. If specified, the local storage will use this field as the UUID.
systemTagsListOptional. The system tags.
userTagsListOptional. The user tags.
