Get-​Azs​Storage​Share​Metric

Gets the metrics of a specified share.

Syntax

Get-AzsStorageShareMetric
   [-DetailedOutput]
   [-EndTimeInUtc <DateTime>]
   [-MetricNames <String[]>]
   -ShareName <String>
   [-SkipCertificateValidation]
   [-StartTimeInUtc <DateTime>]
   [-TimeGrain <TimeGrain>]
   [<CommonParameters>]

Description

Gets the metrics of a specified share.

Examples

Example 1

$shares = Get-AzsStorageShare

Get-AzsStorageShareMetric -ShareName $shares[0].ShareName

Required Parameters

-ShareName

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

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 information from the Azs Share.

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

Specifies the endtime of the duration for the collected metrics

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

Specifies a string array of metric names that this cmdlet gets.

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
-StartTimeInUtc

Specifies the starttime of the duration for the collected metrics

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

Specifies the aggregation precision of the metrics. Valid values are: Daily, Hourly, and Minutely. The default value is Daily.

Type:TimeGrain
Parameter Sets:Daily, Hourly, Minutely
Position:Named
Default value:None
Accept pipeline input:True (ByPropertyName)
Accept wildcard characters:False