ElasticSanSnapshotCollection.GetAll(String, CancellationToken) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
List Snapshots in a VolumeGroup or List Snapshots by Volume (name) in a VolumeGroup using filter
- Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ElasticSan/elasticSans/{elasticSanName}/volumegroups/{volumeGroupName}/snapshots
- Operation Id: VolumeSnapshots_ListByVolumeGroup
- Default Api Version: 2024-06-01-preview
- Resource: ElasticSanSnapshotResource
public virtual Azure.Pageable<Azure.ResourceManager.ElasticSan.ElasticSanSnapshotResource> GetAll (string filter = default, System.Threading.CancellationToken cancellationToken = default);
abstract member GetAll : string * System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.ElasticSan.ElasticSanSnapshotResource>
override this.GetAll : string * System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.ElasticSan.ElasticSanSnapshotResource>
Public Overridable Function GetAll (Optional filter As String = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Pageable(Of ElasticSanSnapshotResource)
Parameters
- filter
- String
Specify $filter='volumeName eq <volume name>' to filter on volume.
- cancellationToken
- CancellationToken
The cancellation token to use.
Returns
A collection of ElasticSanSnapshotResource that may take multiple service requests to iterate over.
Applies to
Colaborar con nosotros en GitHub
El origen de este contenido se puede encontrar en GitHub, donde también puede crear y revisar problemas y solicitudes de incorporación de cambios. Para más información, consulte nuestra guía para colaboradores.
Azure SDK for .NET