Skip to main content

replication_vault_settings

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

Overview

Namereplication_vault_settings
TypeResource
Idazure.recovery_services_site_recovery.replication_vault_settings

Fields

NameDatatypeDescription
idtextResource Id
nametextResource Name
locationtextResource Location
migration_solution_idtextfield from the properties object
resourceGroupNametextfield from the properties object
resourceNametextfield from the properties object
subscriptionIdtextfield from the properties object
typetextResource Type
vaultSettingNametextfield from the properties object
vmware_to_azure_provider_typetextfield from the properties object

Methods

NameAccessible byRequired ParamsDescription
getSELECTresourceGroupName, resourceName, subscriptionId, vaultSettingNameGets the vault setting. This includes the Migration Hub connection settings.
listSELECTresourceGroupName, resourceName, subscriptionIdGets the list of vault setting. This includes the Migration Hub connection settings.
createINSERTresourceGroupName, resourceName, subscriptionId, vaultSettingName, data__propertiesThe operation to configure vault setting.

SELECT examples

Gets the list of vault setting. This includes the Migration Hub connection settings.

SELECT
id,
name,
location,
migration_solution_id,
resourceGroupName,
resourceName,
subscriptionId,
type,
vaultSettingName,
vmware_to_azure_provider_type
FROM azure.recovery_services_site_recovery.vw_replication_vault_settings
WHERE resourceGroupName = '{{ resourceGroupName }}'
AND resourceName = '{{ resourceName }}'
AND subscriptionId = '{{ subscriptionId }}';

INSERT example

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

/*+ create */
INSERT INTO azure.recovery_services_site_recovery.replication_vault_settings (
resourceGroupName,
resourceName,
subscriptionId,
vaultSettingName,
data__properties,
properties
)
SELECT
'{{ resourceGroupName }}',
'{{ resourceName }}',
'{{ subscriptionId }}',
'{{ vaultSettingName }}',
'{{ data__properties }}',
'{{ properties }}'
;