replication_protection_intents
Creates, updates, deletes, gets or lists a replication_protection_intents
resource.
Overview
Name | replication_protection_intents |
Type | Resource |
Id | azure.recovery_services_site_recovery.replication_protection_intents |
Fields
- vw_replication_protection_intents
- replication_protection_intents
Name | Datatype | Description |
---|---|---|
id | text | Resource Id |
name | text | Resource Name |
creation_time_utc | text | field from the properties object |
friendly_name | text | field from the properties object |
intentObjectName | text | field from the properties object |
is_active | text | field from the properties object |
job_id | text | field from the properties object |
job_state | text | field from the properties object |
location | text | Resource Location |
provider_specific_details | text | field from the properties object |
resourceGroupName | text | field from the properties object |
resourceName | text | field from the properties object |
subscriptionId | text | field from the properties object |
type | text | Resource Type |
Name | Datatype | Description |
---|---|---|
id | string | Resource Id |
name | string | Resource Name |
location | string | Resource Location |
properties | object | Replication protection intent custom data details. |
type | string | Resource Type |
Methods
Name | Accessible by | Required Params | Description |
---|---|---|---|
get | SELECT | intentObjectName, resourceGroupName, resourceName, subscriptionId | Gets the details of an ASR replication protection intent. |
list | SELECT | resourceGroupName, resourceName, subscriptionId | Gets the list of ASR replication protection intent objects in the vault. |
create | INSERT | intentObjectName, resourceGroupName, resourceName, subscriptionId | The operation to create an ASR replication protection intent item. |
SELECT
examples
Gets the list of ASR replication protection intent objects in the vault.
- vw_replication_protection_intents
- replication_protection_intents
SELECT
id,
name,
creation_time_utc,
friendly_name,
intentObjectName,
is_active,
job_id,
job_state,
location,
provider_specific_details,
resourceGroupName,
resourceName,
subscriptionId,
type
FROM azure.recovery_services_site_recovery.vw_replication_protection_intents
WHERE resourceGroupName = '{{ resourceGroupName }}'
AND resourceName = '{{ resourceName }}'
AND subscriptionId = '{{ subscriptionId }}';
SELECT
id,
name,
location,
properties,
type
FROM azure.recovery_services_site_recovery.replication_protection_intents
WHERE resourceGroupName = '{{ resourceGroupName }}'
AND resourceName = '{{ resourceName }}'
AND subscriptionId = '{{ subscriptionId }}';
INSERT
example
Use the following StackQL query and manifest file to create a new replication_protection_intents
resource.
- All Properties
- Manifest
/*+ create */
INSERT INTO azure.recovery_services_site_recovery.replication_protection_intents (
intentObjectName,
resourceGroupName,
resourceName,
subscriptionId,
properties
)
SELECT
'{{ intentObjectName }}',
'{{ resourceGroupName }}',
'{{ resourceName }}',
'{{ subscriptionId }}',
'{{ properties }}'
;
- name: your_resource_model_name
props:
- name: properties
value:
- name: providerSpecificDetails
value:
- name: instanceType
value: string