Get-AzureRmSqlServerAdvancedThreatProtectionPolicy
Hiermee haalt u Advanced Threat Protection-beleid van een server op.
Waarschuwing
De AzureRM PowerShell-module is vanaf 29 februari 2024 officieel afgeschaft. Gebruikers wordt aangeraden om van AzureRM naar de Az PowerShell-module te migreren om ondersteuning en updates te garanderen.
Hoewel de AzureRM-module nog steeds kan functioneren, wordt deze niet meer onderhouden of ondersteund, waardoor het gebruik naar eigen goeddunken en risico van de gebruiker blijft bestaan. Raadpleeg onze migratiebronnen voor hulp bij de overgang naar de Az-module.
Syntaxis
Get-AzureRmSqlServerAdvancedThreatProtectionPolicy
[-InputObject <AzureSqlServerModel>]
-ServerName <String>
[-ResourceGroupName] <String>
[-DefaultProfile <IAzureContextContainer>]
[<CommonParameters>]
Description
De cmdlet Get-AzureRmSqlServerAdvancedThreatProtectionPolicy haalt het Advanced Threat Protection-beleid van een server op.
Voorbeelden
Voorbeeld 1: krijgt server Advanced Threat Protection
PS C:\> Get-AzureRmSqlServerAdvancedThreatProtectionPolicy `
-ResourceGroupName "ResourceGroup01" `
-ServerName "Server01"
ResourceGroupName : ResourceGroup01
ServerName : Server01
IsEnabled : True
Voorbeeld 2: haalt server Advanced Threat Protection op van serverresource
PS C:\> Get-AzureRmSqlServer `
-ResourceGroupName "ResourceGroup01" `
-ServerName "Server01" `
| Get-AzureRmSqlServerAdvancedThreatProtectionPolicy
ResourceGroupName : ResourceGroup01
ServerName : Server01
IsEnabled : True
Parameters
-DefaultProfile
De referenties, accounts, tenants en abonnementen die worden gebruikt voor communicatie met Azure.
Type: | IAzureContextContainer |
Aliassen: | AzureRmContext, AzureCredential |
Position: | Named |
Default value: | None |
Vereist: | False |
Pijplijninvoer accepteren: | False |
Jokertekens accepteren: | False |
-InputObject
Het serverobject dat moet worden gebruikt met de bewerking Advanced Threat Protection-beleid
Type: | AzureSqlServerModel |
Position: | Named |
Default value: | None |
Vereist: | False |
Pijplijninvoer accepteren: | True |
Jokertekens accepteren: | False |
-ResourceGroupName
De naam van de resourcegroep.
Type: | String |
Position: | 0 |
Default value: | None |
Vereist: | True |
Pijplijninvoer accepteren: | True |
Jokertekens accepteren: | False |
-ServerName
Sql Database-servernaam.
Type: | String |
Position: | Named |
Default value: | None |
Vereist: | True |
Pijplijninvoer accepteren: | True |
Jokertekens accepteren: | False |
Invoerwaarden
Parameters: InputObject (ByValue)
Uitvoerwaarden
Microsoft.Azure.Commands.Sql.AdvancedThreatProtection.Model.ServerAdvancedThreatProtectionPolicyModel