The storageContainers resource type can be deployed with operations that target:
For a list of changed properties in each API version, see change log.
To create a Microsoft.AzureStackHCI/storageContainers resource, add the following JSON to your template.
{
"type": "Microsoft.AzureStackHCI/storageContainers",
"apiVersion": "2023-09-01-preview",
"name": "string",
"location": "string",
"tags": {
"tagName1": "tagValue1",
"tagName2": "tagValue2"
},
"extendedLocation": {
"name": "string",
"type": "CustomLocation"
},
"properties": {
"path": "string"
}
}
Name | Description | Value |
---|---|---|
type | The resource type | 'Microsoft.AzureStackHCI/storageContainers' |
apiVersion | The resource api version | '2023-09-01-preview' |
name | The resource name | string (required) |
location | The geo-location where the resource lives | string (required) |
tags | Resource tags. | Dictionary of tag names and values. See Tags in templates |
extendedLocation | The extendedLocation of the resource. | ExtendedLocation |
properties | Properties under the storage container resource | StorageContainerProperties |
Name | Description | Value |
---|---|---|
name | The name of the extended location. | string |
type | The type of the extended location. | 'CustomLocation' |
Name | Description | Value |
---|---|---|
path | Path of the storage container on the disk | string (required) |
The following quickstart templates deploy this resource type.
Template | Description |
---|---|
Create an Azure Stack HCI Storage Path |
This template creates an Azure Stack HCI Storage Path/Container representing a physical path on the Azure Stack HCI cluster. |