Get-AzRecoveryServicesAsrStorageClassificationMapping
Gets ASR storage classification mappings.
Syntax
ByObject (Default)
Get-AzRecoveryServicesAsrStorageClassificationMapping
-StorageClassification <ASRStorageClassification>
[-DefaultProfile <IAzureContextContainer>]
[<CommonParameters>]
ByObjectWithName
Get-AzRecoveryServicesAsrStorageClassificationMapping
-Name <String>
-StorageClassification <ASRStorageClassification>
[-DefaultProfile <IAzureContextContainer>]
[<CommonParameters>]
Description
The Get-AzRecoveryServicesAsrStorageClassificationMapping cmdlet gets the details of an ASR storage classification mapping.
Examples
Example 1
$StorageClassificationMappings = Get-AzRecoveryServicesAsrStorageClassificationMapping -StorageClassification $StorageClassification
List all storage classification mappings corresponding to the specified storage classification.
Parameters
-DefaultProfile
The credentials, account, tenant, and subscription used for communication with Azure.
Parameter properties
Type: | IAzureContextContainer |
Default value: | None |
Supports wildcards: | False |
DontShow: | False |
Aliases: | AzContext, AzureRmContext, AzureCredential |
Parameter sets
(All)
Position: | Named |
Mandatory: | False |
Value from pipeline: | False |
Value from pipeline by property name: | False |
Value from remaining arguments: | False |
-Name
Specifies the name of the storage classification mapping to get.
Parameter properties
Type: | String |
Default value: | None |
Supports wildcards: | False |
DontShow: | False |
Parameter sets
ByObjectWithName
Position: | Named |
Mandatory: | True |
Value from pipeline: | False |
Value from pipeline by property name: | False |
Value from remaining arguments: | False |
-StorageClassification
Specifies an ASR storage classification object. The cmdlet gets ASR storage classification mappings corresponding to the specified storage classification
Parameter properties
Type: | ASRStorageClassification |
Default value: | None |
Supports wildcards: | False |
DontShow: | False |
Parameter sets
(All)
Position: | Named |
Mandatory: | True |
Value from pipeline: | True |
Value from pipeline by property name: | False |
Value from remaining arguments: | False |
CommonParameters
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable, -ProgressAction, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.