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
listselectsubscriptionId, resourceGroupName, vaultNameFetches 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
resourceGroupNamestringThe name of the resource group. The name is case insensitive.
subscriptionIdstringThe ID of the target subscription.
vaultNamestringThe name of the recovery services vault.

SELECT examples

Fetches the replication usages of the vault.

SELECT
jobsSummary,
monitoringSummary,
protectedItemCount,
recoveryPlanCount,
recoveryServicesProviderAuthType,
registeredServersCount
FROM azure.recovery_services.replication_usages
WHERE subscriptionId = '{{ subscriptionId }}' -- required
AND resourceGroupName = '{{ resourceGroupName }}' -- required
AND vaultName = '{{ vaultName }}' -- required
;