Get-AzSqlServerAdvancedDataSecurityPolicy
Gets Advanced Data Security policy of a server.
Syntax
Get-AzSqlServerAdvancedDataSecurityPolicy
[-InputObject <AzureSqlServerModel>]
-ServerName <String>
[-ResourceGroupName] <String>
[-DefaultProfile <IAzureContextContainer>]
[<CommonParameters>]
Description
The Get-AzSqlServerAdvancedDataSecurityPolicy cmdlet retrieves the Advanced Data Security policy of a server.
Examples
Example 1: Gets server Advanced Data Security
Get-AzSqlServerAdvancedDataSecurityPolicy `
-ResourceGroupName "ResourceGroup01" `
-ServerName "Server01"
ResourceGroupName : ResourceGroup01
ServerName : Server01
IsEnabled : True
Example 2: Gets server Advanced Data Security from server resource
Get-AzSqlServer `
-ResourceGroupName "ResourceGroup01" `
-ServerName "Server01" `
| Get-AzSqlServerAdvancedDataSecurityPolicy
ResourceGroupName : ResourceGroup01
ServerName : Server01
IsEnabled : True
Parameters
-DefaultProfile
The credentials, account, tenant, and subscription used for communication with Azure.
Type: | IAzureContextContainer |
Aliases: | AzContext, AzureRmContext, AzureCredential |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-InputObject
The server object to use with Advanced Data Security policy operation
Type: | AzureSqlServerModel |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | True |
Accept wildcard characters: | False |
-ResourceGroupName
The name of the resource group.
Type: | String |
Position: | 0 |
Default value: | None |
Required: | True |
Accept pipeline input: | True |
Accept wildcard characters: | False |
-ServerName
SQL Database server name.
Type: | String |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | True |
Accept wildcard characters: | False |
Inputs
Outputs
Colaborar con nosotros en GitHub
El origen de este contenido se puede encontrar en GitHub, donde también puede crear y revisar problemas y solicitudes de incorporación de cambios. Para más información, consulte nuestra guía para colaboradores.