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
Samarbeta med oss på GitHub
Källan för det här innehållet finns på GitHub, där du även kan skapa och granska ärenden och pull-begäranden. Se vår deltagarguide för mer information.
Azure SDK for .NET