New-AzureRmSiteRecoveryStorageClassificationMapping

Creates a storage classification mapping in Site Recovery.

Syntax

New-AzureRmSiteRecoveryStorageClassificationMapping
   [-Name <String>]
   -PrimaryStorageClassification <ASRStorageClassification>
   -RecoveryStorageClassification <ASRStorageClassification>
   [-DefaultProfile <IAzureContextContainer>]
   [<CommonParameters>]

Description

The New-AzureRmSiteRecoveryStorageClassificationMapping cmdlet creates a storage classification mapping in Azure Site Recovery.

Required Parameters

-PrimaryStorageClassification

Specifies the primary storage classification mapping.

Type:Microsoft.Azure.Commands.SiteRecovery.ASRStorageClassification
Position:Named
Default value:None
Accept pipeline input:True (ByValue)
Accept wildcard characters:False
-RecoveryStorageClassification

Specifies a recovery storage classification mapping.

Type:Microsoft.Azure.Commands.SiteRecovery.ASRStorageClassification
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False

Optional Parameters

-DefaultProfile

The credentials, account, tenant, and subscription used for communication with azure.

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

Inputs

ASRStorageClassification

Parameter 'PrimaryStorageClassification' accepts value of type 'ASRStorageClassification' from the pipeline

Outputs

Microsoft.Azure.Commands.SiteRecovery.ASRJob