Cmdlets

Choose a cmdlet from the list on the left or search for a specific cmdlet. Choose a cmdlet from the list or search for a specific cmdlet.
About Help  Providers
 

Get-AzureSqlServerAuditingSetting

Get-AzureSqlServerAuditingSetting

microsoft.azure.commands.sql.dll

Synopsis

Gets an Azure Sql server's auditing setting.

Syntax

Get-AzureSqlServerAuditingSetting [-ServerName] [-ResourceGroupName] [<CommonParameters>]

Detailed Description

The Get-AzureSqlServerAuditingSetting cmdlet gets the auditing setting of an Azure Sql server. To use the cmdlet, use the ResourceGroupName and the ServerName parameters to identify the database server.

It is important to note that this cmdlet can be executed only in Azure Resource Manager mode. To switch to that mode run: Switch-AzureMode AzureResourceManager

Parameters

-ServerName <String>

Specifies the name of the database server. Wildcards are not permitted.

Aliases

None

Required?

true

Position

named

Default value

None

Accept pipeline input?

true (ByPropertyName)

Accept wildcard characters?

false

-ResourceGroupName <String>

Specifies the name of the resource group of the database server. Wildcards are not permitted.

Aliases

None

Required?

true

Position

named

Default value

None

Accept pipeline input?

true (ByPropertyName)

Accept wildcard characters?

false

Input Type

None

Return Type

Microsoft.Azure.Commands.Sql.Security.Model.AuditingPolicy

Notes

Examples