Skip to main content

replication_vault_setting

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

Overview

Namereplication_vault_setting
TypeResource
Idazure.recovery_services_site_recovery.replication_vault_setting

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
idstringFully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}.
namestringThe name of the resource.
locationstringResource Location.
migrationSolutionIdstringThe migration solution ARM Id.
systemDataobjectAzure Resource Manager metadata containing createdBy and modifiedBy information.
typestringThe type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts".
vmwareToAzureProviderTypestringVMware to Azure provider type.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectresource_group_name, resource_name, vault_setting_name, subscription_idGets the vault setting. Gets the vault setting. This includes the Migration Hub connection settings.
listselectresource_group_name, resource_name, subscription_idGets the list of vault setting. Gets the list of vault setting. This includes the Migration Hub connection settings.
createinsertresource_group_name, resource_name, vault_setting_name, subscription_id, propertiesUpdates vault setting. A vault setting object is a singleton per vault and it is always present by default. The operation to configure vault setting.

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.

NameDatatypeDescription
resource_group_namestringThe name of the resource group. The name is case insensitive. Required.
resource_namestringThe name of the Vault. Required.
subscription_idstring
vault_setting_namestringVault setting name. Required.

SELECT examples

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

SELECT
id,
name,
location,
migrationSolutionId,
systemData,
type,
vmwareToAzureProviderType
FROM azure.recovery_services_site_recovery.replication_vault_setting
WHERE resource_group_name = '{{ resource_group_name }}' -- required
AND resource_name = '{{ resource_name }}' -- required
AND vault_setting_name = '{{ vault_setting_name }}' -- required
AND subscription_id = '{{ subscription_id }}' -- required
;

INSERT examples

Updates vault setting. A vault setting object is a singleton per vault and it is always present by default. The operation to configure vault setting.

INSERT INTO azure.recovery_services_site_recovery.replication_vault_setting (
properties,
resource_group_name,
resource_name,
vault_setting_name,
subscription_id
)
SELECT
'{{ properties }}' /* required */,
'{{ resource_group_name }}',
'{{ resource_name }}',
'{{ vault_setting_name }}',
'{{ subscription_id }}'
RETURNING
id,
name,
location,
properties,
systemData,
type
;