ReplicationProtectedItemResource.GetTargetComputeSizesByReplicationProtectedItems Method

Definition

Lists the available target compute sizes for a replication protected item.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationProtectionContainers/{protectionContainerName}/replicationProtectedItems/{replicatedProtectedItemName}/targetComputeSizes
  • Operation Id: TargetComputeSizes_ListByReplicationProtectedItems
  • Default Api Version: 2023-08-01
public virtual Azure.Pageable<Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.TargetComputeSize> GetTargetComputeSizesByReplicationProtectedItems (System.Threading.CancellationToken cancellationToken = default);
abstract member GetTargetComputeSizesByReplicationProtectedItems : System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.TargetComputeSize>
override this.GetTargetComputeSizesByReplicationProtectedItems : System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.TargetComputeSize>
Public Overridable Function GetTargetComputeSizesByReplicationProtectedItems (Optional cancellationToken As CancellationToken = Nothing) As Pageable(Of TargetComputeSize)

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

A collection of TargetComputeSize that may take multiple service requests to iterate over.

Applies to