Skip to main content

target_compute_sizes

Creates, updates, deletes, gets or lists a target_compute_sizes resource.

Overview

Nametarget_compute_sizes
TypeResource
Idazure.recovery_services_site_recovery.target_compute_sizes

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
idstringThe Id.
namestringThe name.
cpuCoresCountintegerThe maximum cpu cores count supported by target compute size.
errorsarrayThe reasons why the target compute size is not applicable for the protected item.
friendlyNamestringTarget compute size display name.
highIopsSupportedstringThe value indicating whether the target compute size supports high Iops.
hyperVGenerationsarrayThe supported HyperV Generations.
maxDataDiskCountintegerThe maximum data disks count supported by target compute size.
maxNicsCountintegerThe maximum Nics count supported by target compute size.
memoryInGBnumberThe maximum memory in GB supported by target compute size.
typestringThe Type of the object.
vCPUsAvailableintegerThe Available vCPUs supported by target compute size.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
list_by_replication_protected_itemsselectresource_group_name, resource_name, fabric_name, protection_container_name, replicated_protected_item_name, subscription_idGets 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.

NameDatatypeDescription
fabric_namestringFabric name. Required.
protection_container_namestringProtection container name. Required.
replicated_protected_item_namestringReplication protected item name. Required.
resource_group_namestringThe name of the resource group. The name is case insensitive. Required.
resource_namestringThe name of the Vault. Required.
subscription_idstring

SELECT examples

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
;