< Back

Get-AzureStorageServiceProperty

Tue Jan 29, 2019 9:26 pm

NAME Get-AzureStorageServiceProperty



SYNOPSIS

Gets properties for Azure Storage services.





SYNTAX

Get-AzureStorageServiceProperty [-ServiceType] {Blob | Table | Queue | File} [-Context <IStorageContext>] [<CommonParameters>]





DESCRIPTION

The Get-AzureStorageServiceProperty cmdlet gets the properties for Azure Storage services.





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



-ServiceType <StorageServiceType>

Specifies the storage service type. This cmdlet gets the logging properties for the service type that this parameter specifies. The acceptable

values for this parameter are:



- Blob



- Table



- Queue



- File



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

Microsoft.Azure.Commands.Common.Authentication.Abstractions.IStorageContext







OUTPUTS

Microsoft.WindowsAzure.Commands.Storage.Model.ResourceModel.PSSeriviceProperties







NOTES









Example 1: Get Azure Storage services property of the Blob service



C:\\PS>Get-AzureStorageServiceProperty -ServiceType Blob



Logging.Version : 1.0

Logging.LoggingOperations : None

Logging.RetentionDays :

HourMetrics.Version : 1.0

HourMetrics.MetricsLevel : ServiceAndApi

HourMetrics.RetentionDays : 7

MinuteMetrics.Version : 1.0

MinuteMetrics.MetricsLevel : None

MinuteMetrics.RetentionDays :

DeleteRetentionPolicy.Enabled : True

DeleteRetentionPolicy.RetentionDays : 70

Cors :

DefaultServiceVersion : 2017-07-29



This command gets DefaultServiceVersion property of the Blob service.







RELATED LINKS

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