共用方式為


Get-AzRecoveryServicesAsrStorageClassificationMapping

取得 ASR 記憶體分類對應。

語法

Get-AzRecoveryServicesAsrStorageClassificationMapping
   -StorageClassification <ASRStorageClassification>
   [-DefaultProfile <IAzureContextContainer>]
   [<CommonParameters>]
Get-AzRecoveryServicesAsrStorageClassificationMapping
   -Name <String>
   -StorageClassification <ASRStorageClassification>
   [-DefaultProfile <IAzureContextContainer>]
   [<CommonParameters>]

Description

Get-AzRecoveryServicesAsr 儲存體 ClassificationMapping Cmdlet 會取得 ASR 記憶體分類對應的詳細數據。

範例

範例 1

$StorageClassificationMappings = Get-AzRecoveryServicesAsrStorageClassificationMapping -StorageClassification $StorageClassification

列出對應至指定記憶體分類的所有記憶體分類對應。

參數

-DefaultProfile

用於與 Azure 通訊的認證、帳戶、租用戶和訂用帳戶。

類型:IAzureContextContainer
別名:AzContext, AzureRmContext, AzureCredential
Position:Named
預設值:None
必要:False
接受管線輸入:False
接受萬用字元:False

-Name

指定要取得的記憶體分類對應名稱。

類型:String
Position:Named
預設值:None
必要:True
接受管線輸入:False
接受萬用字元:False

-StorageClassification

指定 ASR 記憶體分類物件。 Cmdlet 會取得對應至指定記憶體分類的 ASR 記憶體分類對應

類型:ASRStorageClassification
Position:Named
預設值:None
必要:True
接受管線輸入:True
接受萬用字元:False

輸入

ASRStorageClassification

輸出

ASRStorageClassificationMapping