Skip to main content

replication_storage_classifications

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

Overview

Namereplication_storage_classifications
TypeResource
Idazure.recovery_services_site_recovery.replication_storage_classifications

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
idstringResource Id
namestringResource Name
locationstringResource Location
propertiesobjectProperties of the storage object.
typestringResource Type

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectresourceName, resourceGroupName, subscriptionId, fabricName, storageClassificationNameapi-versionGets the details of the specified storage classification.
list_by_replication_fabricsselectresourceName, resourceGroupName, subscriptionId, fabricNameapi-versionLists the storage classifications available in the specified fabric.
listselectresourceName, resourceGroupName, subscriptionIdapi-versionLists the storage classifications in 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
fabricNamestringSite name of interest.
resourceGroupNamestringThe name of the resource group where the recovery services vault is present.
resourceNamestringThe name of the recovery services vault.
storageClassificationNamestringStorage classification name.
subscriptionIdstringThe subscription Id.
api-versionstringClient Api Version.

SELECT examples

Gets the details of the specified storage classification.

SELECT
id,
name,
location,
properties,
type
FROM azure.recovery_services_site_recovery.replication_storage_classifications
WHERE resourceName = '{{ resourceName }}' -- required
AND resourceGroupName = '{{ resourceGroupName }}' -- required
AND subscriptionId = '{{ subscriptionId }}' -- required
AND fabricName = '{{ fabricName }}' -- required
AND storageClassificationName = '{{ storageClassificationName }}' -- required
AND api-version = '{{ api-version }}'
;