---
title: "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ElasticSan/elasticSans/{elasticSanName}/volumegroups"
method: GET
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ElasticSan/elasticSans/{elasticSanName}/volumegroups"
tags: ["VolumeGroups"]
---

# GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ElasticSan/elasticSans/{elasticSanName}/volumegroups

`GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ElasticSan/elasticSans/{elasticSanName}/volumegroups`

## Request

- Base URL: `https://management.azure.com`
- URL: `https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ElasticSan/elasticSans/{elasticSanName}/volumegroups`
- Auth: OAuth 2
  - Implicit: `https://login.microsoftonline.com/common/oauth2/authorize`
  - Scopes: `user_impersonation`

List VolumeGroups.

## Path parameters

- `subscriptionId` string, required
- `resourceGroupName` string, required
- `elasticSanName` string, required

## Query parameters

- `api-version` string, required

## Headers

- `x-ms-access-soft-deleted-resources` 'true' | 'false'

## Response `200`

Azure operation completed successfully.

- VolumeGroupList: List of Volume Groups
  - `value` VolumeGroup[], required: The VolumeGroup items on this page
    - `id` string: Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
    - `name` string: The name of the resource
    - `type` string: The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
    - `systemData` SystemData: Metadata pertaining to creation and last modification of the resource.
      - `createdBy` string: The identity that created the resource.
      - `createdByType` 'User' | 'Application' | 'ManagedIdentity' | 'Key': The type of identity that created the resource.
      - `createdAt` string, date-time: The timestamp of resource creation (UTC).
      - `lastModifiedBy` string: The identity that last modified the resource.
      - `lastModifiedByType` 'User' | 'Application' | 'ManagedIdentity' | 'Key': The type of identity that last modified the resource.
      - `lastModifiedAt` string, date-time: The timestamp of resource last modification (UTC)
    - `identity` Identity: Identity for the resource.
      - `principalId` string: The principal ID of resource identity.
      - `tenantId` string: The tenant ID of resource.
      - `type` 'None' | 'SystemAssigned' | 'UserAssigned', required: The identity type.
      - `userAssignedIdentities` object: Gets or sets a list of key value pairs that describe the set of User Assigned identities that will be used with this volume group. The key is the ARM resource identifier of the identity.
    - `properties` VolumeGroupProperties: VolumeGroup response properties.
      - `provisioningState` 'Invalid' | 'Succeeded' | 'Failed' | 'Canceled' | 'Pending' | 'Creating' | 'Updating' | 'Deleting' | 'Deleted' | 'Restoring' | 'SoftDeleting': Provisioning state of the iSCSI Target.
      - `protocolType` 'Iscsi' | 'None': Storage Target type.
      - `encryption` 'EncryptionAtRestWithPlatformKey' | 'EncryptionAtRestWithCustomerManagedKey': The type of key used to encrypt the data of the disk.
      - `encryptionProperties` EncryptionProperties: The encryption settings on the volume group.
        - `keyVaultProperties` KeyVaultProperties: Properties of key vault.
          - `keyName` string: The name of KeyVault key.
          - `keyVersion` string: The version of KeyVault key.
          - `keyVaultUri` string, uri: The Uri of KeyVault.
          - `currentVersionedKeyIdentifier` string: The object identifier of the current versioned Key Vault Key in use.
          - `lastKeyRotationTimestamp` string, date-time: Timestamp of last rotation of the Key Vault Key.
          - `currentVersionedKeyExpirationTimestamp` string, date-time: This is a read only property that represents the expiration time of the current version of the customer managed key used for encryption.
        - `identity` EncryptionIdentity: Encryption identity for the volume group.
          - `userAssignedIdentity` string: Resource identifier of the UserAssigned identity to be associated with server-side encryption on the volume group.
      - `networkAcls` NetworkRuleSet: A set of rules governing the network accessibility.
        - `virtualNetworkRules` VirtualNetworkRule[]: The list of virtual network rules.
          - `id` string, required: Resource ID of a subnet, for example: /subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.Network/virtualNetworks/{vnetName}/subnets/{subnetName}.
          - `action` 'Allow': The action of virtual network rule.
      - `privateEndpointConnections` PrivateEndpointConnection[]: The list of Private Endpoint Connections.
        - `id` string: Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
        - `name` string: The name of the resource
        - `type` string: The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
        - `systemData` SystemData: Metadata pertaining to creation and last modification of the resource.
          - `createdBy` string: The identity that created the resource.
          - `createdByType` 'User' | 'Application' | 'ManagedIdentity' | 'Key': The type of identity that created the resource.
          - `createdAt` string, date-time: The timestamp of resource creation (UTC).
          - `lastModifiedBy` string: The identity that last modified the resource.
          - `lastModifiedByType` 'User' | 'Application' | 'ManagedIdentity' | 'Key': The type of identity that last modified the resource.
          - `lastModifiedAt` string, date-time: The timestamp of resource last modification (UTC)
        - `properties` PrivateEndpointConnectionProperties, required: Response for PrivateEndpoint connection properties
          - `provisioningState` 'Invalid' | 'Succeeded' | 'Failed' | 'Canceled' | 'Pending' | 'Creating' | 'Updating' | 'Deleting' | 'Deleted' | 'Restoring' | 'SoftDeleting': Provisioning state of the iSCSI Target.
          - `privateEndpoint` PrivateEndpoint: Response for PrivateEndpoint
            - `id` string: The ARM identifier for Private Endpoint
          - `privateLinkServiceConnectionState` PrivateLinkServiceConnectionState, required: Response for Private Link Service Connection state
            - `status` 'Pending' | 'Approved' | 'Failed' | 'Rejected': The private endpoint connection status.
            - `description` string: The reason for approval/rejection of the connection.
            - `actionsRequired` string: A message indicating if changes on the service provider require any updates on the consumer.
          - `groupIds` string[]: List of resources private endpoint is mapped
      - `enforceDataIntegrityCheckForIscsi` boolean: A boolean indicating whether or not Data Integrity Check is enabled
      - `encryptionInTransit` boolean: A boolean indicating whether or not Encryption in Transit is enabled, supported only for ISCSI protocol.
      - `deleteRetentionPolicy` DeleteRetentionPolicy: Response for Delete Retention Policy object
        - `policyState` 'Enabled' | 'Disabled'
        - `retentionPeriodDays` integer: The number of days to retain the resources after deletion.
  - `nextLink` string, uri: The link to the next page of items

## Other responses

- `default`: An unexpected error response.

## Changes

- **2026-07-13** (2021-11-20-preview) `8cc4dcb39ecf`: 3 breaking
  - added the new path request parameter `resourceGroupName`
  - added the new path request parameter `subscriptionId`
  - added the new required `query` request parameter `api-version`
- **2026-07-13** (2021-11-20-preview) `69d44b08eb3e`: 1 info
  - endpoint added
- **2026-07-13** (2021-11-20-preview) `84f35c718d06`: 1 warning
  - deleted the `header` request parameter `x-ms-access-soft-deleted-resources`

[Operation history](https://skmtc.dev/azure/apis/elasticsan-microsoft-elasticsan-elasticsan/changes/subscriptions/:subscriptionId/resourceGroups/:resourceGroupName/providers/Microsoft.ElasticSan/elasticSans/:elasticSanName/volumegroups/get.md)

---

[API](https://skmtc.dev/azure/apis/elasticsan-microsoft-elasticsan-elasticsan.md) - [All operations](https://skmtc.dev/azure/apis/elasticsan-microsoft-elasticsan-elasticsan/llms.txt) - [OpenAPI document](https://skmtc.dev/azure/apis/elasticsan-microsoft-elasticsan-elasticsan/revisions/8cc4dcb39ecf?raw)
