Skip to content

Latest commit

 

History

History
121 lines (90 loc) · 3.22 KB

Get-AzRecoveryServicesAsrStorageClassification.md

File metadata and controls

121 lines (90 loc) · 3.22 KB
external help file Module Name online version schema
Microsoft.Azure.PowerShell.Cmdlets.RecoveryServices.SiteRecovery.dll-Help.xml
Az.RecoveryServices
2.0.0

Get-AzRecoveryServicesAsrStorageClassification

SYNOPSIS

Gets the available(discovered) ASR storage classifications in the Recovery Services vault.

SYNTAX

ByFabricObject (Default)

Get-AzRecoveryServicesAsrStorageClassification -Fabric <ASRFabric> [-DefaultProfile <IAzureContextContainer>]
 [<CommonParameters>]

ByObjectWithName

Get-AzRecoveryServicesAsrStorageClassification -Name <String> -Fabric <ASRFabric>
 [-DefaultProfile <IAzureContextContainer>] [<CommonParameters>]

ByObjectWithFriendlyName

Get-AzRecoveryServicesAsrStorageClassification -FriendlyName <String> -Fabric <ASRFabric>
 [-DefaultProfile <IAzureContextContainer>] [<CommonParameters>]

DESCRIPTION

The Get-AzRecoveryServicesAsrStorageClassification cmdlet gets details of the discovered ASR storage classifications in the Recovery Services vault.

EXAMPLES

Example 1

$StorageClassifications = Get-AzRecoveryServicesAsrStorageClassification -Fabric $Fabric

List the discovered storage classifications corresponding to the specified ASR fabric.

PARAMETERS

-DefaultProfile

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

Type: Microsoft.Azure.Commands.Common.Authentication.Abstractions.Core.IAzureContextContainer
Parameter Sets: (All)
Aliases: AzContext, AzureRmContext, AzureCredential

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-Fabric

Specifies an ASR fabric object. The cmdlet gets the details of discovered storage classifications corresponding to the specified ASR fabric.

Type: Microsoft.Azure.Commands.RecoveryServices.SiteRecovery.ASRFabric
Parameter Sets: (All)
Aliases:

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

-FriendlyName

Specifies the friendly name of the storage classification object to get.

Type: System.String
Parameter Sets: ByObjectWithFriendlyName
Aliases:

Required: True
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-Name

Specifies the name of the storage classification object to get.

Type: System.String
Parameter Sets: ByObjectWithName
Aliases:

Required: True
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.

INPUTS

Microsoft.Azure.Commands.RecoveryServices.SiteRecovery.ASRFabric

OUTPUTS

Microsoft.Azure.Commands.RecoveryServices.SiteRecovery.ASRStorageClassification

NOTES

RELATED LINKS