You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
**Important: This cmdlet is deprecated, [Get-AzSqlDatbaseAudit](https://docs.microsoft.com/en-us/powershell/module/az.sql/get-azsqldatabaseaudit) is replacing it.**
115
-
116
-
Gets the auditing settings of an Azure SQL database.
**Important: This cmdlet is deprecated, [Get-AzSqlServerAudit](https://docs.microsoft.com/en-us/powershell/module/az.sql/get-azsqlserveraudit) is replacing it.**
300
-
301
-
Gets the auditing settings of an Azure SQL server.
**Important: This cmdlet is deprecated, [Set-AzSqlDatabaseAudit](https://docs.microsoft.com/en-us/powershell/module/az.sql/set-azsqldatabaseaudit) is replacing it.**
575
-
576
-
Changes the auditing settings for an Azure SQL database.
**Important: This cmdlet is deprecated, [Set-AzSqlServerAudit](https://docs.microsoft.com/en-us/powershell/module/az.sql/set-azsqlserveraudit) is replacing it.**
670
-
671
-
Changes the auditing settings of an Azure SQL server.
The name of the Azure Managed Instance the database belongs to.
67
+
68
+
```yaml
69
+
Type: String
70
+
Parameter Sets: (All)
71
+
Aliases:
72
+
73
+
Required: True
74
+
Position: 1
75
+
Default value: None
76
+
Accept pipeline input: True (ByPropertyName)
77
+
Accept wildcard characters: False
78
+
```
79
+
80
+
### -ResourceGroupName
81
+
The name of the resource group.
82
+
83
+
```yaml
84
+
Type: String
85
+
Parameter Sets: (All)
86
+
Aliases:
87
+
88
+
Required: True
89
+
Position: 0
90
+
Default value: None
91
+
Accept pipeline input: True (ByPropertyName)
92
+
Accept wildcard characters: False
93
+
```
94
+
95
+
### -Confirm
96
+
Prompts you for confirmation before running the cmdlet.
97
+
98
+
```yaml
99
+
Type: SwitchParameter
100
+
Parameter Sets: (All)
101
+
Aliases: cf
102
+
103
+
Required: False
104
+
Position: Named
105
+
Default value: None
106
+
Accept pipeline input: False
107
+
Accept wildcard characters: False
108
+
```
109
+
110
+
### -WhatIf
111
+
Shows what would happen if the cmdlet runs.
112
+
The cmdlet is not run.
113
+
114
+
```yaml
115
+
Type: SwitchParameter
116
+
Parameter Sets: (All)
117
+
Aliases: wi
118
+
119
+
Required: False
120
+
Position: Named
121
+
Default value: None
122
+
Accept pipeline input: False
123
+
Accept wildcard characters: False
124
+
```
125
+
126
+
### CommonParameters
127
+
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216).
0 commit comments