Get-AzStorageServiceLoggingProperty

Gets logging properties for Azure Storage services.

Syntax

Get-AzStorageServiceLoggingProperty
   [-ServiceType] <StorageServiceType>
   [-Context <IStorageContext>]
   [-DefaultProfile <IAzureContextContainer>]
   [<CommonParameters>]

Description

The Get-AzStorageServiceLoggingProperty cmdlet gets logging properties for Azure Storage services.

Examples

Example 1: Get logging properties for the Blob service

C:\PS>Get-AzStorageServiceLoggingProperty -ServiceType Blob

This command gets logging properties for blob storage.

Parameters

-Context

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

Type:Microsoft.Azure.Commands.Common.Authentication.Abstractions.IStorageContext
Position:Named
Default value:None
Accept pipeline input:True (ByPropertyName, ByValue)
Accept wildcard characters:False
-DefaultProfile

The credentials, account, tenant, and subscription used for communication with Azure.

Type:Microsoft.Azure.Commands.Common.Authentication.Abstractions.Core.IAzureContextContainer
Aliases:AzureRmContext, AzureCredential
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-ServiceType

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 The value of File is not currently supported.
Type:StorageServiceType
Accepted values:Blob, Table, Queue, File
Position:0
Default value:None
Accept pipeline input:False
Accept wildcard characters:False

Inputs

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

Outputs

LoggingProperties