Skip to main content

replication_usages

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

Overview

Namereplication_usages
TypeResource
Idazure.recovery_services.replication_usages

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
jobsSummaryobjectSummary of the replication jobs data for this vault.
monitoringSummaryobjectSummary of the replication monitoring data for this vault.
protectedItemCountintegerNumber of replication protected items for this vault.
recoveryPlanCountintegerNumber of replication recovery plans for this vault.
recoveryServicesProviderAuthTypeintegerThe authentication type of recovery service providers in the vault.
registeredServersCountintegerNumber of servers registered to this vault.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
listselectresource_group_name, vault_name, subscription_idFetches the replication usages 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.
subscription_idstring
vault_namestringThe name of the Vault. Required.

SELECT examples

Fetches the replication usages of the vault.

SELECT
jobsSummary,
monitoringSummary,
protectedItemCount,
recoveryPlanCount,
recoveryServicesProviderAuthType,
registeredServersCount
FROM azure.recovery_services.replication_usages
WHERE resource_group_name = '{{ resource_group_name }}' -- required
AND vault_name = '{{ vault_name }}' -- required
AND subscription_id = '{{ subscription_id }}' -- required
;