ReplicationProtectionIntentCollection.GetAllAsync 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.
Gets the list of ASR replication protection intent objects in the vault.
- Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationProtectionIntents
- Operation Id: ReplicationProtectionIntents_List
- Default Api Version: 2023-08-01
- Resource: ReplicationProtectionIntentResource
public virtual Azure.AsyncPageable<Azure.ResourceManager.RecoveryServicesSiteRecovery.ReplicationProtectionIntentResource> GetAllAsync (string skipToken = default, string takeToken = default, System.Threading.CancellationToken cancellationToken = default);
abstract member GetAllAsync : string * string * System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.RecoveryServicesSiteRecovery.ReplicationProtectionIntentResource>
override this.GetAllAsync : string * string * System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.RecoveryServicesSiteRecovery.ReplicationProtectionIntentResource>
Public Overridable Function GetAllAsync (Optional skipToken As String = Nothing, Optional takeToken As String = Nothing, Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of ReplicationProtectionIntentResource)
Parameters
- skipToken
- String
The pagination token.
- takeToken
- String
The page size.
- cancellationToken
- CancellationToken
The cancellation token to use.
Returns
An async collection of ReplicationProtectionIntentResource that may take multiple service requests to iterate over.
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for .NET