Get-AzStorageServiceProperty
Gets properties for Azure Storage services.
Note
This is the previous version of our documentation. Please consult the most recent version for up-to-date information.
Syntax
Get-AzStorageServiceProperty
[-ServiceType] <StorageServiceType>
[-Context <IStorageContext>]
[-DefaultProfile <IAzureContextContainer>]
[<CommonParameters>]
Description
The Get-AzStorageServiceProperty cmdlet gets the properties for Azure Storage services.
Examples
Example 1: Get Azure Storage services property of the Blob service
C:\PS>Get-AzStorageServiceProperty -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.
Parameters
Specifies an Azure storage context. To obtain a storage context, use the New-AzStorageContext cmdlet.
| Type: | IStorageContext |
| Position: | Named |
| Default value: | None |
| Accept pipeline input: | True |
| Accept wildcard characters: | False |
The credentials, account, tenant, and subscription used for communication with Azure.
| Type: | IAzureContextContainer |
| Aliases: | AzureRmContext, AzureCredential |
| Position: | Named |
| Default value: | None |
| Accept pipeline input: | False |
| Accept wildcard characters: | False |
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
| Type: | StorageServiceType |
| Accepted values: | Blob, Table, Queue, File |
| Position: | 0 |
| Default value: | None |
| Accept pipeline input: | False |
| Accept wildcard characters: | False |