< Back

Set-AzureStorageServiceLoggingProperty

Sun Jan 12, 2020 5:12 pm

NAME Set-AzureStorageServiceLoggingProperty



SYNTAX

Set-AzureStorageServiceLoggingProperty [-ServiceType] {Blob | Table | Queue | File} [-Version <double>]

[-RetentionDays <int>] [-LoggingOperations {None | Read | Write | Delete | All}] [-PassThru] [-Context

<IStorageContext>] [<CommonParameters>]





PARAMETERS

-Context <IStorageContext>

Azure Storage Context Object



Required? false

Position? Named

Accept pipeline input? true (ByValue, ByPropertyName)

Parameter set name (All)

Aliases None

Dynamic? false



-LoggingOperations <LoggingOperations[]>

Logging operations. (All, None, combinations of Read, Write, Delete that are seperated by semicolon.)



Required? false

Position? Named

Accept pipeline input? false

Parameter set name (All)

Aliases None

Dynamic? false



-PassThru

Display ServiceProperties



Required? false

Position? Named

Accept pipeline input? false

Parameter set name (All)

Aliases None

Dynamic? false



-RetentionDays <int>

Logging retention days. -1 means disable Logging retention policy, otherwise enable.



Required? false

Position? Named

Accept pipeline input? false

Parameter set name (All)

Aliases None

Dynamic? false



-ServiceType <StorageServiceType>

Azure storage service type(Blob, Table, Queue).



Required? true

Position? 0

Accept pipeline input? false

Parameter set name (All)

Aliases None

Dynamic? false



-Version <double>

Logging version



Required? false

Position? Named

Accept pipeline input? false

Parameter set name (All)

Aliases None

Dynamic? false



<CommonParameters>

This cmdlet supports the common parameters: Verbose, Debug,

ErrorAction, ErrorVariable, WarningAction, WarningVariable,

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

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





INPUTS

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





OUTPUTS

Microsoft.WindowsAzure.Storage.Shared.Protocol.LoggingProperties





ALIASES

None





REMARKS

None