Get-​Azure​Storage​Service​Metrics​Property

Gets metrics properties for the Azure Storage service.

Syntax

Get-AzureStorageServiceMetricsProperty
   [-ServiceType] <StorageServiceType>
   [-MetricsType] <ServiceMetricsType>
   [-Context <AzureStorageContext>]
   [-InformationAction <ActionPreference>]
   [-InformationVariable <String>]
   [-PipelineVariable <String>]
   [<CommonParameters>]

Description

The Get-AzureStorageServiceMetricsProperty cmdlet gets metrics properties for the Azure Storage service.

Examples

Example 1: Get metrics properties for the Blob service

C:\PS>Get-AzureStorageServiceMetricsProperty -ServiceType Blob -MetricsType Hour

This command gets metrics properties for blob storage for the Hour metrics type.

Required Parameters

-MetricsType

Specifies a metrics type. This cmdlet gets the Azure Storage service metrics properties for the metrics type that this parameter specifies. The acceptable values for this parameter are: Hour and Minute.

Type:ServiceMetricsType
Position:1
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-ServiceType

Specifies the storage service type. This cmdlet gets the metrics properties for the type that this parameter specifies. The acceptable values for this parameter are:- Blob

  • Table
  • Queue
  • File

    The value of File is not currently supported.
Type:StorageServiceType
Position:0
Default value:None
Accept pipeline input:False
Accept wildcard characters:False

Optional Parameters

-Context

Specifies an Azure storage context. To obtain a storage context, use the New-AzureStorageContext cmdlet.

Type:AzureStorageContext
Position:Named
Default value:None
Accept pipeline input:True (ByPropertyName, ByValue)
Accept wildcard characters:False
-InformationAction

Specifies how this cmdlet responds to an information event.The acceptable values for this parameter are:- Continue

  • Ignore
  • Inquire
  • SilentlyContinue
  • Stop
  • Suspend
Type:ActionPreference
Aliases:infa
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-InformationVariable

Specifies an information variable.

Type:String
Aliases:iv
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-PipelineVariable

Stores the value of the current pipeline element as a variable, for any named command as it flows through the pipeline.

Type:String
Aliases:pv
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False