Skip to main content

replication_vault_health

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

Overview

Namereplication_vault_health
TypeResource
Idazure.recovery_services_site_recovery.replication_vault_health

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.
containersHealthobjectThe list of the health detail of the containers in the vault.
fabricsHealthobjectThe list of the health detail of the fabrics in the vault.
locationstringResource Location.
protectedItemsHealthobjectThe list of the health detail of the protected items in the vault.
systemDataobjectAzure Resource Manager metadata containing createdBy and modifiedBy information.
typestringThe type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts".
vaultErrorsarrayThe list of errors on the vault.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectresource_group_name, resource_name, subscription_idGets the health summary for the vault. Gets the health details of the vault.
refreshexecresource_group_name, resource_name, subscription_idRefreshes health summary of the vault. Refreshes health summary of the vault.

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 recovery services vault. Required.
subscription_idstring

SELECT examples

Gets the health summary for the vault. Gets the health details of the vault.

SELECT
id,
name,
containersHealth,
fabricsHealth,
location,
protectedItemsHealth,
systemData,
type,
vaultErrors
FROM azure.recovery_services_site_recovery.replication_vault_health
WHERE resource_group_name = '{{ resource_group_name }}' -- required
AND resource_name = '{{ resource_name }}' -- required
AND subscription_id = '{{ subscription_id }}' -- required
;

Lifecycle Methods

Refreshes health summary of the vault. Refreshes health summary of the vault.

EXEC azure.recovery_services_site_recovery.replication_vault_health.refresh 
@resource_group_name='{{ resource_group_name }}' --required,
@resource_name='{{ resource_name }}' --required,
@subscription_id='{{ subscription_id }}' --required
;