Get-​Azs​Queue​Service​Metric

Gets the metrics for the Queue service.

Syntax

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

Description

The Get-AzsQueueServiceMetric cmdlet gets the metrics for the Queue service.

Examples

Example 1

$Metrics = Get-AzsQueueServiceMetricDefinition

$MetricNames = $Metrics.Name

Get-AzsQueueServiceMetric -TimeGrain Daily -StartTimeInUtc 7/4/2017 -EndTimeInUtc 7/5/2017 -MetricNames $MetricNames[2]

Optional Parameters

-DetailedOutput

Indicates the cmdlet gets the detailed metric information from the Azs Queue service.

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