replication_recovery_services_providers
Creates, updates, deletes, gets or lists a replication_recovery_services_providers
resource.
Overview
Name | replication_recovery_services_providers |
Type | Resource |
Id | azure.recovery_services_site_recovery.replication_recovery_services_providers |
Fields
- vw_replication_recovery_services_providers
- replication_recovery_services_providers
Name | Datatype | Description |
---|---|---|
id | text | Resource Id |
name | text | Resource Name |
allowed_scenarios | text | field from the properties object |
authentication_identity_details | text | field from the properties object |
bios_id | text | field from the properties object |
connection_status | text | field from the properties object |
data_plane_authentication_identity_details | text | field from the properties object |
dra_identifier | text | field from the properties object |
fabricName | text | field from the properties object |
fabric_friendly_name | text | field from the properties object |
fabric_type | text | field from the properties object |
friendly_name | text | field from the properties object |
health_error_details | text | field from the properties object |
last_heart_beat | text | field from the properties object |
location | text | Resource Location |
machine_id | text | field from the properties object |
machine_name | text | field from the properties object |
protected_item_count | text | field from the properties object |
providerName | text | field from the properties object |
provider_version | text | field from the properties object |
provider_version_details | text | field from the properties object |
provider_version_expiry_date | text | field from the properties object |
provider_version_state | text | field from the properties object |
resourceGroupName | text | field from the properties object |
resourceName | text | field from the properties object |
resource_access_identity_details | text | field from the properties object |
server_version | 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 | Recovery services provider properties. |
type | string | Resource Type |
Methods
Name | Accessible by | Required Params | Description |
---|---|---|---|
get | SELECT | fabricName, providerName, resourceGroupName, resourceName, subscriptionId | Gets the details of registered recovery services provider. |
list | SELECT | resourceGroupName, resourceName, subscriptionId | Lists the registered recovery services providers in the vault. |
list_by_replication_fabrics | SELECT | fabricName, resourceGroupName, resourceName, subscriptionId | Lists the registered recovery services providers for the specified fabric. |
create | INSERT | fabricName, providerName, resourceGroupName, resourceName, subscriptionId, data__properties | The operation to add a recovery services provider. |
delete | DELETE | fabricName, providerName, resourceGroupName, resourceName, subscriptionId | The operation to removes/delete(unregister) a recovery services provider from the vault. |
purge | EXEC | fabricName, providerName, resourceGroupName, resourceName, subscriptionId | The operation to purge(force delete) a recovery services provider from the vault. |
refresh_provider | EXEC | fabricName, providerName, resourceGroupName, resourceName, subscriptionId | The operation to refresh the information from the recovery services provider. |
SELECT
examples
Lists the registered recovery services providers in the vault.
- vw_replication_recovery_services_providers
- replication_recovery_services_providers
SELECT
id,
name,
allowed_scenarios,
authentication_identity_details,
bios_id,
connection_status,
data_plane_authentication_identity_details,
dra_identifier,
fabricName,
fabric_friendly_name,
fabric_type,
friendly_name,
health_error_details,
last_heart_beat,
location,
machine_id,
machine_name,
protected_item_count,
providerName,
provider_version,
provider_version_details,
provider_version_expiry_date,
provider_version_state,
resourceGroupName,
resourceName,
resource_access_identity_details,
server_version,
subscriptionId,
type
FROM azure.recovery_services_site_recovery.vw_replication_recovery_services_providers
WHERE resourceGroupName = '{{ resourceGroupName }}'
AND resourceName = '{{ resourceName }}'
AND subscriptionId = '{{ subscriptionId }}';
SELECT
id,
name,
location,
properties,
type
FROM azure.recovery_services_site_recovery.replication_recovery_services_providers
WHERE resourceGroupName = '{{ resourceGroupName }}'
AND resourceName = '{{ resourceName }}'
AND subscriptionId = '{{ subscriptionId }}';
INSERT
example
Use the following StackQL query and manifest file to create a new replication_recovery_services_providers
resource.
- All Properties
- Manifest
/*+ create */
INSERT INTO azure.recovery_services_site_recovery.replication_recovery_services_providers (
fabricName,
providerName,
resourceGroupName,
resourceName,
subscriptionId,
data__properties,
properties
)
SELECT
'{{ fabricName }}',
'{{ providerName }}',
'{{ resourceGroupName }}',
'{{ resourceName }}',
'{{ subscriptionId }}',
'{{ data__properties }}',
'{{ properties }}'
;
- name: your_resource_model_name
props:
- name: properties
value:
- name: machineName
value: string
- name: machineId
value: string
- name: biosId
value: string
- name: authenticationIdentityInput
value:
- name: tenantId
value: string
- name: applicationId
value: string
- name: objectId
value: string
- name: audience
value: string
- name: aadAuthority
value: string
DELETE
example
Deletes the specified replication_recovery_services_providers
resource.
/*+ delete */
DELETE FROM azure.recovery_services_site_recovery.replication_recovery_services_providers
WHERE fabricName = '{{ fabricName }}'
AND providerName = '{{ providerName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND resourceName = '{{ resourceName }}'
AND subscriptionId = '{{ subscriptionId }}';