target_compute_sizes
Creates, updates, deletes, gets or lists a target_compute_sizes resource.
Overview
| Name | target_compute_sizes |
| Type | Resource |
| Id | azure.recovery_services_site_recovery.target_compute_sizes |
Fields
The following fields are returned by SELECT queries:
- list_by_replication_protected_items
| Name | Datatype | Description |
|---|---|---|
id | string | The Id. |
name | string | The name. |
cpuCoresCount | integer | The maximum cpu cores count supported by target compute size. |
errors | array | 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 | array | The supported HyperV Generations. |
maxDataDiskCount | integer | The maximum data disks count supported by target compute size. |
maxNicsCount | integer | The maximum Nics count supported by target compute size. |
memoryInGB | number | The maximum memory in GB supported by target compute size. |
type | string | The Type of the object. |
vCPUsAvailable | integer | The Available vCPUs supported by target compute size. |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
list_by_replication_protected_items | select | resource_group_name, resource_name, fabric_name, protection_container_name, replicated_protected_item_name, subscription_id | Gets the list of target compute sizes for the replication protected item. Lists the available target compute sizes for a replication protected item. |
Parameters
Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.
| Name | Datatype | Description |
|---|---|---|
fabric_name | string | Fabric name. Required. |
protection_container_name | string | Protection container name. Required. |
replicated_protected_item_name | string | Replication protected item name. Required. |
resource_group_name | string | The name of the resource group. The name is case insensitive. Required. |
resource_name | string | The name of the Vault. Required. |
subscription_id | string |
SELECT examples
- 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.
SELECT
id,
name,
cpuCoresCount,
errors,
friendlyName,
highIopsSupported,
hyperVGenerations,
maxDataDiskCount,
maxNicsCount,
memoryInGB,
type,
vCPUsAvailable
FROM azure.recovery_services_site_recovery.target_compute_sizes
WHERE resource_group_name = '{{ resource_group_name }}' -- required
AND resource_name = '{{ resource_name }}' -- required
AND fabric_name = '{{ fabric_name }}' -- required
AND protection_container_name = '{{ protection_container_name }}' -- required
AND replicated_protected_item_name = '{{ replicated_protected_item_name }}' -- required
AND subscription_id = '{{ subscription_id }}' -- required
;