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
GitHub で Microsoft と共同作業する
このコンテンツのソースは GitHub にあります。そこで、issue や pull request を作成および確認することもできます。 詳細については、共同作成者ガイドを参照してください。
Azure SDK for .NET