Skip to main content

replication_recovery_services_providers

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

Overview

Namereplication_recovery_services_providers
TypeResource
Idazure.recovery_services_site_recovery.replication_recovery_services_providers

Fields

NameDatatypeDescription
idtextResource Id
nametextResource Name
allowed_scenariostextfield from the properties object
authentication_identity_detailstextfield from the properties object
bios_idtextfield from the properties object
connection_statustextfield from the properties object
data_plane_authentication_identity_detailstextfield from the properties object
dra_identifiertextfield from the properties object
fabricNametextfield from the properties object
fabric_friendly_nametextfield from the properties object
fabric_typetextfield from the properties object
friendly_nametextfield from the properties object
health_error_detailstextfield from the properties object
last_heart_beattextfield from the properties object
locationtextResource Location
machine_idtextfield from the properties object
machine_nametextfield from the properties object
protected_item_counttextfield from the properties object
providerNametextfield from the properties object
provider_versiontextfield from the properties object
provider_version_detailstextfield from the properties object
provider_version_expiry_datetextfield from the properties object
provider_version_statetextfield from the properties object
resourceGroupNametextfield from the properties object
resourceNametextfield from the properties object
resource_access_identity_detailstextfield from the properties object
server_versiontextfield from the properties object
subscriptionIdtextfield from the properties object
typetextResource Type

Methods

NameAccessible byRequired ParamsDescription
getSELECTfabricName, providerName, resourceGroupName, resourceName, subscriptionIdGets the details of registered recovery services provider.
listSELECTresourceGroupName, resourceName, subscriptionIdLists the registered recovery services providers in the vault.
list_by_replication_fabricsSELECTfabricName, resourceGroupName, resourceName, subscriptionIdLists the registered recovery services providers for the specified fabric.
createINSERTfabricName, providerName, resourceGroupName, resourceName, subscriptionId, data__propertiesThe operation to add a recovery services provider.
deleteDELETEfabricName, providerName, resourceGroupName, resourceName, subscriptionIdThe operation to removes/delete(unregister) a recovery services provider from the vault.
purgeEXECfabricName, providerName, resourceGroupName, resourceName, subscriptionIdThe operation to purge(force delete) a recovery services provider from the vault.
refresh_providerEXECfabricName, providerName, resourceGroupName, resourceName, subscriptionIdThe operation to refresh the information from the recovery services provider.

SELECT examples

Lists the registered recovery services providers in the vault.

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 }}';

INSERT example

Use the following StackQL query and manifest file to create a new replication_recovery_services_providers resource.

/*+ 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 }}'
;

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 }}';