Get-​Azs​Storage​Share​Metric​Definition

Gets the properties of the metric definitions exposed at the share level.

Syntax

Get-AzsStorageShareMetricDefinition
   [-DetailedOutput]
   [-MetricNames <String[]>]
   -ShareName <String>
   [-SkipCertificateValidation]
   [<CommonParameters>]

Description

The Get-AzsStorageShareMetricDefinition cmdlet gets the properties of the metric definitions exposed at the share level.

Examples

Example 1

$shares = Get-AzsStorageShare

Get-AzsStorageShareMetricDefinition -ShareName $shares[0].ShareName -DetailedOutput | Format-Table -Wrap

Required Parameters

-ShareName

Specifies the name of the Azs share that this cmdlet gets.

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

Optional Parameters

-DetailedOutput

Indicates the cmdlet gets the detailed metric definitions from the Azs Share.

Type:SwitchParameter
Position:Named
Default value:None
Accept pipeline input:True (ByPropertyName)
Accept wildcard characters:False
-MetricNames

Specifies a string array of metric names in which this cmdlet gets definitions from.

Type:String[]
Position:Named
Default value:None
Accept pipeline input:True (ByPropertyName)
Accept wildcard characters:False
-SkipCertificateValidation

Indicates that the cmdlet does not validate the certificate.

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