SiteRecoveryProtectableItemCollection.GetAll 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.
Lists the protectable items in a protection container.
- Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationProtectionContainers/{protectionContainerName}/replicationProtectableItems
- Operation Id: ReplicationProtectableItems_ListByReplicationProtectionContainers
- Default Api Version: 2023-08-01
- Resource: SiteRecoveryProtectableItemResource
public virtual Azure.Pageable<Azure.ResourceManager.RecoveryServicesSiteRecovery.SiteRecoveryProtectableItemResource> GetAll (string filter = default, string take = default, string skipToken = default, System.Threading.CancellationToken cancellationToken = default);
abstract member GetAll : string * string * string * System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.RecoveryServicesSiteRecovery.SiteRecoveryProtectableItemResource>
override this.GetAll : string * string * string * System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.RecoveryServicesSiteRecovery.SiteRecoveryProtectableItemResource>
Public Overridable Function GetAll (Optional filter As String = Nothing, Optional take As String = Nothing, Optional skipToken As String = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Pageable(Of SiteRecoveryProtectableItemResource)
Parameters
- filter
- String
OData filter options.
- take
- String
take OData query parameter.
- skipToken
- String
skipToken OData query parameter.
- cancellationToken
- CancellationToken
The cancellation token to use.
Returns
A collection of SiteRecoveryProtectableItemResource 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