PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerStorage/pools/{poolName}/volumes/{volumeName}/?api-version=2023-07-01-preview
Create a Volume
Servers
- https://management.azure.com/
Path parameters
Name | Type | Required | Description |
---|---|---|---|
poolName |
String | Yes |
Pool Object |
volumeName |
String | Yes |
Volume Resource |
subscriptionId |
String | Yes |
The ID of the target subscription. |
resourceGroupName |
String | Yes |
The name of the resource group. The name is case insensitive. |
Request headers
Name | Type | Required | Description |
---|---|---|---|
Content-Type |
String | Yes |
The media type of the request body.
Default value: "application/json" |
Request body fields
Name | Type | Required | Description |
---|---|---|---|
properties |
Object | No |
Volume Properties |
properties.capacityGiB |
Integer | Yes |
Requested capacity in GiB |
properties.labels |
Object | Yes |
String KV pairs indicating labels |
properties.provisioningState |
String | No |
Provisioning state of the resource. Possible values:
|
properties.status |
Object | No |
Status of the resource |
properties.status.message |
String | No |
Reason for state. |
properties.status.state |
String | Yes |
State of the resource. Possible values:
|
properties.volumeType |
Object | No |
Properties of the volume |
properties.volumeType.elasticSan |
Object | No |
Properties of the ElasticSAN iSCSI target |
properties.volumeType.elasticSan.targetPortalHostname |
String | Yes |
iSCSI Target Portal Host Name |
properties.volumeType.elasticSan.targetPortalPort |
Integer | Yes |
iSCSI Target Portal Port |
properties.volumeType.elasticSan.targetIqn |
String | Yes |
iSCSI Target IQN (iSCSI Qualified Name); example: "iqn.2005-03.org.iscsi:server" |
How to start integrating
- Add HTTP Task to your workflow definition.
- Search for the API you want to integrate with and click on the name.
- This loads the API reference documentation and prepares the Http request settings.
- Click Test request to test run your request to the API and see the API's response.