Get-AzRecoveryServicesAsrStorageClassificationMapping

Gets ASR storage classification mappings.

Syntax

Get-AzRecoveryServicesAsrStorageClassificationMapping
   -StorageClassification <ASRStorageClassification>
   [-DefaultProfile <IAzureContextContainer>]
   [<CommonParameters>]
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

PS C:\> $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.

Type:Microsoft.Azure.Commands.Common.Authentication.Abstractions.Core.IAzureContextContainer
Aliases:AzContext, AzureRmContext, AzureCredential
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-Name

Specifies the name of the storage classification mapping to get.

Type:String
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-StorageClassification

Specifies an ASR storage classification object. The cmdlet gets ASR storage classification mappings corresponding to the specified storage classification

Type:ASRStorageClassification
Position:Named
Default value:None
Accept pipeline input:True (ByValue)
Accept wildcard characters:False

Inputs

ASRStorageClassification

Outputs

ASRStorageClassificationMapping