Get-AzMySqlFlexibleServerConfiguration
Ruft Informationen zu einer Serverkonfiguration ab.
Syntax
Get-AzMySqlFlexibleServerConfiguration
-ResourceGroupName <String>
-ServerName <String>
[-SubscriptionId <String[]>]
[-DefaultProfile <PSObject>]
[<CommonParameters>]
Get-AzMySqlFlexibleServerConfiguration
-Name <String>
-ResourceGroupName <String>
-ServerName <String>
[-SubscriptionId <String[]>]
[-DefaultProfile <PSObject>]
[<CommonParameters>]
Get-AzMySqlFlexibleServerConfiguration
-InputObject <IMySqlIdentity>
[-DefaultProfile <PSObject>]
[<CommonParameters>]
Beschreibung
Ruft Informationen zu einer Serverkonfiguration ab.
Beispiele
Beispiel 1: Auflisten aller Konfigurationen auf dem angegebenen MySql-Server
Get-AzMySqlFlexibleServerConfiguration -ResourceGroupName PowershellMySqlTest -ServerName mysql-test
Name Value
---- -----
archive OFF
audit_log_enabled OFF
audit_log_events CONNECTION
audit_log_exclude_users azure_superuser
...
wait_timeout 28800
Dieses Cmdlet listet alle Konfigurationen auf dem angegebenen MySql-Server auf.
Beispiel 2: Abrufen der angegebenen MySql-Konfiguration anhand des Namens
Get-AzMySqlFlexibleServerConfiguration -Name wait_timeout -ResourceGroupName PowershellMySqlTest -ServerName mysql-test
Name Value AllowedValue Source DefaultValue
---- ----- ------------ ------ ------------
wait_timeout 28800 1-31536000 system-default 28800
Dieses Cmdlet ruft die MySql-Konfiguration anhand des Namens ab.
Beispiel 3: Listenkonfiguration nach Identität
$ID = "/subscriptions/<SubscriptionId>/resourceGroups/PowershellMySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test/configurations/wait_timeout"
Get-AzMySqlFlexibleServerConfiguration -Name wait_timeout -ResourceGroupName PowershellMySqlTest -ServerName mysql-test
Name Value AllowedValue Source DefaultValue
---- ----- ------------ ------ ------------
wait_timeout 28800 1-31536000 system-default 28800
Dieses Cmdlet ruft die MySql-Konfiguration anhand der Identität ab.
Parameter
-DefaultProfile
Der Parameter DefaultProfile ist nicht funktionsfähig. Verwenden Sie den Parameter "SubscriptionId", wenn sie verfügbar ist, wenn Sie das Cmdlet für ein anderes Abonnement ausführen.
Type: | PSObject |
Aliases: | AzureRMContext, AzureCredential |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-InputObject
Identity Parameter To construct, see NOTES section for INPUTOBJECT properties and create a hash table.
Type: | IMySqlIdentity |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | True |
Accept wildcard characters: | False |
-Name
Der Name der Serverkonfiguration.
Type: | String |
Aliases: | ConfigurationName |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-ResourceGroupName
Der Name der Ressourcengruppe. Für den Namen wird die Groß-/Kleinschreibung nicht beachtet.
Type: | String |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-ServerName
Name des Servers
Type: | String |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-SubscriptionId
Hierbei handelt es sich um die ID des Zielabonnements.
Type: | String[] |
Position: | Named |
Default value: | (Get-AzContext).Subscription.Id |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Eingaben
Ausgaben
Azure PowerShell
Feedback
https://aka.ms/ContentUserFeedback.
Bald verfügbar: Im Laufe des Jahres 2024 werden wir GitHub-Issues stufenweise als Feedbackmechanismus für Inhalte abbauen und durch ein neues Feedbacksystem ersetzen. Weitere Informationen finden Sie unterFeedback senden und anzeigen für