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. |
properties | object | The custom data. |
type | string | The Type of the object. |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
list_by_replication_protected_items | select | resourceName, resourceGroupName, subscriptionId, fabricName, protectionContainerName, replicatedProtectedItemName | api-version | 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 |
|---|---|---|
fabricName | string | Fabric name. |
protectionContainerName | string | protection container name. |
replicatedProtectedItemName | string | Replication protected item name. |
resourceGroupName | string | The name of the resource group where the recovery services vault is present. |
resourceName | string | The name of the recovery services vault. |
subscriptionId | string | The subscription Id. |
api-version | string | Client Api Version. |
SELECT examples
- list_by_replication_protected_items
Lists the available target compute sizes for a replication protected item.
SELECT
id,
name,
properties,
type
FROM azure.recovery_services_site_recovery.target_compute_sizes
WHERE resourceName = '{{ resourceName }}' -- required
AND resourceGroupName = '{{ resourceGroupName }}' -- required
AND subscriptionId = '{{ subscriptionId }}' -- required
AND fabricName = '{{ fabricName }}' -- required
AND protectionContainerName = '{{ protectionContainerName }}' -- required
AND replicatedProtectedItemName = '{{ replicatedProtectedItemName }}' -- required
AND api-version = '{{ api-version }}'
;