MockableRecoveryServicesSubscriptionResource.GetRecoveryServicesVaults 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.
Fetches all the resources of the specified type in the subscription.
- Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.RecoveryServices/vaults
- Operation Id: Vaults_ListBySubscriptionId
- Default Api Version: 2023-04-01
- Resource: RecoveryServicesVaultResource
public virtual Azure.Pageable<Azure.ResourceManager.RecoveryServices.RecoveryServicesVaultResource> GetRecoveryServicesVaults (System.Threading.CancellationToken cancellationToken = default);
abstract member GetRecoveryServicesVaults : System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.RecoveryServices.RecoveryServicesVaultResource>
override this.GetRecoveryServicesVaults : System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.RecoveryServices.RecoveryServicesVaultResource>
Public Overridable Function GetRecoveryServicesVaults (Optional cancellationToken As CancellationToken = Nothing) As Pageable(Of RecoveryServicesVaultResource)
Parameters
- cancellationToken
- CancellationToken
The cancellation token to use.
Returns
A collection of RecoveryServicesVaultResource that may take multiple service requests to iterate over.