< Back

Get-AzureStorageServiceMetricsProperty

Tue Jan 29, 2019 9:26 pm

NAME Get-AzureStorageServiceMetricsProperty



SYNOPSIS

Gets metrics properties for the Azure Storage service.





SYNTAX

Get-AzureStorageServiceMetricsProperty [-ServiceType] {Blob | Table | Queue | File} [-MetricsType] {Hour | Minute} [-Context <IStorageContext>]

[<CommonParameters>]





DESCRIPTION

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





PARAMETERS

-Context <IStorageContext>

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



Required? false

Position? named

Default value None

Accept pipeline input? True (ByPropertyName, ByValue)

Accept wildcard characters? false



-MetricsType <ServiceMetricsType>

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.



Required? true

Position? 1

Default value None

Accept pipeline input? False

Accept wildcard characters? false



-ServiceType <StorageServiceType>

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.





Required? true

Position? 0

Default value None

Accept pipeline input? False

Accept wildcard characters? false



<CommonParameters>

This cmdlet supports the common parameters: Verbose, Debug,

ErrorAction, ErrorVariable, WarningAction, WarningVariable,

OutBuffer, PipelineVariable, and OutVariable. For more information, see

about_CommonParameters (http://go.microsoft.com/fwlink/?LinkID=113216).



INPUTS

IStorageContext

Parameter 'Context' accepts value of type 'IStorageContext' from the pipeline





OUTPUTS

Microsoft.WindowsAzure.Storage.Shared.Protocol.MetricsProperties







NOTES









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.







RELATED LINKS

Online Version: https://docs.microsoft.com/en-us/powers ... csproperty

New-AzureStorageContext

Set-AzureStorageServiceMetricsProperty