次の方法で共有


Target Compute Sizes - List By Replication Protected Items

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

GET https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationProtectionContainers/{protectionContainerName}/replicationProtectedItems/{replicatedProtectedItemName}/targetComputeSizes?api-version=2025-02-01

URI Parameters

Name In Required Type Description
fabricName
path True

string

Fabric name.

protectionContainerName
path True

string

protection container name.

replicatedProtectedItemName
path True

string

Replication protected item name.

resourceGroupName
path True

string

The name of the resource group where the recovery services vault is present.

resourceName
path True

string

The name of the recovery services vault.

subscriptionId
path True

string

The subscription Id.

api-version
query True

string

Client Api Version.

Responses

Name Type Description
200 OK

TargetComputeSizeCollection

OK

Security

azure_auth

Azure Active Directory OAuth2 Flow

Type: oauth2
Flow: implicit
Authorization URL: https://login.microsoftonline.com/common/oauth2/authorize

Scopes

Name Description
user_impersonation impersonate your user account.

Examples

Gets the list of target compute sizes for the replication protected item.

Sample request

GET https://management.azure.com/subscriptions/6808dbbc-98c7-431f-a1b1-9580902423b7/resourceGroups/avraiMgDiskVaultRG/providers/Microsoft.RecoveryServices/vaults/avraiMgDiskVault/replicationFabrics/asr-a2a-default-centraluseuap/replicationProtectionContainers/asr-a2a-default-centraluseuap-container/replicationProtectedItems/468c912d-b1ab-4ea2-97eb-4b5095155db2/targetComputeSizes?api-version=2025-02-01

Sample response

Azure-AsyncOperation: https://management.azure.com/Subscriptions/6808dbbc-98c7-431f-a1b1-9580902423b7/resourceGroups/avraiMgDiskVaultRG/providers/Microsoft.RecoveryServices/vaults/avraiMgDiskVault/replicationOperationStatus/a93f3cd5-9035-4b1e-a2c9-b16df6d5d34b?api-version=2025-02-01
{
  "value": [
    {
      "id": "/Subscriptions/6808dbbc-98c7-431f-a1b1-9580902423b7/resourceGroups/avraiMgDiskVaultRG/providers/Microsoft.RecoveryServices/vaults/avraiMgDiskVault/replicationFabrics/asr-a2a-default-centraluseuap/replicationProtectionContainers/asr-a2a-default-centraluseuap-container/replicationProtectedItems/468c912d-b1ab-4ea2-97eb-4b5095155db2/targetComputeSizes/Basic_A0",
      "name": "Basic_A0",
      "type": "Microsoft.RecoveryServices/vaults/replicationFabrics/replicationProtectionContainers/replicationProtectedItems/targetComputeSizes",
      "properties": {
        "name": "Basic_A0",
        "friendlyName": "Basic_A0",
        "cpuCoresCount": 1,
        "memoryInGB": 0.75,
        "maxDataDiskCount": 1,
        "maxNicsCount": 2,
        "errors": null,
        "highIopsSupported": "NotSupported"
      }
    },
    {
      "id": "/Subscriptions/6808dbbc-98c7-431f-a1b1-9580902423b7/resourceGroups/avraiMgDiskVaultRG/providers/Microsoft.RecoveryServices/vaults/avraiMgDiskVault/replicationFabrics/asr-a2a-default-centraluseuap/replicationProtectionContainers/asr-a2a-default-centraluseuap-container/replicationProtectedItems/468c912d-b1ab-4ea2-97eb-4b5095155db2/targetComputeSizes/Standard_A0",
      "name": "Standard_A0",
      "type": "Microsoft.RecoveryServices/vaults/replicationFabrics/replicationProtectionContainers/replicationProtectedItems/targetComputeSizes",
      "properties": {
        "name": "Standard_A0",
        "friendlyName": "Standard_A0",
        "cpuCoresCount": 1,
        "vCPUsAvailable": 1,
        "memoryInGB": 0.75,
        "maxDataDiskCount": 1,
        "maxNicsCount": 2,
        "errors": null,
        "highIopsSupported": "NotSupported",
        "hyperVGenerations": [
          "V1"
        ]
      }
    }
  ],
  "nextLink": null
}

Definitions

Name Description
ComputeSizeErrorDetails

Represents the error used to indicate why the target compute size is not applicable.

TargetComputeSize

Represents applicable recovery vm sizes.

TargetComputeSizeCollection

Target compute size collection.

TargetComputeSizeProperties

Represents applicable recovery vm sizes properties.

ComputeSizeErrorDetails

Represents the error used to indicate why the target compute size is not applicable.

Name Type Description
message

string

The error message.

severity

string

The severity of the error.

TargetComputeSize

Represents applicable recovery vm sizes.

Name Type Description
id

string

The Id.

name

string

The name.

properties

TargetComputeSizeProperties

The custom data.

type

string

The Type of the object.

TargetComputeSizeCollection

Target compute size collection.

Name Type Description
nextLink

string

The value of next link.

value

TargetComputeSize[]

The list of target compute sizes.

TargetComputeSizeProperties

Represents applicable recovery vm sizes properties.

Name Type Description
cpuCoresCount

integer (int32)

The maximum cpu cores count supported by target compute size.

errors

ComputeSizeErrorDetails[]

The reasons why the target compute size is not applicable for the protected item.

friendlyName

string

Target compute size display name.

highIopsSupported

string

The value indicating whether the target compute size supports high Iops.

hyperVGenerations

string[]

The supported HyperV Generations.

maxDataDiskCount

integer (int32)

The maximum data disks count supported by target compute size.

maxNicsCount

integer (int32)

The maximum Nics count supported by target compute size.

memoryInGB

number (double)

The maximum memory in GB supported by target compute size.

name

string

Target compute size name.

vCPUsAvailable

integer (int32)

The Available vCPUs supported by target compute size.