Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Gets all the volume resources in a given subscription.
Gets the information about all volume resources in a given subscription. The information includes the volume description and other runtime information.
Request
| Method | Request URI |
|---|---|
| GET | /subscriptions/{subscriptionId}/providers/Microsoft.ServiceFabricMesh/volumes?api-version=2018-07-01-preview |
Parameters
| Name | Type | Required | Location |
|---|---|---|---|
subscriptionId |
string | Yes | Path |
api-version |
string | Yes | Query |
subscriptionId
Type: string
Required: Yes
The customer subscription identifier
api-version
Type: string
Required: Yes
Default: 2018-07-01-preview
The version of the API. This parameter is required and its value must be 2018-07-01-preview.
Responses
| HTTP Status Code | Description | Response Schema |
|---|---|---|
| 200 (OK) | OK |
VolumeResourceDescriptionList |
| All other status codes | Error |
ErrorModel |
Examples
VolumesList
Request
GET https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabricMesh/volumes?api-version=2018-07-01-preview
200 Response
Body
{
"value": [
{
"type": "Microsoft.ServiceFabricMesh/volumes",
"location": "eastus",
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/sbzdemo/providers/Microsoft.ServiceFabricMesh/volumes/mysharel",
"name": "mysharel",
"tags": {},
"properties": {
"provisioningState": "Succeeded",
"description": "File share backed by Azure Files storage.",
"provider": "SFAzureFile",
"azureFileParameters": {
"shareName": "sharel",
"accountName": "sbzdemoaccount"
}
}
},
{
"type": "Microsoft.ServiceFabricMesh/volumes",
"location": "eastus",
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/sbzdemo/providers/Microsoft.ServiceFabricMesh/volumes/mysharew",
"name": "mysharew",
"tags": {},
"properties": {
"provisioningState": "Succeeded",
"description": "File share backed by Azure Files storage.",
"provider": "SFAzureFile",
"azureFileParameters": {
"shareName": "sharew",
"accountName": "sbzdemoaccount"
}
}
}
]
}