Editar

Partilhar via


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

$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:IAzureContextContainer
Aliases:AzContext, AzureRmContext, AzureCredential
Position:Named
Default value:None
Required:False
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
Required:True
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
Required:True
Accept pipeline input:True
Accept wildcard characters:False

Inputs

ASRStorageClassification

Outputs

ASRStorageClassificationMapping